DeepSeek Harness 插件

dsh-review-skills

Engineering-discipline skill pack for DeepSeek Harness — code review, simplification, plan-then-execute, test-first, and conflict resolution, delivered as a bundled skill provider plugin.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
ben7am1n/dsh-review-skills
最近更新
2026年8月13日
分类
插件开发工具
GitHub stars
2
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/ben7am1n/dsh-review-skills
插件名:dsh-review-skills
作者:ben7am1n

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器2 个文件
README.md来源说明 · 只读预览

dsh-review-skills

Engineering-discipline skill pack for DeepSeek Harness — five battle-tested procedures delivered as a bundled skill provider: code review, simplification, plan-then-execute, test-first, and conflict resolution.

Overview

dsh-review-skills packages the discipline that senior engineers apply by habit into model-visible skills. Once installed, the harness discovers five SKILL.md bundles through the standard ctx.skills registry and can invoke them when a task matches.

The skills

SkillWhen to use
code-reviewBefore merging: review a diff for correctness, test coverage, edge cases, needless complexity, and security. Produces severity-ranked findings.
simplifyAfter a change lands: find and remove accidental complexity — clearer names, fewer layers, less code that does the same thing.
plan-then-executeBefore implementing anything non-trivial: write a plan, get it accepted, then execute it.
test-firstTDD discipline: red → green → refactor, with honest tests and no fake green.
resolve-conflictWhen a merge or rebase hits conflicts: understand both sides, resolve deliberately, verify.

Who is it for?

  • Solo developers who want a senior-engineer checklist without hiring one.
  • Teams that want consistent review and planning standards across sessions.
  • Anyone building on the dsh skill system who wants a reference-quality skill pack to copy.

Compatibility

  • Built and verified against @deepseek-ai/dsh@0.1.0-rc.6 / @deepseek-ai/cordis@^4.0.1 / @deepseek-ai/dsh-skill@^0.1.0-rc.6.
  • Last verified: 2026-08-14.
  • Requires a dsh composition that mounts the ctx.skills service (the dsh-base bundle ships it).
  • dsh is in developer preview; the skill frontmatter contract (name / description / whenToUse / invocation flags) may evolve. The included unit tests pin the format this pack targets.

Install / Uninstall

Install into a dsh profile (local checkout):

cd /path/to/deepseek-harness
pnpm dsh plugin --profile web add /path/to/dsh-review-skills

From GitHub (source install — pnpm runs the prepare script, so allow it once):

pnpm dsh plugin --profile web add github:<you>/dsh-review-skills

From npm (once published):

pnpm dsh plugin --profile web add dsh-review-skills

Uninstall:

pnpm dsh plugin --profile web remove dsh-review-skills

Quick start

Install the bundle, restart dsh, then simply ask:

Use the code-review skill on the current diff before we merge.

or mention a skill by name in context:

Plan-then-execute: refactor the auth module, then implement.

The harness resolves the skill through ctx.skills and injects its procedure when the model invokes it.

Configuration

None. The plugin registers its provider with no config; the skills and their routing metadata live in skills/*/SKILL.md frontmatter (name, description, whenToUse, disable-model-invocation, user-invocable).

Permissions & data

  • Read-only: the plugin reads its own packaged skills/ directory; it writes nothing and touches no user files.
  • No network: all five skills are static Markdown bundled in the package.
  • Model-visible content: skill bodies are injected into the model context only when the skill is invoked, per the harness skill catalog policy.

Troubleshooting

SymptomCauseFix
Skills not discoverablectx.skills service not mounted in the compositionVerify the profile loads dsh-base (which ships the skill service)
missing YAML frontmatter at bootA packaged SKILL.md lost its --- blockRebuild/reinstall; the tests (pnpm test) catch this before publish
Skill does not apply to the conversationThe model decided it was not relevantAsk explicitly: "use the code-review skill"
Stale skill contentOld lib/ after editing skills/Rebuild (pnpm run build) and reinstall; skill bodies load lazily from disk

Development

pnpm install
pnpm run build         # tsc → lib/
pnpm run test          # vitest: frontmatter contract + 5 bundled skills present

Structure:

  • skills/<name>/SKILL.md — one skill per directory; frontmatter drives routing, body carries the procedure.
  • src/skills.ts — frontmatter parser and the bundled provider (lazy body loading).
  • src/index.ts — plugin entry registering the provider on ctx.skills.
  • tests/ — pins the frontmatter contract and asserts all five bundles are parseable.

Design notes:

  • Follow the existing skill-file conventions in the dsh repo (@deepseek-ai/dsh-skill types: SkillCandidate, SkillDefinition, SkillProvider) — this pack mirrors the dsh-skill-badge precedent.
  • Keep each skill body focused: when-to-use, procedure steps, pitfalls, verification. A skill that tries to cover everything covers nothing.

License & security

MIT. Report security issues privately via the repository's security advisory. The pack ships static Markdown only; it executes no code of its own.