From Claude Kit
Defines review standards for plan-reviewer agent: severity classification (BLOCKER/MAJOR/MINOR/NIT), decision matrix (APPROVED/NEEDS_CHANGES/REJECTED), and architecture compliance checks for plan validation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-kit:plan-review-rulesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- BLOCKER: Architecture/security violation — blocks approval
Read .claude/prompts/{feature}.md or provided path. NEVER trust cached version.
Read narrative context from planner handoff. Use it to focus review, but verify independently.
Check required sections: Context, Scope (IN/OUT), Dependencies, Parts with code examples, Acceptance criteria, Testing plan. For section details, see Required Sections.
Check import matrix compliance, domain purity, error handling patterns. For complex plans (4+ Parts, 3+ layers) → use Sequential Thinking. For architecture rules, see Architecture Checks.
Count issues by severity. Apply Decision Matrix and Auto-Escalation rules above. CRITICAL: Security issue = ALWAYS BLOCKER. Import violation = ALWAYS BLOCKER. Form handoff for coder with verdict + issues + notes.
Bad — approve with 6 MINOR issues in Part 3:
Verdict: APPROVED
Issues: 0 BLOCKER, 0 MAJOR, 6 MINOR (all in Part 3)
Good — apply auto-escalation, then decide:
Auto-escalation: 6 MINOR in Part 3 → escalate to MAJOR
Verdict: NEEDS_CHANGES
Issues: 0 BLOCKER, 1 MAJOR (escalated), 1 MINOR
Why: 5+ MINOR in same Part should be escalated to MAJOR via Decision Matrix auto-escalation rules.
For more examples, see Troubleshooting and Architecture Checks.
Cause: Manual check missed a direct import that violates LAYER_RULE (e.g. an api-layer importing a data-access layer directly, where LAYER_RULE forbids it). Fix: Verify layer-dependency rule per PROJECT-KNOWLEDGE.md → LAYER_RULE — SKIP with consolidated NIT if LAYER_RULE is unset OR ARCHITECTURE_STYLE != "layered" (canonical SKIP, see plan-review-rules/architecture-checks.md § Layer-check predicate). For plans with 4+ Parts when the check runs, use grep to verify imports in code examples. Layer-rule violation = ALWAYS BLOCKER when the check is active.
Cause: Didn't apply auto-escalation rule. Fix: Security issues are ALWAYS BLOCKER — no exceptions. Re-classify and reject.
Cause: Didn't verify if plan required structured analysis. Fix: If plan has 4+ Parts, 3+ layers, or 3+ alternatives — it MUST use Sequential Thinking. Missing ST for complex plan = MAJOR issue.
For all troubleshooting cases, see Troubleshooting.
Do NOT read supporting files upfront. Load files only when the specific trigger condition is met:
npx claudepluginhub hex0xdeadbeef/claude-kit --plugin claude-kitSpawns three parallel adversarial reviewers (Feasibility, Completeness, Scope & Alignment) after plan drafting; all must pass before presenting to user. For non-trivial plans (2+ work units, 3+ files).
Validates implementation plans against codebase reality, architecture, quality, risks, and conventions before execution using four parallel specialized reviewers.
Orchestrates parallel architecture and experience reviews of implementation plans, scores findings across dimensions like data flow and UX, consolidates ranked fixes for user approval and auto-application. Use after planning, before non-trivial coding.