/aida:playbooks <list | capture> [<projectPath>]from AIDA, the AI Dev Assistant
Lists and captures project playbooks — rules for how code should be written. Use when the user asks to list plays, add a play, or capture a rule.
Ships in AIDA, the AI Dev Assistant. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A playbook is a set of rules a person wants followed on their projects. Each play says do it this way, not that way, with the reason and where it applies. Every role that writes or judges code reads the plays. Four sources, in precedence order:
~/.claude/aida/playbook.md. Their preferences, on every project.<projectPath>/playbook.md. What this project decided.playbook.md at its root, in the format below. The project skill's
add-source <target> playbooks <folder> declares one. A team with one shared set of plays
puts it here: the person's file is per machine and the project's file is per project.project.json under playbookSubscriptions as a list of set ids
per framework the project declares. The project skill's subscribe-playbook adds one.A play's id is its source and its title as a slug, so a play from a folder carries that folder's path. Open the file the id names to read the play in full.
Every call below runs playbook-actions.sh, named in this skill's own grant, so it runs without
asking. Read the exit code first, never the text alone. Exit 3 means the script could not do its
job; show its error text and stop.
The two files share one format, and a version 5 file loads unchanged. ## <Domain> opens a
domain. ### <Title> opens a play. Four bold fields follow, and the example is a fenced block:
## CSS / SCSS
### Use the font-size mixin, never a raw rem
**What:** Set type sizes through the Bootstrap mixin.
**Rationale:** Raw sizes break the responsive scale.
**When it applies:** Every .scss file in the theme.
**Example:**
```scss
// Wrong
font-size: 2.125rem;
// Right
@include font-size($h2-font-size);
```
A play with no **What:** line loads with its title as the what, and load warns once. Nothing is
refused for a missing field. A play's id is its source and its title as a slug, for example
project:no-important. Editing or removing a play is an edit to the markdown file.
list [<projectPath>]"${CLAUDE_PLUGIN_ROOT}"/skills/playbooks/scripts/playbook-actions.sh list "<projectPath>"
One line per play, <id> <title>, from the person's file, the project's file, and the newest
loaded record under the project's tasks. That record also holds the plays from each declared
folder and each catalog set. A source with nothing prints <source>: none. With no loaded
record, the last line reads folder and catalog: no record loaded. Show the lines as printed.
To read one play in full, open the file the id names.
capture, a play by handAsk for the domain, the title, the what, the rationale and when it applies, one question each when the person did not give them. Write an example, when there is one, to a file holding the fenced block. Then run:
"${CLAUDE_PLUGIN_ROOT}"/skills/playbooks/scripts/playbook-actions.sh capture "<projectPath>" \
--domain "<H2>" --title "<title>" --what "<text>" --rationale "<text>" --when "<text>" \
[--example-file <path>]
It appends the play under the domain, at the end of the file when the domain is new, and commits
the project folder. Exit 3 naming the slug means the file already holds that play; say which and
ask for another title. It prints written: and play:; show both. Completion runs the same call for
each note the person accepts as a play.
load runsload <task_folder> writes records/playbooks.json and renders records/playbooks.md from the
four sources. Research runs it at its start, after the loader agent has written the catalog
record, and its stage report names the count per source. A person never needs to run it. It
fetches nothing: a subscribed set the catalog cannot reach is recorded unreachable, never as
zero plays. A record off the schema is still written, with a warning: line the task record keeps
for review.
load refuses at exit 79 when the task builds in its worktree and this window is elsewhere. The
refusal names the tree and the route that works from here, either the EnterWorktree tool or the
call started with cd <worktree> &&. Take the route it names, the way /aida:next does, and run
the call again.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/completionThis skill should be used when a reviewed task is ready to close, for example "close this task", "finish the task", "mark the task done", "write the pull request body", or "complete the task". It reads the review verdict and offers one follow up task per open finding. It writes a pull request body from the records, records the grounds for closing, and calls the task skill last./designThis skill should be used when a task's criteria are grounded and it is time to decide how to build them, for example "design this task", "write work orders", "architect this feature", "plan the build", or "Phase 2". It writes one work order per unit of build, each naming the criteria it serves and the one it owns, and checks that every criterion is covered and every work order traces to something real./implementThis skill should be used when a task's design has closed cleanly and it is time to begin building, for example "start implementing this task", "begin the build", or "Phase 3". It freezes the criteria and the work orders into a snapshot, opens the ledger that tracks each order's progress, refuses to land the build on the project's own trunk branch, establishes whether this repository can build and test at all, writes the tests for one work order and freezes them, writes the code for that order until it passes all three deciding checks, reviews the diff, repairs what the review finds, closes the order, and once every order is closed records the task's implementation as finished./nextThis skill should be used when the user asks "what's next", "what should I work on", "continue", "resume", "pick up where I left off", or names a task directly to jump to it. It lists which tasks are open in the current project and where each stands, or loads the one named, and offers to start a task when none are open./projectThis skill should be used when the user asks "which project", wants to "create a project", "start a new project", "switch project", "mark this project complete", "archive a project", "unregister a project", "install the task rule", "set where task worktrees go", "check this machine", or "uninstall AIDA from this repository". It works out which project owns the current directory, creates one, switches to another, ends one, or cleans one up, and runs the project check every time./researchThis skill should be used when a task's scope contract is approved and its criteria need grounding before design starts, for example "research this task", "find prior art", "check for an existing library", "look for a guide", "check this assumption", or "Phase 1". It fans out one small search per subject, records each search's findings in its own file, and checks that every criterion has a finding and every finding cites a criterion.npx claudepluginhub camoa/claude-skills --plugin aidaOther plugins' skills for the same job