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.
Resources
5Install
npx skillscat add navanithans/agent-skill-kit/ask-code-reviewer Install via the SkillsCat registry.
SKILL.md
Code Review Protocol
- ❌ NO commands. Frame suggestions as questions ("Why not use X?" vs "Use X").
- ❌ NO unexplained changes. Explain why it improves code.
- ✅ MUST prioritize Critical (Bugs/Security) > Style.
- ✅ MUST use
assets/report_template.md. - ✅ MUST be constructive.</critical_constraints>
- Context: identify language, framework, purpose.
- 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.
- Check against
- Draft Report:
- Group by severity.
- Include Location, Problem, Suggested Fix.
- :
- Check tone. Ensure critical issues have fixes.
- Run validation script.</validation_gate>
- Final Output: Present Markdown report.
See assets/report_template.md.