skills/parallel-code-review/SKILL.md
Parallel 3-reviewer code review: Security, Business-Logic, Architecture.
npx skillsauth add notque/claude-code-toolkit parallel-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.
Orchestrate three specialized code reviewers (Security, Business Logic, Architecture) in true parallel using the Fan-Out/Fan-In pattern. Each reviewer runs independently with domain-specific focus, then findings are aggregated by severity into a unified BLOCK/FIX/APPROVE verdict.
Goal: Determine changed files and select appropriate agents before dispatching.
Step 1: Read repository CLAUDE.md to load project-specific conventions that reviewers must respect.
Step 2: List changed files
# For recent commits:
git diff --name-only HEAD~1
# For PRs:
gh pr view --json files -q '.files[].path'
Step 3: Select architecture reviewer agent based on the dominant language. This ensures the architecture reviewer applies idiomatic standards rather than generic advice, because different languages have fundamentally different design patterns and conventions.
| File Types | Agent |
|-----------|-------|
| .go files | golang-general-engineer |
| .py files | python-general-engineer |
| .ts/.tsx files | typescript-frontend-engineer |
| Mixed or other | Explore |
Optional enrichments (only when user explicitly requests):
Gate: Changed files listed, architecture reviewer agent selected. Proceed only when gate passes.
Goal: Launch all 3 reviewers in a single message for true concurrent execution.
Critical constraint: All three Task calls MUST appear in ONE response. Sending them sequentially triples wall-clock time and defeats the purpose of parallel review. This is not optional—parallelism is the entire value proposition of this skill.
Dispatch exactly these 3 agents. This is a read-only review—reviewers observe and report but never modify code.
Reviewer 1 -- Security
file:line referencesReviewer 2 -- Business Logic
file:line referencesReviewer 3 -- Architecture (using agent selected in Phase 1)
file:line referencesCritical constraint: Always run all 3 reviewers regardless of perceived change simplicity. Config changes can expose secrets, "trivial" fixes can break authorization, and each reviewer's specialization catches issues the others miss. Let a reviewer report "no findings" rather than skip it—because silence is information too.
Gate: All 3 Task calls dispatched in a single message. Proceed only when ALL 3 return results—never issue a verdict from partial results, because the missing reviewer may hold the only CRITICAL finding. Partial results are worse than no review.
Goal: Merge all findings into a unified severity-classified report.
Critical constraint: Never dump raw reviewer outputs as three separate sections—the reader should not have to mentally merge findings across reviewers. Your job is to synthesize, not summarize.
Step 1: Classify each finding by severity
| Severity | Meaning | Action | |----------|---------|--------| | CRITICAL | Security vulnerability, data loss risk | BLOCK merge | | HIGH | Significant bug, logic error | Fix before merge | | MEDIUM | Code quality issue, potential problem | Should fix | | LOW | Minor issue, style preference | Nice to have |
Step 2: Deduplicate overlapping findings
Multiple reviewers may flag the same issue. Merge duplicates, keeping the highest severity. Overlap between reviewers is a feature (independent confirmation), but the report should consolidate it so readers see a unified issue once, not three times.
Step 3: Build reviewer summary matrix
Include this matrix in every report so stakeholders see the severity distribution at a glance:
| Reviewer | CRITICAL | HIGH | MEDIUM | LOW |
|----------------|----------|------|--------|-----|
| Security | N | N | N | N |
| Business Logic | N | N | N | N |
| Architecture | N | N | N | N |
| **Total** | **N** | **N**| **N** | **N**|
Gate: All findings classified, deduplicated, and summarized. Proceed only when gate passes.
Goal: Produce final report with clear recommendation.
Critical constraint: Every review must end with an explicit verdict. Ambiguity is a decision to merge untested code. Choose: BLOCK, FIX, or APPROVE.
Step 1: Determine verdict
| Condition | Verdict | |-----------|---------| | Any CRITICAL findings | BLOCK | | HIGH findings, no CRITICAL | FIX (fix before merge) | | Only MEDIUM/LOW findings | APPROVE (with suggestions) |
Step 2: Output structured report
## Parallel Review Complete
### Severity Matrix
| Severity | Count | Summary |
|----------|-------|---------|
| Critical | N | One-line aggregated summary |
| High | N | One-line aggregated summary |
| Medium | N | One-line aggregated summary |
| Low | N | One-line aggregated summary |
Details by reviewer below.
### Combined Findings
#### CRITICAL (Block Merge)
1. [Reviewer] Issue description - file:line
#### HIGH (Fix Before Merge)
1. [Reviewer] Issue description - file:line
#### MEDIUM (Should Fix)
1. [Reviewer] Issue description - file:line
#### LOW (Nice to Have)
1. [Reviewer] Issue description - file:line
### Summary by Reviewer
[Matrix from Phase 3]
### Recommendation
**VERDICT** - [1-2 sentence rationale]
Step 3: If BLOCK verdict, initiate re-review protocol
After user addresses CRITICAL issues, re-run ALL 3 reviewers (not just the one that found the issue) to verify:
Re-run all three because fixes often introduce new issues in adjacent code, and you need confirmation across all three domains that the solution is safe.
Gate: Structured report delivered with verdict. Review is complete.
Cause: One or more Task agents exceed execution time.
Solution:
Cause: Systemic issue (bad file paths, permission errors, context overflow).
Solution:
Cause: Two reviewers disagree on severity or interpretation of same code.
Solution:
data-ai
Extract video transcripts: yt-dlp subtitles to clean paragraphs.
tools
Collect, filter, and freshness-qualify news items.
development
Convert PDF, Office, HTML, data, media, ZIP to Markdown.
testing
Verify factual claims against sources before publish.