Cape
Opinionated Claude Code commands and skills for a single-agent build workflow.
Cape routes every task to the right skill and runs it through one of four chains: plan a change,
build it test-first, ship it, or fix a bug. Issue state lives in Linear; a
session-start banner shows where you left off.
Installation
Add cape as a Claude Code plugin:
claude plugin add sQVe/cape
Or run it from a local clone:
claude --plugin-dir /path/to/cape
The plugin ships a cape CLI that the skills and hooks call. Build it and put it on your PATH:
pnpm install && pnpm build
ln -s "$PWD/cli/dist/index.mjs" ~/.local/bin/cape
Cape's hook denies only workflow-specific commands. Install cc-safety-net alongside it for
destructive-command policy (force push, git reset --hard, git clean -f); without it those run
unblocked on feature branches.
claude plugin add cc-safety-net@kenryu42/cc-marketplace
Workflow
The don-cape router loads at session start and matches each request to a skill. Skills run in four
chains:
| Chain | Steps | Entry |
|---|
| PLAN | brainstorm → write-plan | /plan |
| BUILD | execute-plan → test-driven-development → commit | /build |
| SHIP | finish-epic → pr | /ship |
| BUG | fix-bug → test-driven-development → commit | None |
/plan, /build, and /ship are the entry points you type. The steps inside a chain run on their
own through routing. A human gate sits after PLAN and before SHIP, and BUILD stops after each task
so you can review.
Code review has no cape skill. You run Claude Code's builtin /code-review, or /cape:review to
dispatch the code-reviewer agent yourself, or a skill dispatches it for you. The agent returns its
findings as JSON for the caller to relay through one ReportFindings call, so every route renders
the same.
Skill gates are contextual warnings you can ignore. Some Bash commands are denied outright: pushing
to the default branch, git commit --amend, gh pr merge, and gh pr close. Raw commands with a
cape equivalent (git commit, gh pr create) are redirected, not blocked.
Skills
Cape ships 14 workflow skills plus the don-cape router.
| Skill | Role |
|---|
brainstorm | Explore a design before writing code |
write-plan | Turn a design into a Linear epic and first task |
execute-plan | Implement one task, verify it, queue the next |
set-goal | Draft a /goal and approach prompt for an AFK run |
test-driven-development | Drive each change RED → GREEN → REFACTOR |
commit | Stage selectively and write a conventional commit |
resolve-conflicts | Finish a conflicted merge or rebase, never abort |
finish-epic | Verify acceptance criteria and hand off the epic |
pr | Open a pull request with a verified test plan |
pr-feedback | Triage inbound PR review comments and resolve threads |
fix-bug | Diagnose to root cause, then patch test-first |
tracker | Write Linear results into the local cache |
unslop | Cut AI tells from prose and set the register |
bro | Restate the last message in plain language |
Everything that ships under your name uses the unslop skill's plain register; docs get its full
voice.
Agents
Five agents handle focused sub-tasks. Each dispatch names a model tier.
| Agent | Tier | Use |
|---|
codebase-investigator | haiku | Find patterns and verify codebase state; carries bug-tracer and test-auditor modes |
code-reviewer | opus | Review a completed step against the epic contract |
fact-checker | sonnet | Verify claims against codebase and external evidence |
internet-researcher | sonnet | Pull current docs and external knowledge |
test-runner | haiku | Run tests and hooks without flooding context |
Tracker and Linear
Cape tracks epics and tasks as Linear issues and sub-issues. Writes go to Linear in-session through
the MCP Linear plugin.