/claude-kit:workflow-protocolsfrom Claude Kit
Orchestration protocols for the /workflow pipeline: handoff contracts, checkpoint format, re-routing, pipeline metrics, agent memory, and parallel dispatch. Loads on-demand per event triggers.
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.
| Protocol | When to Load | Purpose |
|---|---|---|
| Handoff | BEFORE forming handoff between phases | 4 pipeline contracts + 1 tool contract (code-researcher) + narrative casting |
| Checkpoint | AFTER completing each phase | Format (12 YAML fields), recovery (5 steps), state persistence |
| State Layer | On-demand (debugging state issues, Phase 5 cleanup) | File contracts, lifecycle rules, cleanup protocol for .claude/workflow-state/ |
| Re-routing | On complexity mismatch signal | Downgrade/upgrade route + tracking + learning |
| Pipeline Metrics | At completion phase only | Format (12 fields), storage (JSONL file), analysis, anomaly detection |
| Agent Memory | Agent startup + completion | Shared memory behavior for all memory: project agents |
| Parallel Dispatch | 2+ independent tasks identified (L/XL) | Multi-agent dispatch patterns (research + future debugging) |
Read this SKILL.md for the protocol overview. Then load Core Deps files: Autonomy, Orchestration Core.
Do NOT load all protocols upfront. Load on-demand per the Event Triggers section below.
CRITICAL: Every phase MUST produce a structured handoff payload (context + artifact + metadata) for the next phase.
Handoff load rule (the single source of truth — Event Triggers and Protocol References point here):
Good — full handoff payload (planner → plan-review):
artifact: ".claude/prompts/add-user-endpoint.md"
metadata:
task_type: "new_feature"
complexity: "L"
sequential_thinking_used: true
key_decisions:
- "Repository pattern over direct SQL — testability"
known_risks:
- "N+1 queries in list endpoint"
Bad — skipping handoff, jumping to code:
# No plan created, no review requested
# → jump directly to /coder
Why: Skipping phases leads to unvalidated code without architectural review. Every phase MUST produce a handoff payload for the next phase (see Handoff Protocol).
For more examples, see Examples & Troubleshooting.
Cause: Requirements unclear or task too broad. Fix: Ask user to clarify scope, break task into smaller pieces.
Cause: Connection lost, timeout, or manual stop.
Fix: Check .claude/prompts/{feature}.md for saved plan, use --from-phase to resume.
Cause: Plan missing critical sections (Scope, Architecture Decision, Tests).
Fix: Check plan against templates/plan-template.md, ensure all sections filled.
For all troubleshooting cases, see Examples & Troubleshooting.
These files define fundamental workflow behavior and are loaded at pipeline startup (step 0.1):
For detailed protocol specifications, read the supporting files in this skill directory:
memory: project agentsWhat 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./design-rulesDesign phase rules for /designer command. Load at /designer startup (step 0). Covers spec quality, design checklist, approach evaluation criteria./planner-rulesTask analysis and planning rules for /planner command. Load at /planner startup (step 0) or when /workflow enters Phase 1. Covers: task classification (7 types), S/M/L/XL complexity routing, code-researcher delegation (L/XL), plan documentation with full code examples./plan-review-rulesReview standards for plan-reviewer agent. Loaded by explicit Read in the plan-reviewer STARTUP step (disable-model-invocation blocks subagent preload). Covers: architecture compliance (import matrix, domain purity), required plan sections validation, severity classification (BLOCKER/MAJOR/MINOR/NIT), decision matrix (APPROVED/NEEDS_CHANGES/REJECTED).Other plugins' skills for the same job