Dominic789654/awesome-deepseek-harness--plugins-dsh-code-review ↗★ 10
dsh-code-review
Code review assistant for DeepSeek Harness: code_review_context collects deterministic git diff context; a bundled skill drives the review checklist.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Dominic789654/awesome-deepseek-harness#986e7fb75e52402afe475d38527a83aebb14e2f2&path:plugins/dsh-code-review说明文档
阅读完整 README ↗dsh-code-review
Code review assistant plugin for DeepSeek Harness. Two halves:
- Tool
code_review_context— deterministically collects the change set from the workspace git repo (worktree/staged/rangescopes): name-status,--stat, and bounded patch text. Read-only, no shell interpolation, diff size capped. - Skill
code-review(skills/code-review/SKILL.md) — the review methodology: fix the diff snapshot first, then a severity-ordered correctness → security → tests → maintainability checklist with an actionable output format.
Status: example / reference skeleton from awesome-deepseek-harness. Structure follows observed community plugin conventions (see
plugins/README.md); not yet verified against a live DSH instance.
Install
pnpm install && pnpm build
dsh plugin --profile add file:/absolute/path/to/plugins/dsh-code-review
Then restart that profile.
Tool: code_review_context
| Parameter | Type | Notes |
|---|---|---|
scope | string | worktree (uncommitted vs HEAD) | staged (index vs HEAD) | range |
range | string | required for range scope, e.g. main..HEAD; plain revisions only (flags rejected) |
paths | json | optional path filters (passed after --) |
Returns { scope, filesChanged, stat, diff, truncated }. Diffs larger than maxDiffBytes are truncated with an explicit marker so the model re-collects per directory instead of guessing.