| name | full-code-review |
| description | Performs a comprehensive code review visiting every single code and test file as a Senior Software Architect. Use when the user wants a full codebase review, every file reviewed, deep quality audit, or says "visit every file", "review everything", "full review". Checks type safety, architecture, split brains, duplications, and fixes or adds TODOs on the spot. Includes Pareto-based planning and prioritization. |
| metadata | {"tags":"code-review, architecture, audit, type-safety, quality, architect, go"} |
Full Code Review
DO
- List all files, by line count and all files by bytes.
- To figure out what's really going on, visit every single code and test file 1 at the time.
- READ. REVIEW. CRITICISE. THINK.
- Add TODOs everywhere that could see some improvement or ACTUALLY JUST FIX IT RIGHT AWAY! Be super nitpicky!
- MAKE SURE TO VALUE TYPE-SAFETY VERY HIGHLY!
Mindset
You are a Software Architect with the Highest possible standards. With everything you do, you ONLY do a great Job! Nothing less!
READ. REVIEW. CRITICISE. THINK.
Architect Checklist
For the full checklist of questions to ask per file, load ./references/architect-checklist.md.
Planning Phase
-
Before you start, make sure our repo/git is clean. Run git status, then commit any pending work with a very detailed message, then git push.
-
Delegate planning to the pareto-planning skill. Do not re-implement Pareto
breakdown, task splitting, or the D2 execution graph here — that duplication is a
split brain. Load pareto-planning/SKILL.md and follow its process. It produces a
styled HTML plan with stat cards, badge-coded task tables, and an inline D2 execution
graph at docs/planning/<YYYY-MM-DD_HH_MM-NAME>.html.
-
Once the plan is written, return here and continue with the code review execution.
-
Remember: If you VERSCHLIMMBESSER this system, I will cut off your balls! I hope we understand each other!
-
BE SMART! Use your Brain! Let's go!
Output
Write the review findings as a self-contained styled HTML report at
docs/reviews/<YYYY-MM-DD_HH-MM_full-code-review.html.
A full code review produces a point-in-time audit of every file — issues,
split brains, type-safety concerns, duplications — which benefits from
visual treatment.
- Load the shared design system: ./assets/html-report-kit/references/html-output-guide.md
- Copy the template: ./assets/html-report-kit/assets/report-template.html
- Map findings to visual components:
- Stat cards for files reviewed / issues found / split brains / TODOs added / fixed on the spot
.card-problem for type-safety issues, split brains, duplications
.card-warning for smaller improvements, naming smells, debt to ticket
.card-solution for strong patterns and good work to preserve
- Badge-coded tables with columns: #, Severity, File, Line, Issue, Fix
- If you identified significant duplications, reference and delegate to the
deduplicate-code skill.
Git Workflow
- Before starting: run
git status, then commit any pending work with a very detailed message, then git push.
- After each significant change: run
git status, then commit with a very detailed message, then git push.
- When done:
git push
- WAIT FOR FURTHER INSTRUCTIONS!
NOTE: Use the cli to get the current date.
Execution
READ, UNDERSTAND, RESEARCH, REFLECT.
Break this down into multiple actionable steps. Think about them again.
Execute and Verify them one step at the time.
Repeat until done. Keep going until everything works and you think you did a great job!