PerryLink/dsh-plugin-guide
Installable DSH bundle: the dsh-plugin-guide plugin-development knowledge base as an on-demand agent skill. Official docs archive (EN/ZH), Cordis primer, 114-repo community archive, 1654 archived Discussions, 20+ battle-tested pitfalls.
已收录
4
Skill
Bundle 已验证
预览
功能介绍
DSH 插件开发知识库,作为按需加载的 agent 技能随 bundle 安装:官方约束、任务工作流、API 参考与社区踩坑,写插件时让 DSH 自己查。
适合
- 需要在编码时让 agent 随时查阅官方约束、API 与任务工作流的 DSH 插件作者。
- 正在排查 Cordis 集成问题或社区常见插件踩坑的开发者。
- 需要本地随包提供中英双语按需参考资料的团队。
不适合
- 只使用 DSH 插件、不开发或维护插件的用户。
- 要求资料始终比随包文档快照更新的工作流。
- DeepSeek Harness 插件生态之外的项目。
README
🐳 dsh-plugin-guide
Everything you need to build DeepSeek Harness plugins.
Official docs archive · Cordis primer · community deep-dives · battle-tested pitfalls · agent skill
Compatibility
| Surface | Status |
|---|---|
| Harness | DeepSeek Harness 0.1.0-rc.6
|
| Node |
^22.19.0 || >=24.0.0 (DeepSeek Harness runtime) |
| Platforms | All (plain ESM bundle; no native code, no network) |
| Model | Any (no model interaction) |
What you get
dsh-plugin-guide is the DSH plugin-development knowledge base, packaged as an installable bundle that registers the whole thing as the dsh-plugin-guide agent skill. The skill stays visible in every session catalog and loads its workflow steps, official docs, and community deep-dives on demand.
-
Plugin contract & hard rules — effects/disposers, waterfall
next(), model-visible ⟺ logged, Schemastery config. - Official docs archive — a verbatim copy of the official repo docs (EN + ZH), byte-identical to upstream at the last verified snapshot.
- Cordis primer — the five concepts and the mechanism timeline (repository-plugin introduced 0809, removed 0811; the two install channels).
-
20+ real-world pitfalls with root cause + fix (cordis dual copies, tsconfig trio, multi-frame zstd sessions, Windows junctions, stale npm
latest, …). - Community deep-dives — 114 community repositories archived (15 deep-dived), plus a full source index where every fact links to its origin.
Knowledge base
| Path | What it is |
|---|---|
SKILL.md |
The dsh-plugin-guide agent skill: hard rules + task-based development paths |
package.json · cordis.patch.yml · index.js
|
The installable DSH bundle: dsh.bundle.patch manifest + entry point that registers the skill |
guide/plugin-dev-guide.md |
The complete development guide (10 chapters) |
guide/quick-reference.md |
One-page cheat sheet (5 languages) |
guide/links.md |
Curated URL index: official dev docs (site ↔ local copies) + community doc links |
references/official-docs/ |
Verbatim copy of the official repo docs (EN + ZH) |
references/*.md |
Research reports: repo docs, website, Cordis, the paper, community ecosystem, 114-repo archive (15 deep-dived) |
scripts/ |
Idempotent download scripts + integrity checker + topic snapshot generator |
downloads/ |
Raw snapshots — generated by scripts/, not committed |
Quick start
# 1. install the bundle into your profile
dsh plugin --profile web add "github:PerryLink/dsh-plugin-guide#main"
# or from npm (published releases)
dsh plugin --profile web add dsh-plugin-guide
# 2. restart and verify the row
dsh --profile web --dump-config | grep -A3 'id: dsh-plugin-guide'
Then just ask your agent: “Use the dsh-plugin-guide skill to build me a … plugin.”
Install & uninstall
-
git channel (latest
main):dsh plugin --profile web add github:PerryLink/dsh-plugin-guide#<sha>— pin a commit for reproducibility; the entry point is plain ESM JS, no build step. -
npm channel (published releases):
dsh plugin --profile web add dsh-plugin-guide. -
tarball channel:
pnpm packin this repo, thendsh plugin --profile web add ./dsh-plugin-guide-<version>.tgz. -
uninstall:
dsh plugin --profile web remove dsh-plugin-guide.
Copy as a plain agent skill
You can also copy the whole folder into your agent’s skill directory (relative paths stay intact):
# Windows (PowerShell)
pwsh -File scripts/install-skill.ps1 `
-Target "$env:USERPROFILE\.deepseek\skills\dsh-plugin-guide" # or <project>\.agents\skills\dsh-plugin-guide
# macOS / Linux
pwsh -File scripts/install-skill.ps1 -Target ~/.deepseek/skills/dsh-plugin-guide # or <project>/.agents/skills/dsh-plugin-guide
The installer skips downloads/ (generated) and .github/, then verifies every copied file byte-for-byte. A manual Copy-Item -Recurse of the whole folder also works.
Configuration
dsh-plugin-guide exposes no Schemastery Config — it registers the knowledge base as an agent skill with no tunable keys.
Tools & surfaces
| Surface | Kind | Notes |
|---|---|---|
dsh-plugin-guide |
skill | Registered via ctx.skills; loads SKILL.md + ./guide/ + ./references/ on demand |
Permissions & data
-
Permissions: declares
filesystem:readin its workshop manifest. -
Data: read-only — reads its own bundled
guide/andreferences/files. No network requests, no writes, no model calls.
Security boundaries
- Read-only knowledge base. The bundle only reads its own files; it never writes, never calls the network, and never invokes a model.
-
Official docs are verbatim copies.
references/official-docs/is never edited here; report issues upstream and re-sync only withscripts/sync-official-docs.ps1. -
Distribution boundaries. Bundled third-party content keeps its upstream license; see NOTICE.md (e.g.
downloads/is local-only;awesome-dsh-pluginsmust not be redistributed).
Known limitations
-
Official docs are a snapshot. Re-sync with
scripts/sync-official-docs.ps1when upstream moves; the freshness stamp and commit hash referencereferences/official-docs/SNAPSHOT.md. -
downloads/is generated, not committed. Raw snapshots (community repo archives, Discussions, articles) must be generated with the scripts before use. -
awesome-dsh-pluginscontent is local-only. Its upstream declares an internal-use constraint, so it is not redistributed with the repo.
Keeping it fresh
pwsh -File scripts/sync-official-docs.ps1 # verbatim docs copy from a local checkout
pwsh -File scripts/download-sources.ps1 # official site/docs, Cordis, paper
pwsh -File scripts/download-community-repos.ps1 # community repositories (codeload tarballs)
pwsh -File scripts/download-community-articles.ps1 # zh/en/HN community articles
pwsh -File scripts/archive-discussions.ps1 # official Discussions (needs $env:GH_TOKEN)
pwsh -File scripts/gen-topic-snapshot.ps1 -OutDir <dir> # dsh-plugin topic census
pwsh -File scripts/verify-kit.ps1 -Checkout <checkout> # critical paths + link scan + docs drift
Development
The bundle is plain ESM — no build step. CI runs the integrity gate on every push and pull request:
pwsh -File scripts/verify-kit.ps1 # critical paths + link scan (+ docs drift with -Checkout <checkout>)
Topics
dsh, deepseek-harness, dsh-plugin, cordis, agent-skill, plugin-development, knowledge-base
Contributors
- PerryLink — creator and maintainer: knowledge-base content, the installable-bundle transformation, ecosystem submissions, and community engineering.
- Day-to-day maintenance is assisted by DeepSeek Harness agents (they hold no GitHub account and are listed here for transparency, not as contributors).
PerryLink DSH Plugin Family
This project is one of the 15 DeepSeek Harness plugins maintained by PerryLink. If this one helps you, the others likely will too:
| Plugin | One-liner |
|---|---|
| dsh-mcp-panel | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors |
| dsh-doublecheck | Engineering-discipline guard: requirements grill, test gates, adversary review |
| dsh-background-agents | Durable background child agents with a Web UI sidebar, messaging and interrupt |
| dsh-lsp-actions | LSP diagnostics, formatting, completion, code actions and rename over language servers |
| dsh-output-styles | Claude Code outputStyles-equivalent runtime style switching |
| dsh-checkpoint-rewind | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore |
| dsh-permission-rules | Claude Code-style declarative allow/deny/ask permission rules with audit |
| dsh-auto-review | Second-model auto-review on the approval chain, fail-closed by default |
| dsh-memento | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool |
| dsh-skill-pack-security | Security-audit skill pack: secret scan, dependency and supply-chain review |
| dsh-session-pin | Pin sessions in the Web sidebar with durable ordering |
| dsh-composer-history | Terminal-style input history for the web composer: arrows, Ctrl+R search |
| dsh-github | GitHub PR/issues integration for DSH, every write gated by approval |
| dsh-plugin-guide | Plugin-development knowledge base as an on-demand agent skill |
| dsh-claude-move | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH |
Disclaimer
Community-maintained, not an official DeepSeek product. DeepSeek Harness is in developer preview and ships breaking changes; when in doubt, the official docs in references/official-docs/ are the source of truth.
License
Apache License 2.0 © 2026 dsh-plugin-guide contributors — our own text (SKILL.md, guide/, references/, scripts/, this README) is Apache-2.0; bundled third-party content is documented in NOTICE.md.
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:PerryLink/dsh-plugin-guide。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。