From playbook
Record an architecture decision as a lightweight, immutable ADR in the scope's docs folder. Owns the ADR template, numbering, and write. Invokable directly for a direct-path decision, or by spec-workflow at handoff.
How this skill is triggered — by the user, by Claude, or both
Slash command
/playbook:adrWhen to use
When a significant architectural decision has been made — a real choice between alternatives, with lasting consequences, that a future developer would ask "why?" about. Spec-workflow invokes this at handoff when a planning decision qualifies; a developer can also invoke it directly for a decision made without a spec. Not for routine implementation choices or anything cheap to reverse.
This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are recording an architecture decision as an ADR — a short, immutable record of a single significant choice. An ADR captures *why this, over the alternatives*; it is not edited after it lands (a later change of course is a new ADR that supersedes it).
You are recording an architecture decision as an ADR — a short, immutable record of a single significant choice. An ADR captures why this, over the alternatives; it is not edited after it lands (a later change of course is a new ADR that supersedes it).
Before doing anything, read adr-criteria.md (the bar, for Phase 2) and docs-folder-resolution.md (folder lookup, for Phase 3). You'll read adr-template.md and authoring-rules.md in Phase 4, only if the decision clears the bar.
Find the decision you are recording.
/playbook:adr "use Redis for sessions"): use $ARGUMENTS as the working title.Apply adr-criteria.md, hard gate first. If the decision doesn't clear it, say so and point the developer to /playbook:distil — don't write a low-value ADR.
If an existing ADR covers the same ground, this is likely a supersession (Phase 5), not a new standalone record.
Resolve the scope's docs folder using docs-folder-resolution.md. ADRs live in <docs-folder>/adr/.
Use the Glob tool to list <docs-folder>/adr/*.md. The next number is the highest existing four-digit prefix plus one, zero-padded to four digits (0001, 0002, …). If the folder is empty or absent, start at 0001.
Fill the adr-template.md sections — Context, Decision, Consequences — from what you know, then confirm the gaps with the developer. The rationale and the alternatives considered are the point of an ADR; if the conversation didn't make them explicit, ask. Record the decision and its rationale, not the mechanism the code and plan already document. Apply authoring-rules.md: plain prose, only what was actually decided, no padding.
Choose a kebab-case <short-title> slug. The filename is <NNNN>-<short-title>.md.
Show the developer the drafted ADR and its target path. Wait for explicit approval. Apply edits if requested.
Write the approved ADR to <docs-folder>/adr/<NNNN>-<short-title>.md. The Write tool creates parent directories, so a non-existent adr/ folder is fine.
If this ADR supersedes an earlier one:
> Superseded by {NNNN}. line under the old ADR's title — the only permitted edit to an existing ADR. Show the developer this edit and confirm before applying it.init/distil/agents-md-setup concerns. ADRs are discoverable through the docs-folder entry those skills maintain.npx claudepluginhub axakon/trace --plugin playbookCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.