/const-decision-records:record-decisionfrom const-decision-records
Load this skill first, before a ruling made in the dialog is written down or left as a commit note — every time, whether or not its stakes seem plain. It prices a decision by its stakes and, when it is a recorded one, writes the decision record: envelope with stakes and decider, body with the options, pros and cons, one recommendation and the choice. Use when a ruling is being made or has just been made in the dialog — a policy, procedure or harness ruling, a user-visible behaviour, a structural choice — when unsure whether a call deserves a record or only a commit note, when reversing an earlier ruling, or when a write was blocked for a record's stakes or decider. Advisory: it shapes the triage and the body; the write-time gate checks only type, stakes and decider.
Ships in const-decision-records. 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.
A ruling that lives only in the chat is gone with the session. A ruling recorded with more ceremony than it deserves teaches everyone to skip the ceremony. This procedure prices the decision first and writes a record only when the price says so. Stakes, the ceremony each level gets, and the shape of a decision record are defined by the constitution's conventions page that the project adopted; nothing here redefines them.
What is checked and what is not: once the project has named its record policy (step 3,
item 1), this plugin's hook blocks a decision record whose envelope lacks
type: task-record, a stakes of process | product | architecture, or a non-empty
decider — or, where the project set severity: warn, reports it and lets the write
through. Until a record policy is named the hook examines nothing and says so. Everything else on this page is judgment, and it is yours: whether a record was
due, what its stakes are, whether the body is honest.
Ask one question: is the call cheap to revert?
routine. Act. Put one line in the commit message saying what was chosen and
why. Write no record — a record for a routine call is ritual, and the gate refuses
stakes: routine.process. A record, and one
human yes on the change, named in the commit that lands it: where a PR flow exists, the
commit that merges the pull request, the yes being its approval or, where no second human
reviews it, the decider's own merge. This is the fast lane: a
process fix needs that one yes and nothing more — it never waits behind a heavier gate,
least of all the gate it is fixing.product. A record.architecture. A record, and review.The line between routine and recorded is drawn by examples, not by criteria. The project's
own pairs come first: read boundary_examples under const-decision-records in
constitution.yaml. When the project has none — the key absent or an empty list — use these:
process).process).product or architecture).When two readings stay plausible, take the higher one: an unneeded record costs minutes, an unrecorded structural call costs the next session its reasoning.
decider is the person or role who made the choice — not who typed the commit; git already
knows that, and it is often not the same. If the project says who may decide at each level
(deciders under const-decision-records in constitution.yaml, a list per stakes level),
the decider comes from that list; if the project names nobody — the key absent or empty, as a whole or at that level — ask who decides. If the person who should decide is absent, do not decide
for them at recorded stakes: stop, put the question with its options, and name them as the
blocker.
constitution.yaml, const-decision-records.record_policies names the policy, and the
territory sits under that policy's id. Read the policy document itself for the project's
own rules — naming, numbering, anything else. When a module that allocates numbers is
installed and the project numbers its decision records, take the number from it.
When a module that creates documents at their home is installed, its command's dry run
names the path for the record's stem; take the home from there rather than deriving it.
If the project has no constitution.yaml, or names no record policy, ask the user where
decision records live and write the record there; say once that the write-time check is
off until record_policies names the policy for that place.${CLAUDE_SKILL_DIR}/record-template.md). It holds both body shapes; delete the one
that does not apply.id stable kebab-case, never changed afterwards; type: task-record;
title one line stating the ruling, not the topic; stakes; decider; status as in
item 5. No date: the commit is the decision moment and the ordering.active while the ruling is still being applied to the documents and code
it changes; inactive once it is applied. A record whose ruling is applied in the same
commit that creates it is born inactive. Once applied, the rule must stand in the text
of the current-state document it changed: the record is provenance — where and why —
never the place a rule lives.A record is accepted once the ceremony its stakes ask for is complete: the yes of a
process record, the review of an architecture record. A product record is asked for
neither and is accepted when committed.
If a record was written or edited through the shell (heredoc, sed), the hook did not see
it. Run the scan: sh "${CLAUDE_PLUGIN_ROOT}/scripts/check-decision-record.sh" --scan —
exit 2 lists the findings with the same messages the hook gives.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub evgenus/claude-constitution-layer-kit --plugin const-decision-records2 skills in this plugin