source/skills/using-code-review/SKILL.md
How and when to invoke code review agents (@code-security, @code-readability, @code-performance, @code-redundancy, @code-simplifier, @code-full-review). Use before major PRs, audits, refactors, or whenever targeted review feedback is needed.
npx skillsauth add scruffydan/AI-Agents using-code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill explains when and how to use the specialized code review agents.
Purpose: Security vulnerability detection and OWASP compliance checks
When to use:
What it checks:
Purpose: Code clarity, naming conventions, and documentation review
When to use:
What it checks:
Purpose: Performance bottleneck identification and optimization recommendations
When to use:
What it checks:
Purpose: Duplicate code detection and DRY principle violations
When to use:
What it checks:
Purpose: Complexity reduction and code simplification
When to use:
What it checks:
Purpose: Comprehensive review orchestrating all 5 specialist agents
When to use:
What it does:
All review agents operate in report-only mode - they analyze and return findings without asking questions or applying changes directly.
1. Invoke the agent: @code-security src/auth.js
2. Wait for the security report
3. Review findings and decide which to address
4. Apply approved fixes
5. Re-run agent to verify fixes
1. Invoke: @code-full-review src/
2. Receive reports from all 5 agents
3. Prioritize findings (security > performance > readability)
4. Address high-priority issues first
5. Iterate on medium/low priority items
Review agents work best when combined with relevant skills:
implementation-workflow for overall development methodologygit-workflows for commit message and PR best practicesAll code review agents have these permissions set:
edit: deny - They suggest changes but don't apply thembash: deny - They don't execute commandsquestion: deny - They return reports without user interactionThis ensures they operate as analysis tools that return structured findings to the calling agent or user.
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
development
How to use @docs-fetcher to pull current, targeted external documentation (APIs, SDKs, configs, errors, version changes). Use when you need authoritative docs or examples instead of relying on memory.
development
Use when making code changes that affect user-facing behavior, before committing or pushing - reminds AI to check if README needs updates to stay in sync with implementation changes