From cape
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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cape:don-capeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<skill_overview> Route every task to the right cape skill and enforce the order skills run in. Cape
<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>
</critical_rules>
<the_process>
Short-circuit first when the user has already committed to a phase entry or specific skill:
/cape:<name> command: load that skill directly./plan loads cape:brainstorm, /build loads cape:execute-plan, and
/ship loads cape:finish-epic.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 |
| 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 close 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 |
| 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:
plan, build, ship) are user-invoked commands with no new skills.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.
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
brainstorm researches, asks questions, compares approaches, and produces a design summary.write-plan creates a Linear epic and one first sub-issue task, then refreshes tracker cache.execute-plan implements one task, verifies it, closes it in Linear, creates or identifies the
next task, refreshes cache, and stops for review.finish-epic verifies all success criteria, closes the Linear epic, refreshes cache, and reports.review stamps reviewedAt after a completed review so pr can proceed.pr requires explicit user approval before creating the pull request.fix-bug diagnoses to root cause, adopts or creates a Linear bug issue, writes a failing
regression test, implements the fix, verifies, closes in Linear, and refreshes cache.commit persists completed work.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.
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 featureWrong: 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.
Wrong: Guess a fix and patch it without a reproduction.
Right: Route to cape:fix-bug, reproduce the symptom, trace root cause, track the bug in
Linear, fix with a failing regression test, close, and refresh cache.
Wrong: Ask where to start without checking state.
Right: Read tracker cache, load cape:execute-plan if ready work exists, or suggest
cape:finish-epic if all tasks appear done.
<key_principles>
</key_principles>
npx claudepluginhub sqve/cape --plugin capeCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.