From skills
Captures architectural decisions mid-conversation and drafts ADR files with explicit TODOs for missing mandatory fields. Never commits without confirmation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/skills:adr-captureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Decisions get lost because writing them down is friction. This skill catches the
Decisions get lost because writing them down is friction. This skill catches the decision while it's warm and produces an ~80%-complete draft for review. It never auto-commits, and it biases toward false negatives — better to miss a decision and be asked than to spam the ADR log with drafts of things that were only floated.
A real decision has two parts: a commitment signal and a rationale.
Exploratory phrasing — "might", "could", "what if", "worth considering" — is NOT a decision. If you see commitment without a clear rationale, or you're unsure, ask one question to confirm before drafting. Do not draft on ambiguity.
Config. Read optional .adr/config.yaml for adr_dir (default
docs/adr/), the id format, and the list of mandatory_sections. Otherwise
use the defaults baked into references/adr-template.md.
Next id. Scan adr_dir for the highest existing ADR number and
increment. Slugify the decision title for the filename, e.g.
0042-vector-store.md.
Fill from the conversation. Map what was said onto the template: context and forces, the decision, alternatives considered and why each was rejected, consequences (both + and −).
Mark the gaps. For every mandatory section the conversation did not
cover, insert a literal <TODO: ...> with a hint of what's needed. Never
invent regulatory, security, data-classification, or rollback content — those
must come from a human.
Review, then write. Show the full draft in chat first. Write the file
only after explicit confirmation, with Status: Proposed. Never commit, and
never set any status past Proposed on the user's behalf — that is a human
approval step.
See references/adr-template.md for the section structure and the
bank-specific mandatory fields.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub osipchuk/agent-skills