JasonFreeLab/dsh-command-code-review1

dsh-command-code-review

DeepSeek Harness 的 /code-review 斜杠命令插件:提供完整的 Pull Request 审查工作流。

AI 分析

核心用途是自动化代码审查。适合软件开发者在 DSH 中直接对本地未提交改动或 GitHub PR 进行多维度审查。支持在配置文件中自定义置信度阈值。

套件
dsh-command-code-review
版本
0.1.4
授權
MIT
最近更新
2026年8月25日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JasonFreeLab/dsh-command-code-review

Usage

Type /code-review in the web composer:

/code-review 123                                  # review a pull request by number
/code-review https://github.com/owner/repo/pull/123
/code-review 审查 src/auth 的改动                  # local review of a named scope
/code-review                                      # local review of the current uncommitted changes

Configuration

  • Confidence threshold: the workflow drops findings scored below a threshold (default 80). Override it in your profile cordis.patch.yml:

    - id: command-code-review
      config:
        threshold: 90
    
  • Review lenses: the 5 parallel review lenses (dsh.md compliance, bug scan, git-history, prior-change comments, code-comment compliance) live in lib/index.js; add or remove lenses to fit your needs.