Ask Code Reviewer

Start code reviews, PR checks, or bug analysis. Triggers: "review my code", "check this PR", "analyze for bugs", "code review". Do NOT use for: - Automating fixes (use `ask-python-refactor`). - Generating new features. Capabilities: - Static analysis: Correctness, Security, Performance, Style. - Feedback priority: Critical > Performance > Style.

NavanithanS b1e6bed 7 files · 6.9 KB Updated

File contents

Code Review Protocol

  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.

  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. :
    • Check tone. Ensure critical issues have fixes.
    • Run validation script.
  5. Final Output: Present Markdown report.

See assets/report_template.md.

NavanithanS/Agent-Skill-Kit/tree/main/skills/coding/ask-code-reviewer commit b1e6bed2f9

Frequently asked questions

npx skillmds@latest add navanithans/ask-code-reviewer