Badegg404/dsh-code-review ↗★ 0
@Badegg404/dsh-code-review
DSH Web 插件:一键拉起 Claude 子 agent 评审当前代码,报告送回 UI
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Badegg404/dsh-code-review说明文档
阅读完整 README ↗Usage
- Open a session (the review button lives in the session header, next to the title).
- 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 → 保存配置. - Click 发起评审. The host runs Claude Code headless in the workspace; it reviews the uncommitted changes.
- The report appears in the panel when done, and a copy is written to
review-report-.mdin the workspace.
Configuration
Stored in the DSH credentials store (~/.dsh/.credentials.yaml, mode 0600):
| Ref | Default | Meaning |
|---|---|---|
REVIEW_PROVIDER | agicto | Provider 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/claude | Path to the claude CLI |
REVIEW_BASE_URL | provider default | Anthropic-compatible API base (https://api.agicto.cn/v1) |
REVIEW_API_KEY | AGICTO_API_KEY | API key; falls back to the AGICTO credential |
REVIEW_AGENT | claude | Local 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_PROMPT | built-in | Role / system prompt (角色设定); {cwd} placeholder |