dsh-plugin-creator
Installation
SKILL.md
DSH Plugin Creator
Use this skill when adding or modifying a plugin (@deepseek-ai/dsh-* package) in this repository. It compresses the repo's extension-point map, package checklist, and testing policy into one ordered procedure. Each step names the authoritative file; the full grounded detail with per-step sources lives in references/plugin-dev-sop.md.
Triggers
Activate when the user asks to add a plugin, package, capability seam, tool, hook, or model provider to this repo.
- "给本项目加一个插件" / "新增一个 capability" / "加一个模型工具" / "封一个 skill"
- "create a dsh plugin", "add a package", "scaffold a tool", "add an llm adapter"
Do not activate when the task only runs a skill, reviews code, or fixes a bug in an existing package without adding a contribution.
Mental model
- Everything is a plugin; there is no privileged core (
docs/architecture.md). Extending dsh means mounting a plugin beside the others. - Two plugin forms (
packages/AGENTS.md"Plugin exports"): a function plugin exportingname/inject/Config/applywith no default export, or aServicesubclass with a default export. Never mix the forms. - Every contribution is an effect:
ctx.effect()/ctx.on()/ctx.waterfall(). A registry'sregister()returns the disposer, so teardown and hot-reload unwind automatically.