원클릭으로
full-repo-review
Comprehensive 3-wave review of all repo source files, producing a prioritized issue backlog.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Comprehensive 3-wave review of all repo source files, producing a prioritized issue backlog.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Planning lifecycle: specs, requirements, pre-plan ambiguity resolution, file-backed plans, plan validation, pause/resume, session handoff.
Fresh-subagent-per-task execution with two-stage review gates.
Business operations: strategy, technology, growth, competitive intelligence, support, finance, HR, legal, operations, sales, productivity, product management.
Customer support workflows — ticket triage, response drafting, knowledge base articles, escalation handling, customer research. Use when triaging support tickets, drafting customer responses, creating KB articles, managing escalations, or researching customer context.
Finance and accounting: journal entries, reconciliation, variance analysis, financial statements, audit support, month-end close, SOX testing.
People operations workflows — recruiting pipeline, performance reviews, compensation analysis, offer drafting, interview prep, onboarding, org planning. Use when managing hiring pipelines, writing performance reviews, analyzing compensation, drafting offers, or planning organizational changes.
| name | full-repo-review |
| description | Comprehensive 3-wave review of all repo source files, producing a prioritized issue backlog. |
| user-invocable | true |
| command | full-repo-review |
| context | fork |
| allowed-tools | ["Agent","Bash","Read","Write","Glob","Grep"] |
| routing | {"triggers":["full repo review","review entire repo","codebase health check","review all files","full codebase review","audit the codebase","codebase audit","review whole repo","sweep all source files","repo health"],"not_for":"reviewing a single PR, diff, or named file (use systematic-code-review); security-only review (use security-review). This reviews ALL source files in the repo, producing a prioritized issue backlog.","pairs_with":["systematic-code-review","parallel-code-review"],"complexity":"Medium","category":"analysis"} |
Orchestrates a comprehensive 3-wave review against ALL source files in the
repository, not just changed files. Delegates the actual review to the
comprehensive-review skill. Produces a prioritized issue backlog instead of
auto-fixes.
When to use: Quarterly health checks, after major refactors, onboarding to
a new codebase, or any time you want a systemic view of codebase quality. This
is expensive (all files through all waves) -- use comprehensive-review for
PR-scoped work.
How it differs from comprehensive-review: This skill changes the SCOPE phase to scan all source files instead of git diff, and changes the output from auto-fix to a prioritized backlog report. The review waves themselves are identical.
| Signal | Load These Files | Why |
|---|---|---|
| writing full-repo-review-report.md | report-template.md | Report structure and field definitions |
| dispatching Wave 1 or Wave 2 review agents | audit-playbook.md | Per-category checklists, evidence requirements, severity mapping, reviewer role assignments |
scripts/) instead of the full repo. Useful for splitting a large repo into manageable chunks.score-component.py deterministic pre-check. Only use if the script is unavailable or you need faster iteration.Goal: Identify all source files and run deterministic health checks.
Step 1: Discover source files
Build the complete file list by scanning these directories. Always scan ALL
source files -- never fall back to git diff. The entire point of this skill is
codebase-wide coverage. If a specific --directory was provided, scope the
scan to that directory only.
# Python scripts (exclude test files and __pycache__)
find scripts/ -name "*.py" -not -path "*/tests/*" -not -path "*/__pycache__/*" 2>/dev/null
# Hooks (exclude test files and lib/)
find hooks/ -name "*.py" -not -path "*/tests/*" -not -path "*/lib/*" 2>/dev/null
# Skills (SKILL.md files only)
find skills/ -name "SKILL.md" 2>/dev/null
# Agents
find agents/ -name "*.md" 2>/dev/null
# Docs
find docs/ -name "*.md" 2>/dev/null
Log the total file count. If zero files found, STOP and report: "No source files discovered. Verify you are in the correct repository root."
If the file count is too large for a single session, split by directory
(scripts/, hooks/, agents/, skills/ separately) rather than
cherry-picking "important" files -- selective review defeats the purpose.
Step 2: Run deterministic pre-check
Run scoring before the LLM review. Deterministic checks are cheap and catch structural issues (missing frontmatter, no error handling section) that LLM reviewers should not waste tokens rediscovering.
python3 ~/.claude/scripts/score-component.py --all-agents --all-skills --json
Parse the JSON output. Flag any component scoring below 60 (grades F and D) as a CRITICAL finding for the final report. Components scoring 60-74 (grade C) are HIGH findings.
Save the raw scores -- they go into the report's "Deterministic Health Scores" section.
GATE: At least one source file discovered AND score-component.py ran successfully. If the scoring script fails, proceed with a warning but do not skip the review phase.
Goal: Run the comprehensive-review pipeline against all discovered files.
This skill orchestrates scope and output only. The actual 3-wave review is
performed by comprehensive-review with --review-only mode.
Step 1: Invoke comprehensive-review
Invoke the comprehensive-review skill with these overrides:
--focus [files] mode)--review-only to skip auto-fix. Output is a prioritized backlog for human triage, not patches -- full-repo auto-fix touches too many files at once and risks cascading breakage.references/audit-playbook.md and pass it as prompt context for the wave agents — for each Wave 1/2 agent, include the playbook's category checklists matching that agent's lens (per the playbook's Reviewer Role Cross-Reference) plus each component's Phase 1 score and grade.The comprehensive-review skill handles Wave 0 (per-package), Wave 1 (foundation agents), and Wave 2 (deep-dive agents) internally; the Checklists override is how the playbook reaches the agents it dispatches, since wave agents run in fresh context and cannot load it themselves.
Audit playbook: The playbook maps categories to wave lenses and specifies evidence requirements per pattern. Agents use the checklists in their prompt to ensure systematic coverage rather than ad-hoc judgment about what to check.
Step 2: Collect findings
After comprehensive-review completes, gather all findings from its output. Each finding should have:
GATE: comprehensive-review completed and produced findings output. If it failed, include what partial findings exist and note the failure in the report.
Goal: Aggregate all findings into a prioritized backlog report.
Step 1: Merge deterministic and LLM findings
Combine:
Deduplicate where both sources flag the same issue. Keep the higher severity.
Step 2: Identify systemic patterns
Look for patterns that appear in 3+ files:
These go into a dedicated "Systemic Patterns" section -- they represent the highest-leverage fixes because one pattern change improves many files.
Step 3: Write the report
Write full-repo-review-report.md to the repo root with this structure:
# Full-Repo Review Report
**Date**: {date}
**Files reviewed**: {count}
**Total findings**: {count} (Critical: N, High: N, Medium: N, Low: N)
## Deterministic Health Scores
| Component | Score | Grade | Key Issues |
|-----------|-------|-------|------------|
| {name} | {n} | {A-F} | {summary} |
## Critical (fix immediately)
- **{file}:{line}** : [{category}] {description}
- Fix: {suggested fix}
## High (fix this sprint)
- ...
## Medium (fix when touching these files)
- ...
## Low (nice to have)
- ...
## Systemic Patterns
- **{pattern name}**: Seen in {N} files. {description}. Fix: {approach}.
## Review Metadata
- Waves executed: 0, 1, 2
- Duration: {time}
- Score pre-check: {pass/warn/fail}
The report is the final output. Do not auto-apply any fixes -- the user triages findings and batches corrections into manageable PRs.
GATE: Report file exists at full-repo-review-report.md and contains at
least the severity sections and deterministic scores.
| Error | Cause | Solution |
|---|---|---|
| No source files found | Wrong working directory or empty repo | Verify cwd is repo root with ls agents/ skills/ scripts/ |
| score-component.py fails | Missing script or dependency | Proceed with warning; the LLM review still runs. Note gap in report. |
| comprehensive-review times out | Too many files for single session | Split into directory-scoped runs: scripts/, hooks/, agents/, skills/ separately |
| Report write fails | Permission or path issue | Try writing to /tmp/full-repo-review-report.md as fallback |
full-repo-review-report.md output