code-quality-plugin/skills/code-review/SKILL.md
Code review for quality, security, performance, and architecture. Use when reviewing code, auditing OWASP, checking SOLID, or finding perf bottlenecks and test gaps.
npx skillsauth add laurigates/claude-plugins 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.
| Use this skill when... | Use something else instead when... |
|------------------------|------------------------------------|
| Running an end-to-end review across quality, security, perf, and tests | Walking a manual security/correctness checklist → code-review-checklist |
| Auditing a directory or PR delta with delegated agent analysis | Specifically scanning for code smells → code-antipatterns |
| Spotting missing test cases or weak assertions | Auditing test code quality on its own → code-test-quality |
| Producing a consolidated review report | Refactoring after the review surfaces issues → code-refactor |
$1 (defaults to current directory if not specified)$1: Path to review (defaults to current directory)Delegate this task to the code-review agent.
Use the Agent tool with subagent_type: code-review to perform a comprehensive code review.
First, use the Glob tool to discover source files to review:
**/*.py, **/*.js, **/*.ts, **/*.go, **/*.rs for source files**/*test* patterns for test files
Then pass the discovered files to the agent.The code-review agent should:
Analyze code quality:
Security assessment:
Performance evaluation:
Architecture review:
Test coverage gaps:
Apply fixes where appropriate and safe
Generate report with:
Provide the agent with:
The agent has expertise in:
For comprehensive review of large codebases, spawn specialized review teammates in parallel:
| Teammate | Focus | Value | |----------|-------|-------| | Security reviewer | OWASP, secrets, auth flaws | Deep security analysis without blocking quality review | | Performance reviewer | N+1 queries, algorithmic complexity, resource leaks | Performance-focused review in parallel | | Correctness reviewer | Logic errors, edge cases, type safety | Functional correctness in parallel |
This is optional — the skill works without agent teams for standard reviews.
/configure:security/configure:linting/configure:coveragetesting
Verify accumulated bug claims at upstream HEAD and dedup against trackers before filing issues. Use when filing upstream reports from backlogs, audit docs, or git-history findings.
documentation
Gate outward-bound text (upstream issues, docs, PR bodies) through isolated haiku fresh-reader critique before publishing. Use when an artifact must survive a reader with zero project context.
tools
Suggest improvements to SKILL.md content, descriptions, or tool config from eval results. Use when raising pass rates, fixing triggering, or iterating on a skill after evaluation.
tools
deadbranch CLI for stale-branch cleanup — dry-run preview, TUI or non-interactive delete, protects main/develop/WIP. Use when asked to clean up branches, prune branches, or remove stale branches.