Skip to content

[Plugin]: snippet-expander #33

Description

@JohnXu22786

Plugin repository URL

https://github.com/JohnXu22786/snippet-expander

Primary value

Type #tag in a message and it is expanded into configured full text before sending. Supports multiple YAML snippet libraries, aliases, {{variable}} placeholders, recursive composition with loop/depth/count guards, code-block protection, and live library management via tools and CLI.

Primary category

Interaction & Experience

Installation and removal

Install: dsh plugin --profile demo add github:JohnXu22786/snippet-expander

Remove: dsh plugin --profile demo remove dsh-steno

Compatibility and verification

Targets the message.beforeSend hook with a self-contained dsh/plugin@1 manifest (Node runtime, createPlugin factory). Not yet verified against a released dsh version; tests cover the expansion engine (103 node:test cases).

Checklist

  • Plugin is a public repository
  • README documents installation, configuration, and the plugin's hooks/tools
  • Released under the MIT license

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions