JasonFreeLab/dsh-command-code-review1

dsh-command-code-review

/code-review slash command for DeepSeek Harness — full pull-request review workflow as a DSH plugin

AI 分析

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

パッケージ
dsh-command-code-review
バージョン
0.1.4
ライセンス
MIT
最終更新
2026/08/25

インストール

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

ドキュメント

README 全文を読む ↗

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.