NavanithanS

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 1 1 Updated 3mo ago

Resources

5
GitHub

Install

npx skillscat add navanithans/agent-skill-kit/ask-code-reviewer

Install via the SkillsCat registry.

SKILL.md

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

See assets/report_template.md.