| name | don-cape |
| description | Meta-skill that activates cape's workflow system. Injected at session start; always active and never manually triggered. Routes every task to the right cape skill and enforces workflow chains: brainstorm before planning, plan before coding, TDD during implementation, diagnosis before fixing. If a cape skill matches the user request, using it is mandatory.
|
<skill_overview> Route every task to the right cape skill and enforce the order skills run in. Cape
skills form PLAN (brainstorm -> write-plan), BUILD (execute-plan -> TDD -> commit loop), SHIP
(finish-epic -> review -> pr), and BUG (fix-bug -> TDD -> commit) chains.
Core contract: before acting on any user request, check the routing table. If a cape skill matches,
load it with the Skill tool and follow it. </skill_overview>
<rigidity_level> MEDIUM FREEDOM -- The meta-process is immutable: check routing, load the matching
skill, and follow chain order. Each skill defines its own flexibility. </rigidity_level>
<when_to_use>
Always active. Injected at session start via hook. Applies to every user message.
</when_to_use>
<critical_rules>
- Check the routing table before every task -- if a cape skill matches, use it
- Use the Skill tool to load skills -- never work from memory
- Follow workflow chains in order -- PLAN before BUILD before SHIP
- Stop after write-plan and each execute-plan task -- wait for user to explicitly continue
- Use tracker for issue state -- Linear writes through MCP, local reads from tracker cache
</critical_rules>
<the_process>
Step 1: Route the request
Short-circuit first when the user has already committed to a phase entry or specific skill:
- Direct
/cape:<name> command: load that skill directly.
- Phase-entry command:
/plan loads cape:brainstorm, /build loads cape:execute-plan, and
/ship loads cape:finish-epic.
- Pre-existing tracker task: when the user references a Linear issue ID or the tracker cache shows a
ready task for the active epic, load
cape:execute-plan.
Only these signals short-circuit the build chain. Do not infer skill choice from confidence or task
size.
First matching row wins:
| User intent | Skill | Notes |
|---|
| Build, add, create, or implement something new | cape:brainstorm | Starts build chain |
| "How should I approach X" or unclear requirements | cape:brainstorm | Design before code |
| Formalize a design into an epic | cape:write-plan | Requires brainstorm output |
| "Continue", "next task", "work on the plan", Linear task ID | cape:execute-plan | Orient from tracker cache |
Set up an autonomous run, draft a /goal, prep an AFK run | cape:set-goal | Stages a run draft |
| Something broken, error, stack trace, "doesn't work" | cape:fix-bug | Diagnose then patch |
| Fix a diagnosed Linear bug issue | cape:fix-bug | Diagnose then patch |
| Start work in an epic worktree, create/enter per-epic worktree | cape:worktree | Standalone |
| Finish or hand off a tracker epic, all tasks done | cape:finish-epic | End of build chain |
| Commit, save changes, wrap this up | cape:commit | Standalone |
| Create PR, open pull request, "ship it", "ready for review" | cape:pr | Standalone |
| Act on inbound PR review comments, resolve review threads | cape:pr-feedback | Inbound review loop |
| Review code, "check my code", "anything wrong?" | cape:review | Read-only review |
| Linear/tracker operations, issue state, ready work, cache refresh | cape:tracker | Reference skill |
Internal skills:
cape:test-driven-development -- mandatory before production code. Loaded by execute-plan and
fix-bug; hook safety nets cover resumed sessions.
cape:review -- model-invoked quality gate before cape:pr, and directly loaded only when the
user asks for a review.
Invocation split:
- Phase entries (
plan, build, ship) are user-invoked commands with no new skills.
- Chain steps and disciplines (
brainstorm, write-plan, execute-plan, finish-epic,
test-driven-development, review, pr, commit) remain model-invoked through routing and keep
their trigger prose.
If nothing matches, proceed without a cape skill.
Continue / next task pre-check: Before loading cape:execute-plan, read
hooks/context/tracker.json. If ready tasks exist, execute-plan handles them. If no ready tasks
remain but an active epic exists, suggest cape:finish-epic. If the cache is empty or corrupt, say
that tracker cache needs a refresh from the latest Linear MCP result.
Step 2: Follow the chain
Phase chains:
PLAN brainstorm -> write-plan -> STOP for epic approval
BUILD execute-plan -> test-driven-development -> commit, then STOP after each task
SHIP finish-epic -> review -> STOP for PR approval -> pr
BUG fix-bug -> test-driven-development -> commit, then rejoin BUILD tail
Each link's contract lives in its own skill; load it and follow it. The STOP points above are
load-bearing: honor them.
Vague feature requests go through the build chain. Direct skill invocation or a ready tracker task
is the user's explicit choice to skip earlier links.
Step 3: Use skills correctly
Load matching skills with the Skill tool and follow their instructions. Skills evolve between
sessions; do not work from memory.
</the_process>
User asks to build a feature
Wrong: Start writing code immediately.
Right: Route to cape:brainstorm, research the codebase, discuss design, then use
cape:write-plan to create the Linear epic and first task.