Badegg404/dsh-code-review0

@Badegg404/dsh-code-review

DSH Web 插件:一键拉起 Claude 子 agent 评审当前代码,报告送回 UI

包名
@Badegg404/dsh-code-review
版本
0.1.0
许可证
MIT
最近更新
2026年8月19日

安装

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

Usage

  1. Open a session (the review button lives in the session header, next to the title).
  2. Click 评审 → optionally type a per-run instruction in 本次要求 (e.g. "focus on security"); under 配置 you can edit the 角色设定(系统提示词) (default role) and the agent/provider/model fields → 保存配置.
  3. Click 发起评审. The host runs Claude Code headless in the workspace; it reviews the uncommitted changes.
  4. The report appears in the panel when done, and a copy is written to review-report-.md in the workspace.

Configuration

Stored in the DSH credentials store (~/.dsh/.credentials.yaml, mode 0600):

RefDefaultMeaning
REVIEW_PROVIDERagictoProvider route; also selects the default base URL
REVIEW_MODEL(empty)Underlying model Claude Code calls, e.g. deepseek-v4-flash
REVIEW_CLAUDE_BIN~/.npm-global/bin/claudePath to the claude CLI
REVIEW_BASE_URLprovider defaultAnthropic-compatible API base (https://api.agicto.cn/v1)
REVIEW_API_KEYAGICTO_API_KEYAPI key; falls back to the AGICTO credential
REVIEW_AGENTclaudeLocal agent to invoke: claude (Claude Code) or custom (arbitrary command)
REVIEW_CUSTOM_CMD(empty)Custom-agent shell command; $REVIEW_PROMPT / $REVIEW_CWD env available
REVIEW_SYSTEM_PROMPTbuilt-inRole / system prompt (角色设定); {cwd} placeholder