前言¶
在 DeepSeek Harness(DSH)裏做規格、TDD、代碼評審或交接,常見做法是把技能目錄放到 ~/.agents/skills 或項目下的 .agents/skills,由文件系統 provider 掃描進會話。上游 Matt Pocock’s skills 本身也支持這種安裝方式,格式與 DSH 一致。若你希望用一條命令安裝、卸載,並把版本釘在上游 commit、避免寫入共享的 ~/.agents/skills,可以用插件包把同一套 27 個技能集中分發。
下面介紹社區插件 dsh-engineering-skills(維護者 tianji-qingtian),分類爲工作流,在 SkillHub 目錄頁 可查看元信息。
這是什麼¶
dsh-engineering-skills 把 Matt Pocock 的 27 個工程與生產力 agent 技能(grilling、spec/ticket 流程、TDD、code review、領域建模、handoff 等)打成 DeepSeek Harness 插件 bundle:執行一次 dsh plugin add 後,27 個技能會出現在會話技能目錄和 / 菜單裏;移除插件即可乾淨卸載。
技能 invocation 劃分(與上游 frontmatter 一致):
- 11 個 默認可由模型調用:同時進入模型 catalog、
skill工具與/name。 - 16 個 僅用戶調用(
disable-model-invocation: true):只出現在/菜單,模型不會自動選用。
Harness 仍處於 developer preview,迭代較快,需預期兼容性變更;README 亦提示與特定 harness 版本對齊使用。
爲什麼用插件而不是隻拷 SKILL.md¶
資料說明:不裝本插件也可以使用這些技能——DSH 默認會掃描 ~/.agents/skills(rank 500)與 <project>/.agents/skills(rank 200),上游安裝器會把同樣的 SKILL.md 樹放到那裏。
插件額外提供:
- 由 profile 管理的一鍵安裝/卸載與可版本化更新(
UPSTREAM.json、sync --check)。 - 不寫入共享的
~/.agents/skills。 - 可按
categories/skills過濾目錄,控制 catalog 體積。 - 加載時可選追加一段 DSH 工具映射說明(
appendHarnessGuide)。
安裝與啓用¶
前置條件¶
dsh CLI 需在 PATH 中(例如 npm install -g @deepseek-ai/dsh,或對命令使用 npx @deepseek-ai/dsh)。該版本在 harness 0.2.1-rc.2 上做過驗證。
插件以當前 dsh 進程權限運行;安裝前請自行查看 GitHub 倉庫 源碼與許可證(插件代碼 MIT;skills/ 內容來自上游 MIT,見 LICENSE-upstream 與 NOTICE)。
添加 bundle¶
# 1. 將 bundle 加入 web profile(倉庫已提交構建產物 lib/,安裝時不跑 build)
# 建議使用 release tag;#main 跟蹤最新 commit
dsh plugin --profile web add "github:tianji-qingtian/dsh-engineering-skills#v0.1.2"
# 2. 用該 profile 重啓 harness——add 只改 profile 文件,運行中的實例不會熱加載
dsh --profile web
重啓後,/ 菜單會列出全部 27 個技能;模型 catalog 攜帶 11 個可模型調用的技能;Settings → Plugins 中可見 dsh-engineering-skills。
本地開發檢出時,可使用本地路徑:
dsh plugin --profile web add <local-checkout>/dsh-engineering-skills
配置¶
在 profile 的插件配置中可縮小暴露的技能集合(未知 category 或 skill 名會導致 mount 失敗,而不是靜默縮小目錄):
- id: engineering-skills
config:
categories: [productivity] # engineering | productivity(默認兩者)
skills: [grilling, grill-me, tdd] # 顯式子集;非空時覆蓋 categories
appendHarnessGuide: true # 加載時追加 DSH 工具映射說明
providerName: engineering-skills # registry provider 名稱
非空的 skills 列表會完全覆蓋 categories。若擔心每次請求常駐 11 條模型可調用技能的描述成本,可用 categories 或 skills 裁剪。
典型用法¶
通過 / 菜單區分手動與模型技能¶
README 截圖說明:grill-me、grill-with-docs 帶僅用戶標記,模型不能自動調用;grilling 爲模型可調用,也會出現在模型 catalog 中。日常可從 / 選用戶向技能,或依賴模型在合適時機選用 catalog 中的工程類技能。
與上游行爲的對應關係¶
| 上游 | DSH |
|---|---|
SKILL.md + YAML frontmatter |
同格式,由 skill registry 解析 |
disable-model-invocation: true(16 個) |
modelInvocable: false,僅 / 菜單 |
| 默認(11 個) | catalog + skill 工具 + /name |
/name |
主機注入相同 <skill_content> 塊 |
| 引用的子文件(25 個) | resourceBase: { kind: 'directory' } |
技能正文多爲英文;若希望中文輸出,可在項目 AGENTS.md 中增加語言說明(README Known limits 中的建議)。
適用場景與已知限制¶
適合:已在用 DSH 做開發工作流,希望快速獲得 grilling、規格票據、TDD、評審、領域建模、handoff 等成套技能,並希望通過 profile 管理版本與目錄大小。
需注意(摘自 README Known limits,非完整列表):
ask-matt需改寫:DSH 不把其他僅用戶技能的正文暴露給模型,應改爲面向人的導航(提示用戶自行/x)。implement-specworktrees:無官方 worktree 工具,技能需自行驅動git worktree或串行執行。triage/wayfinder/to-*依賴 issue tracker;無gh/glab時可用 setup 技能的 Local-markdown 模式(.scratch/)。improve-codebase-architecture報告依賴 CDN Tailwind/Mermaid,離線環境宜自備 HTML。- Harness 升級:
@deepseek-ai/dsh-skillpeer 範圍不匹配時,profile 啓動會跳過該 bundle(控制台可能出現skipping profile bundle …),需隨 harness 預發佈版本 bump peer 並重新測試。
上游同步由維護者通過 node scripts/sync-upstream.mjs 與 UPSTREAM.json 釘版本;僅 upstream .claude-plugin/plugin.json 列出的技能會隨包發佈。
結尾¶
dsh-engineering-skills 把 Matt Pocock 的 27 個工程技能以 DSH 插件 bundle 形式分發:一條 dsh plugin add、重啓 profile 即可進目錄與 / 菜單,並可用 YAML 過濾子集。社區目錄與 DeepSeek / 幻方無官方從屬關係,SkillHub 是獨立插件索引站點。
- 目錄頁:https://www.skillhub.cn/plugins/tianji-qingtian/dsh-engineering-skills
- 源碼與完整說明:https://github.com/tianji-qingtian/dsh-engineering-skills(含 README.zh.md)