
the-qian/dsh-commit-review
40Last commit Aug 14, 2026
dsh-commit-review DSH plugin
This plugin brings the familiar Claude Code commit and review workflows into DSH. It pre-checks the git status before invoking the model, reducing unnecessary token waste. The plugin operates entirely on the host side, using DSH's subprocess and commands services.
How to install the dsh-commit-review DSH plugin
dsh plugin --profile web add https://github.com/the-qian/dsh-commit-review.gitCopying does not run this command. Review the repository and version before installing the dsh-commit-review DSH plugin.
dsh-commit-review DSH plugin data source
dsh-commit-review DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-commit-review DSH plugin can do
- Generates Conventional Commits and executes git commit via model
- Performs code review with severity-based reports (critical/major/minor/nit)
- Pre-checks git status (non-git directory, clean workspace, missing git) and returns a card without invoking the model
- Supports review focus modifiers: security, performance, simplicity, style, i18n, with-context
- Enforces git safety: never modifies config, no force push, no skip hooks, recommits on hook failure
- Never commits sensitive files (.env, credentials, private keys)
Where the dsh-commit-review DSH plugin fits
- Quickly commit staged changes with a properly formatted Conventional Commit message
- Review uncommitted changes for security vulnerabilities before merging
- Standardize code review across teams with consistent severity grading
- Get a performance-oriented review of pending changes
- Automate commit message generation for large work-in-progress with optional guidance
Who the dsh-commit-review DSH plugin is for
- Developers using DSH who want to streamline git commit workflows
- Teams adopting Conventional Commits and automated code review practices
dsh-commit-review DSH plugin limitations
- Only works in DSH host side (requires git command and subprocess access)
- Requires the web profile of DSH (commands are registered in the Web GUI)
- Review modifiers use space syntax (/review security) instead of colon (Claude Code uses /review:security)
- Plugin is in early stage (v0.1.0-rc.6) and may have limited error handling
dsh-commit-review DSH plugin: from the repository README
Quoted from the the-qian/dsh-commit-review README, the upstream source of the dsh-commit-review DSH plugin. Copyright remains with the original authors.
一个 [DSH(DeepSeek Harness)](https://github.com/deepseek-ai/deepseek-harness) 插件:为 Web GUI 增加 `/commit` 与 `/review` 两个斜杠命令,**对标 Claude Code 内置的同名命令**,把「分析变更 → 生成 Conventional Commits 提交」和「代码审查」变成一条命令即可触发的标准工作流。 - ✅ 官方 dsh 插件形态(`dsh.bundle.patch`),通过 `dsh plugin add` 一键安装 - ✅ 纯 Host 侧、零依赖、无构建步骤(`lib/index.js` 即最终产物) - ✅ 预检失败(非 git 仓库 / 工作区干净 / git 未安装)直接返回卡片提示,不浪费一轮模型 - ✅ 提交与审查由模型用自身工具执行,天然走 DSH 的沙箱与审批策略 - ✅ 注册随插件行生命周期自动装卸(`ctx.effect` 包裹) ## 安装 ### 方式一:从 GitHub 安装(推荐) ```powershell dsh plugin --profile web add https://github.com/the-qian/dsh-commit-review.git ``` > 本包没有 `prepare` 构建脚本,pnpm 不会要求 `allowBuilds`,安装即可用。 ### 方式二:本地路径安装 ```powershell git clone https://github.com/the-qian/dsh-commit-review.git dsh plugin --profile web add D:\path\to\dsh-commit-review ``` 安装完成后**重启 profile**(bundle 层在 boot 时装配): ```powershell dsh web ``` 重启后在输入框输入 `/`,即可在命令面板看到 `commit` 和 `review`。包名与仓库名均为 `dsh-commit-review`(与 `cordis.patch.yml` 中的行引用保持一致)。 ## 命令 ### `/commit [message guidance]` 分析当前 git 变更并**真正创建提交**(不只是给出建议)。可选参数会成为提交消息的引导,例如: ``` /commit /commit fix the login bug ``` 处理流程: 1. 预检:`git status --porcelain=v1 --branch` + 暂存/未暂存 diff 统计(经 `subprocess` 直接调用 git,无 bash 依赖,20s 超时保
Read the full READMERepository license: MIT
dsh-commit-review DSH plugin questions
How do I install dsh-commit-review?
Run 'dsh plugin --profile web add https://github.com/the-qian/dsh-commit-review.git' in your terminal. After installation, restart your DSH profile with 'dsh web' to load the plugin. The commands '/commit' and '/review' will appear in the command palette.
Why does the plugin not work after installation?
Make sure you have restarted the DSH profile after adding the plugin. Also check that your current working directory is a git repository and that git is installed. The plugin's precheck will show a card if the environment is not ready.
Can I customize the commit message?
Yes, you can pass an optional message guidance as a parameter to '/commit'. For example, '/commit fix the login bug' will guide the model to include that context in the generated commit message. The model still follows Conventional Commits format.
How is the code review report structured?
The report starts with a summary, then lists findings sorted by severity: critical, major, minor, and nit. Each finding includes the file and line number, a reason, and a concrete fix suggestion. Positive observations are also included at the end.
What is the difference between this plugin and Claude Code's built-in commands?
The main difference is that this plugin runs inside DSH, so git commands are executed through DSH's sandbox and approval policies for extra security. Also, review modifiers use a space instead of a colon (e.g., /review security vs /review:security).