dsh-code-reviewer
开发工具 活跃维护

dsh-code-reviewer

jetheaven/dsh-code-reviewer

支持Bug检测、安全漏洞识别、性能评估、代码风格规范四维度审查,精准定位问题行号并提供修复示例,集成便捷,适配主流IDE与开发流程,帮助开发者快速优化代码质量。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
None
开源协议
8 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:jetheaven/dsh-code-reviewer
git clone https://github.com/jetheaven/dsh-code-reviewer.git
git clone git@github.com:jetheaven/dsh-code-reviewer.git
README.md master

dsh-code-reviewer

DeepSeek Harness 代码审查插件 — AI驱动的多维度代码审查与修复建议

License: MIT
DSH Plugin

✨ 功能

  • 四级问题分类
    • 🔴 Critical(致命):安全漏洞、数据丢失风险、崩溃隐患
    • 🟡 Warning(重要):逻辑错误、性能瓶颈、错误处理缺失
    • 🟢 Suggestion(建议):代码风格、命名、可维护性改进
    • ℹ️ Good(亮点):值得肯定的做法
  • 多维度审查:bug检测、安全漏洞、性能优化、代码风格
  • 精准定位:每个问题标注行号和代码片段
  • 修复建议:提供具体的修复代码示例
  • 多语言支持:自动识别编程语言

📦 安装

dsh plugin add github:jetheaven/dsh-code-reviewer

🚀 使用

直接粘贴代码:

帮我审查这段代码:
function getUserData(id) {
  var data = fetch('/api/user/' + id)
  if (data.status = 200) { return data.json() }
}

工具参数

参数 类型 必填 说明
code string 要审查的代码
language string 编程语言(不填则自动识别)
focus string 审查重点:all(默认)/ bug / security / performance / style

🛠 开发

tsc
dsh plugin add /path/to/dsh-code-reviewer

💬 社区

DSH 社区插件发布帖:deepseek-harness/discussions/1381

📄 License

MIT