Delegate specialized reviews to subagents and synthesize their findings. Use when reviewing code.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
pr-file-review/TEST-RESULTS.mdpr-file-review/examples/example-1-obvious-artifacts/expected.mdpr-file-review/examples/example-1-obvious-artifacts/input.mdpr-file-review/examples/example-1-obvious-artifacts/scenario.mdpr-file-review/examples/example-2-ambiguous-files/expected.mdpr-file-review/examples/example-2-ambiguous-files/input.mdpr-file-review/examples/example-2-ambiguous-files/scenario.mdpr-file-review/examples/example-3-legitimate-test-files/expected.mdpr-file-review/examples/example-3-legitimate-test-files/input.mdpr-file-review/examples/example-3-legitimate-test-files/scenario.mdprompt-brevity/examples/skill-1/code-review.mdpython-code-review-types/examples/EXAMPLES.mdpython-code-review-types/examples/example-1-mixed-syntax/expected.mdpython-code-review-types/examples/example-1-mixed-syntax/input.pypython-code-review-types/examples/example-1-mixed-syntax/scenario.mdpython-code-review-types/examples/example-2-untyped-code/expected.mdpython-code-review-types/examples/example-2-untyped-code/input.pypython-code-review-types/examples/example-2-untyped-code/scenario.mdpython-code-review-types/examples/example-3-complex-generics/expected.mdpython-code-review-types/examples/example-3-complex-generics/input.pyThis skill orchestrates specialized review subagents to analyze code and documentation. Each subagent applies a specific review skill and returns focused findings. The orchestrator collects and presents results.
Determine scope:
Map content type to review skills:
For AI Prompt Content (skills, CLAUDE.md, commands):
prompt-brevity/SKILL.md - Token efficiency and clarityFor Python Files (skills, CLAUDE.md, commands):
python-code-review-types/SKILL.md - Ensuring python types are used correctly.For all Pull Request Files (changed files in PRs):
pr-file-review/SKILL.md - Identify unnecessary test artifacts and temporary files
IMPORTANT: If no specific review skill exists for the file type being reviewed, STOP and inform the user:
No specific review skill exists for [file type/category]. Available review skills:
- prompt-brevity (for AI prompts, skills, CLAUDE.md, slash commands)
To review [file type], create a new review skill at:
.claude/skills/collaboration/reviews/[skill-name].md
Use /create-skill to generate a new review skill template.
DO NOT perform any direct code review. Only delegate to existing review subskills.
For each selected review skill, launch a general-purpose subagent:
You are a specialized code reviewer. Apply the following skill to review the specified files.
**Skill to Apply**: [Read and follow .claude/skills/collaboration/reviews/[skill-name].md]
**Files to Review**: [list of file paths]
**Output Format**:
For each issue found, output:
---
**File**: [file path]
**Lines**: [line range, e.g., "45-52" inclusive or "78"]
**Issue**: [brief description]
**Suggestion**: [exact multiline replacement; omit if no specific change]
**Reason**: [why this improves the code]
---
Return ONLY the issues found. No commentary or summary.
Wait for all subagents to complete.
Output subagent results directly:
## Review Results
### Prompt Brevity Review
[paste subagent output]
### [Future Review Type]
[paste subagent output]
Do not add: Commentary, summaries, severity rankings, or additional suggestions.
Input: Review .claude/skills/testing/test-driven-development.md
Subagent Task:
You are a specialized code reviewer. Apply the following skill to review the specified files.
**Skill to Apply**: Read and follow .claude/skills/collaboration/reviews/prompt-brevity.md
**Files to Review**: .claude/skills/testing/test-driven-development.md
**Output Format**:
For each issue found, output:
---
**File**: [file path]
**Lines**: [line range inclusive]
**Issue**: [brief description]
**Suggestion**: [exact replacement; omit if no specific change]
**Reason**: [why this improves the code]
---
Return ONLY the issues found.
Orchestrator Output:
## Review Results
### Prompt Brevity Review
---
**File**: .claude/skills/testing/test-driven-development.md
**Lines**: 12-15
**Issue**: Verbose explanation with redundant phrasing
**Suggestion**: Test-driven development: write tests before implementation code
**Reason**: 68% token reduction (23 → 7 tokens) while preserving core message
---
---
**File**: .claude/skills/testing/test-driven-development.md
**Lines**: 45
**Issue**: Fluff phrase "you should make sure to"
**Suggestion**: run the tests
**Reason**: Direct imperative is clearer and saves 5 tokens
---
Input: Review all skills in .claude/skills/collaboration/
Action: Launch one subagent with all file paths
Orchestrator Output:
## Review Results
### Prompt Brevity Review
---
**File**: .claude/skills/collaboration/writing-commit-messages.md
**Lines**: 8-10
**Issue**: Ceremonial phrase "in order to"
**Suggestion**: to write good commit messages
**Reason**: Standard brevity pattern saves 2 tokens
---
---
**File**: .claude/skills/collaboration/writing-commit-messages.md
**Lines**: 67-72
**Issue**: Redundant examples demonstrating same concept
**Reason**: Reduces redundancy by 40 tokens without information loss (no specific replacement provided - requires context-aware consolidation)
---
---
**File**: .claude/skills/collaboration/code-review.md
**Lines**: 34
**Issue**: Hedge words "you might want to consider"
**Suggestion**: consider
**Reason**: Removes unnecessary hedging, saves 4 tokens
---
❌ Don't: Perform direct code reviews when no subskill exists
❌ Don't: Add your own commentary or summary
❌ Don't: Filter or editorialize subagent results
❌ Don't: Combine findings from different review types
❌ Don't: Launch subagents sequentially
❌ Don't: Add severity ratings or prioritization
To add new review dimensions:
.claude/skills/collaboration/reviews/[new-skill].mdExample future skills:
reviews/security-practices - Check for security anti-patternsreviews/accessibility - Verify inclusive language and examplesreviews/consistency - Ensure style consistency across skillscollaboration/reviews/prompt-brevity - Token efficiency review skillcollaboration/pr-file-review - Pull request file artifact reviewmeta/creating-skills - Skill creation guidelinesRemember: Orchestrate, don't review. Delegate to experts and present findings.