MichengAI/dsh-code-review ↗★ 3
@michengai/dsh-code-review
提供代码审查、独立子Agent及中英文报告 适合需要对未提交更改、特定分支或提交进行专业代码审查的开发者。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MichengAI/dsh-code-review说明文档
阅读完整 README ↗Usage
| Goal | Input |
|---|---|
| Open scope selection | /review |
| Set a custom focus | /review Check the previous commit for authorization regressions |
| View progress or the latest report | /review-status |
| Cancel selection or an active review | /review-cancel |
Empty input offers four options: base branch, uncommitted changes, a commit, and custom instructions. Uncommitted scope includes staged, unstaged, and untracked files. The base menu lists local branches; the commit menu lists the latest 100 commits. Other refs can be entered as free text.
All text after the command is treated as custom instructions, not CLI flags. --base main, ., and status are passed as ordinary text. The subagent determines and retrieves the context it needs. “Review the entire project” is passed verbatim, but does not mean the program has verified complete file-by-file coverage.
Configuration and reports
| Optional setting | Behavior |
|---|---|
reviewModel | Review model within the same provider; otherwise inherits the current model configuration |
reportDirectory | Absolute report directory; defaults to $DSH_HOME/code-review, or ~/.dsh/code-review when DSH_HOME is unset |
Language follows the host's locale.preference: en / en-* selects English; other values default to Chinese within the current two-language support. On 0.1.7-rc.1 and later it is the locale profile entry returned by settings.describe(). Each review captures the locale at its start; the next review reads updated settings. Command catalog descriptions and input hints are resolved when the plugin loads and require a reload to update. Without a saved preference, or when the settings read fails, Chinese is used; the backend cannot read a language detected only in the browser.
The latest report is saved atomically per conversation. Historical report bodies are not translated. JSON keys, enum values, code, and paths remain unchanged. Unfinished reviews do not resume automatically after shutdown. Status, cancellation, and report storage are DSH plugin features.