with one click
review
// Principle-grounded review of code changes, PRs, or plans. Use when asked to review, critique, or assess quality of work — "review", "review this", "code review", "check this".
// Principle-grounded review of code changes, PRs, or plans. Use when asked to review, critique, or assess quality of work — "review", "review this", "code review", "check this".
Read/write brain files (Obsidian vault at docs/). Use for any task that persists knowledge — reflection, planning, or direct edits. Triggers: docs/ modifications, "add to brain".
Audit and evolve the brain vault — prune outdated content, discover cross-cutting principles, review skills for structural encoding opportunities. Triggers: "meditate", "audit the brain".
Break down medium-to-large tasks into phased plans in docs/plans/. Planning only — does not implement. Use for new features, multi-file refactors, or architectural changes — not small fixes. Triggers: "plan this", "break this down".
Reflect on the conversation and update the brain. Use when wrapping up, after mistakes or corrections, or when significant codebase knowledge was gained. Triggers: "reflect", "remember this".
Mine past Claude Code conversations for uncaptured patterns, corrections, and knowledge. Cross-references with existing brain content. Triggers: "ruminate", "mine my history".
| name | review |
| description | Principle-grounded review of code changes, PRs, or plans. Use when asked to review, critique, or assess quality of work — "review", "review this", "code review", "check this". |
Thorough review grounded in project principles. Do NOT make changes — the review is the deliverable.
Use Tasks to track progress. Create a task for each step below (TaskCreate), mark each in_progress when starting and completed when done (TaskUpdate). Check TaskList after each step.
Read docs/principles.md. Follow every [[wikilink]] and read each linked principle file. These principles govern review judgments — refer back to them when evaluating issues.
Do NOT skip this. Do NOT use memorized principle content — always read fresh.
Infer what to review from context — the user's message, recent diffs, or referenced plans/PRs. If genuinely ambiguous (nothing to infer), ask.
Auto-detect review mode from change size:
For SMALL CHANGE reviews, read files directly in the main context — delegation overhead exceeds the cost of reading a few files.
For BIG CHANGE reviews, delegate exploration to subagents via the Task tool.
Spawn exploration agents (subagent_type: Explore) to:
Run multiple agents in parallel when investigating independent areas.
Check installed skills (.agents/skills/, .claude/skills/) for any that match the review's domain.
Invoke matched skills now — read their output and use domain guidance to inform your review.
For domains not covered by installed skills, use find-skills to search for a relevant skill.
Work through all sections in order. For each section, check against loaded principles.
If the review targets work against a plan phase:
git diff --stat and git log --oneline for the relevant commits.If no plan phase applies, skip this subsection.
For each changed file, check against loaded principles. Common violations:
NUMBER each issue (1, 2, 3...). For every issue:
When using AskUserQuestion, label each option with issue NUMBER and option LETTER. Recommended option is always first.
After presenting all issues, give an overall verdict: