dsh-plugin-code-review

by yytbit

工具与能力github收录于 08-23

DeepSeek Harness 的结构化代码评审技能

Structured code review skill for DeepSeek Harness.

安装

dsh plugin --profile web add github:yytbit/dsh-plugin-code-review

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

Structured code review skill for DeepSeek Harness.

What it does

Teaches the agent a systematic code review process:

  • Correctness: logic errors, edge cases, error handling
  • Security: input validation, secrets, injection
  • Performance: unnecessary loops, N+1, blocking ops
  • Style: naming, complexity, dead code
  • Testing: coverage, edge cases

Install

dsh plugin --profile your-profile add dsh-plugin-code-review

Usage

Just ask the agent to review code:

  • "Review this diff"
  • "Check this PR for security issues"
  • "Review src/auth.ts"

Output format

[CRITICAL] src/auth.ts:42 - Missing input validation on user email
[WARNING] src/api.ts:18 - Potential SQL injection via string concatenation
[SUGGESTION] src/utils.ts:7 - Function too long, consider splitting

License

MIT -- YYTbit

原始 README: https://github.com/YYTbit/dsh-plugin-code-review/blob/master/README.md ↗