| name | code-review |
| type | workflow |
| description | Performs architectural and quality code review checking coding standards, SOLID principles, architectural compliance, and common software issues. Use when reviewing a file or directory before merge, or when the user mentions code review, PR review, or quality check. |
| argument-hint | [path-to-file-or-directory] |
| user-invocable | true |
| allowed-tools | Read, Glob, Grep, Bash |
| context | fork |
| agent | lead-programmer |
| effort | 2 |
| when_to_use | When a full architectural and quality review is needed before merging a PR |
When this skill is invoked:
-
Read the target file(s) in full.
-
Read the CLAUDE.md for project coding standards.
-
Identify the system category (api, service, repository, component, utility, infrastructure)
and apply category-specific standards.
-
Evaluate against coding standards:
-
Check architectural compliance:
-
Check SOLID compliance:
-
Check for common web/software issues:
-
Output the review in this format:
## Code Review: [File/System Name]
### Standards Compliance: [X/6 passing]
[List failures with line references]
### Architecture: [CLEAN / MINOR ISSUES / VIOLATIONS FOUND]
[List specific architectural concerns]
### SOLID: [COMPLIANT / ISSUES FOUND]
[List specific violations]
### Web/Software Concerns
[List web and software-specific issues found]
### Positive Observations
[What is done well — always include this section]
### Required Changes
[Must-fix items before approval]
### Suggestions
[Nice-to-have improvements]
### Verdict: [APPROVED / APPROVED WITH SUGGESTIONS / CHANGES REQUIRED]
Protocol
- Question: Auto-starts from argument (file or directory path); no clarification needed
- Options: Skip — single review path
- Decision: Skip — verdict is advisory
- Draft: Full review shown in conversation only
- Approval: Skip — read-only; no files written
Output
Deliver exactly:
- Risk Tier (Low / Medium / High) with one-sentence justification
- Standards & Architecture compliance score (X/6, X/5)
- Blocking issues — must fix before merge (or "None")
- Suggestions — optional improvements, max 3
- Verdict:
APPROVED / APPROVED WITH SUGGESTIONS / CHANGES REQUIRED