/claude-kit:planner-rulesfrom Claude Kit
Classifies tasks into 7 types, routes by S/M/L/XL complexity, delegates research to code-researcher for large tasks, and documents plans with full code examples. For /planner and /workflow Phase 1.
Ships in Claude Kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Classify task type before any research:
| Complexity | Parts | Layers | Route | Sequential Thinking | Plan Review |
|---|---|---|---|---|---|
| S | 1 | 1 | minimal | NOT needed | SKIP |
| M | 2-3 | 2 | standard | as needed | standard |
| L | 4-6 | 3+ | standard | RECOMMENDED | standard |
| XL | 7+ | 4+ | full | REQUIRED | standard |
Use Task Classification above to determine type (new_feature, bug_fix, etc.) and Complexity & Routing table for S/M/L/XL classification. Output: task type + complexity + route + ST requirement.
Write plan to .claude/prompts/{feature}.md using plan template.
CRITICAL: Code examples must be FULL (complete function bodies), not just signatures.
Form handoff payload for plan-review.
Principle: Full function body, error context propagated per ERROR_WRAP, explicit return types and values, no truncation.
Bad — signature-only stub (any language): Function declared without body (e.g. func Get(id string) error or def get(id): ...). Not actionable for the coder — no error path, no return shape.
Good — see per-language reference shapes in .claude/skills/planner-rules/code-shapes/<LANGUAGE>.md (resolved from PROJECT-KNOWLEDGE.md → LANGUAGE; falls back to code-shapes/_default.md pseudocode if LANGUAGE is unset or not one of go/python/typescript/rust/java).
Why: Incomplete examples are not actionable for the coder. Concrete shapes are language-specific; the four invariants (full body, ERROR_WRAP, explicit types, no truncation) are universal — see code-shapes/INVARIANTS.md.
For more examples, see Examples.
Cause: Planner shows function signature without body. Fix: RULE: Full Examples — all code in plan must have complete function bodies, error handling, and context propagation.
Cause: Planner thinks plan is simple, but has 4+ parts. Fix: ALWAYS use Sequential Thinking if Parts >= 4, layers >= 3, or alternatives >= 3.
For all troubleshooting cases, see Troubleshooting.
For detailed checks, read the supporting files in this skill directory:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hex0xdeadbeef/claude-kit --plugin claude-kit9 skills in this plugin
/cavemanProject-local terse-output mode for /workflow pipeline. Cuts Messages token cost via concise prose. Loaded only at SessionStart by .claude/scripts/caveman-activate.sh — not auto-invoked on user prompts.
/code-review-rulesReview standards for code-reviewer agent. Loaded by explicit Read in the code-reviewer STARTUP step (disable-model-invocation blocks subagent preload). Covers: severity classification (BLOCKER/MAJOR/MINOR/NIT), decision matrix (APPROVED/APPROVED_WITH_COMMENTS/CHANGES_REQUESTED), auto-escalation rules, grep search patterns for automated checks./coder-rulesImplementation rules and patterns for /coder command. Load at /coder startup (step 0) or when /workflow enters Phase 3. Covers: 6 CRITICAL rules (plan-only, import matrix, clean domain, no log+return, tests pass, comment quality), the comment policy for source files, evaluate protocol (PROCEED/REVISE/RETURN), dependency-ordered implementation.Other plugins' skills for the same job