Help us improve
Share bugs, ideas, or general feedback.
From Claude Kit
Reviews architecture plans for compliance with import matrix, domain purity, and required sections. Applies severity classification and decision matrix for plan approval.
npx claudepluginhub hex0xdeadbeef/claude-kit --plugin claude-kitHow 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
Validates implementation plans against codebase reality, architecture, quality, risks, and conventions before execution using four parallel specialized reviewers.
Evaluates implementation plans before execution using checklists for security, testing, architecture, error handling, and code quality. Provides structured feedback saved to work directory.
Reviews architecture of written plans: scores data flow, failure modes, edge cases, test matrix, rollback safety (0-10 each) with citations; produces ranked fixes.
Share bugs, ideas, or general feedback.
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: Many small issues = systemic problem (source: troubleshooting.md). 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. This SKILL.md contains all essential rules inline. Load files only when the specific trigger condition is met: