/decision-log:decision-logfrom decision-log
Records durable engineering decisions in an append-only log (docs/decisions.md by default). Use after choosing between real alternatives like dependencies, architecture, or protocol choices.
Ships in decision-log. 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.
None: SKILL.md is the whole skill.
An append-only log of choices that constrain future work: what was decided, when, and why the alternatives lost. It exists so a future reader -- the user, a contributor, or a later session -- does not relitigate a settled question or silently undo it.
Log a decision when all of these hold:
Typical: dependency and version pins, protocol/interface choices, deployment topology, deliberate omissions ("no X, because the pinned version cannot"), security trade-offs, and reversals of earlier entries.
Not log-worthy: refactors, renames, formatting, bug fixes, anything the code plus a commit message already explains. A log padded with trivia stops being read.
CLAUDE.md (or AGENTS.md) names a decision-log path, use it.docs/decisions.md.DECISIONS.md, doc/decisions.md, or an
adr/ / docs/adr/ directory before concluding there is none.Never create a decision log, and never restructure an existing one, without asking the user first. Many repos -- especially ones the user does not own -- have their own conventions or want none of this.
<path>?" Take no action on a refusal, and do not re-ask in that session.## YYYY-MM-DD -- Short imperative title
One to two paragraphs of prose: what was chosen, what it was chosen over, and
the reason the alternative lost. Name concrete versions, flags, file paths, and
issue numbers. Record the consequence the reader will feel, and the condition
under which the decision should be revisited.
Rules:
## heading per decision. Date first, -- separator, then a title
short enough to scan in a rg '^## ' listing.v2.45.1, dex issue #4212, oauth2.pkce.enforce -- a
vague entry cannot be verified later.New file header:
# Decision log (append-only)
Format: date -- decision -- rationale. Newest last. Do not rewrite
history; supersede with a new entry.
History is append-only. To change a settled decision:
(supersedes above) or
(supersedes "<old title>").**Superseded** -- see "<new title>". Use **Partly superseded** when only
part of it fell.Never delete or silently edit a past entry. Fixing a typo is fine; changing what it claims is not.
Batch related choices made in one sitting into one entry when they share a rationale. Split them when a future reader would search for them separately.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub xdg/xdg-claude --plugin decision-logOther plugins' skills for the same job