7dgroup-ai/dsh-skill-7d-code-reviewer1

@7dgroup/dsh-skill-7d-code-reviewer

Installable composition bundle contributing the 7DGroup template-driven code review skill to DeepSeek Harness

包名
@7dgroup/dsh-skill-7d-code-reviewer
版本
0.1.0-rc.5
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:7dgroup-ai/dsh-skill-7d-code-reviewer

💡 Usage

The skill activates whenever you ask for a code review — either with the slash command or in natural language:

/7d-code-reviewer Review this module: ...

The five-step review flow:

StepWhat happens
1. Accept the taskTake the submitted code or file paths; determine the language and business context
2. Quick scanClassify the change (new feature / bugfix / refactor); locate the core files and key logic
3. Line-by-line reviewLoad the matching references on demand; check naming, security, performance and error handling
4. Severity grading🔴 critical — must fix · 🟡 medium — should fix · 🟢 minor — optional improvement
5. Report generationFill the placeholder HTML template; output the text summary plus code-review-report-{timestamp}.html

Output example (text summary)

✅ 优点
- 函数意图明确,返回用户数据

⚠️ 问题
🔴 严重:SQL 注入风险
  位置:get_user() 第 2 行
  描述:直接使用 f-string 拼接用户输入到 SQL 语句
  建议修复:使用参数化查询,如 cursor.execute("SELECT * FROM users WHERE id=?", [uid])

📊 总体评分:3/10
   代码质量: 5/10 | 安全性: 1/10 | 性能: 7/10 | 可维护性: 4/10

The full HTML report is saved to code-review-report-{timestamp}.html and the file path is reported back to you.