sovereign-code-review-helper
由 ryudi84 提供
Coding Agents & IDEs简介
A comprehensive code review assistant that generates review checklists tailored.
描述
该技能的功能
Scans changed files in a git repository and generates review checklists tailored to each file type, covering security vulnerabilities, performance bottlenecks, style consistency, and test coverage gaps. Supports Python, JavaScript, TypeScript, Go, Rust, Java, SQL, Bash, and Ruby. Also generates ready-to-use PR review templates in minimal, standard, or thorough styles.
A single command covers security, performance, style, and test checks across nine languages, replacing a patchwork of separate linters and manual review checklists.
何时使用
- Catching hardcoded secrets before merging an auth feature branch
- Generating a thorough PR review template for a critical database migration
- Running security-only checks on files matching a specific path pattern
- Posting automated review comments to GitHub PRs in a CI/CD pipeline
- Producing a JSON report of critical-severity issues to block a merge automatically
示例工作流
User asks: Review my feature/payments branch against main
- 1
Runs git diff between main and feature/payments to collect changed files
- 2
Detects file types in the diff and selects the relevant check modules
- 3
Scans for security patterns (injection, secrets, missing validation), performance issues (N+1 queries, unbounded lists), style violations, and missing tests
- 4
Ranks findings by severity: critical, warning, or info
- 5
Outputs a markdown checklist ready to paste into a pull request review
Markdown checklist categorized by security, performance, style, and tests, with severity labels for each finding
安装
clawhub install ryudi84/sovereign-code-review-helper运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。