ask-code-reviewer

📁 navanithans/agent-skill-kit 📅 12 days ago
2
总安装量
2
周安装量
#62844
全站排名
安装命令
npx skills add https://github.com/navanithans/agent-skill-kit --skill ask-code-reviewer

Agent 安装分布

gemini-cli 2
qoder 2
replit 2
antigravity 2
codebuddy 2
qwen-code 2

Skill 文档

Code Review Protocol

<critical_constraints>

  1. ❌ NO commands. Frame suggestions as questions (“Why not use X?” vs “Use X”).
  2. ❌ NO unexplained changes. Explain why it improves code.
  3. ✅ MUST prioritize Critical (Bugs/Security) > Style.
  4. ✅ MUST use assets/report_template.md.
  5. ✅ MUST be constructive. </critical_constraints>

  1. Context: identify language, framework, purpose.
  2. Deep Scan:
    • Check against assets/checklist.md.
    • Correctness: Logical flaws, null checks, race conditions.
    • Security: Injection, XSS, Secrets.
    • Performance: Big O, N+1 queries, leaks.
    • Style: Naming, idioms.
  3. Draft Report:
    • Group by severity.
    • Include Location, Problem, Suggested Fix.
  4. <validation_gate>:
    • Check tone. Ensure critical issues have fixes.
    • Run validation script. </validation_gate>
  5. Final Output: Present Markdown report.

See assets/report_template.md.