snippet-expander
DSH plugin that expands inline #tag snippet shortcuts in messages before they are sent.
Install
$ dsh plugin --profile demo add github:JohnXu22786/snippet-expanderPlugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Expands configured #tag triggers before a message is sent.
- Loads multiple YAML snippet libraries with ordered priority and duplicate warnings.
- Supports aliases, {{variable}} placeholders, and default placeholder values.
- Expands nested snippets with loop, depth, and total-expansion guards.
- Avoids expansion in fenced and inline code regions by default.
- Provides steno.list, steno.search, steno.expand, steno.save, and steno.remove tools.
- Includes a dsh-steno CLI for library initialization, search, preview, expansion, and editing.
Useful For
- Reuse prompt instructions, review checklists, or recurring message templates through short tags.
- Maintain separate project-level and user-level snippet libraries.
- Preview or search reusable snippets from the command line or DSH tools.
- Compose prompts from nested snippets while limiting recursive expansion.
Who It Fits
- DeepSeek Harness users who repeatedly type prompt templates or instructions.
- Developers maintaining YAML-based prompt or text snippet libraries.
- Hosts that support DSH hooks, tools, and optional skill loading.
Documented Limitations
- Requires Node.js 22.18 or later.
- Writing libraries through tools or the CLI re-serializes YAML and removes comments.
- Tags must begin with a letter, cannot contain spaces, and are limited to 64 characters.
- Expansion is capped by configurable depth and total-expansion limits; guarded tags remain literal and emit warnings.
- Code-fence protection is evaluated per pre-expansion text segment when a fence crosses an expansion boundary.
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 1 runtime, 3 development, 0 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
package.json declares a prepare lifecycle script that may run during relevant package installation workflows.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- JohnXu22786/snippet-expander
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 00bc54f · 2026-09-10
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 0GitHub stars
- Forks
- 0
- Open issues
- 0
- Last commit
- 2026-08-16
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
DeepSeek Harness research bundle for industry maps, public-source tracking, company cards, and traceable reports.
View plugin →DeepSeek Harness web-search plugin that adds web search, X search, and focused page fetching with structured evidence.
View plugin →Vision routing and pixel-level visual tool suite for DeepSeek Harness agents with built-in free fallbacks.
View plugin →Verifiable research-report engine for DeepSeek Harness with content-addressed evidence ledgers and tamper-evident sealed reports.
View plugin →