dshbase

插件目录 / Developer / dsh-review-skills

dsh-review-skills

已验证 · 实测可装 ben7am1n

✓ 持续维护 基于 2 个官方 DSH 包 纯 TypeScript

查看 GitHub ↗ ← 返回插件目录

2Stars
0Forks
0未关闭 issue
TypeScript语言
2026-08-13最近推送
跨平台平台

功能简介

无描述

✅
我们的评价
可用 — 实测通过,早期项目

无描述 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

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

Skill When to use
code-review Before merging: review a diff for correctness, test coverage, edge cases, needless complexity, and security. Produces severity-ranked findings.
simplify After a change lands: find and remove accidental complexity — clearer names, fewer layers, less code that does the same thing.
plan-then-execute Before implementing anything non-trivial: write a plan, get it accepted, then execute it.
test-first TDD discipline: red → green → refactor, with honest tests and no fake green.
resolve-conflict When 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/[email protected] / @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

Symptom Cause Fix
Skills not discoverable ctx.skills service not mounted in the composition Verify the profile loads dsh-base (which ships the skill service)
missing YAML frontmatter at boot A packaged SKILL.md lost its --- block Rebuild/reinstall; the tests (pnpm test) catch this before publish
Skill does not apply to the conversation The model decided it was not relevant Ask explicitly: "use the code-review skill"
Stale skill content Old 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.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-review-skills」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:ben7am1n/dsh-review-skills

Headless(CLI)profile:

dsh plugin --profile headless add github:ben7am1n/dsh-review-skills

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。

适合谁

想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。

二次开发建议

工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7797 个插件 →