adr-create
When to use
Use this skill when:
- A non-trivial architectural choice needs a written record (kernel
membership, cap raises, contract changes, library swap, deprecation).
- A decision overrides a previous one and needs
supersedes:linkage. - A roadmap phase closes and the chosen variant must be cited.
- The user says "write an ADR for X", "decision log this", "we need
a record of why we picked Y".
Do NOT use when:
- The change is reversible without governance impact (typo, lint
fix, refactor that stays inside one module).
- The decision is already covered by an existing ADR — extend or
supersede it instead of duplicating.
- A skill, rule, or guideline is the better home (use those skills).
Admission gate — classify before you create
Run this before picking a surface or a number. An ADR is warranted only
when the decision is architecturally significant on at least one axis:
- Hard or costly to reverse — a one-way door: public API shape, DB
schema, wire format, published identifier, migration.
- Broadly constraining — it binds work outside the module that made it.
- Crosses a governed surface — consumer contract, API, security or
privacy floor, package structure.
None of the three holds → it is not an ADR. Route it to its real home: a
decision note in agents/decisions/, a config value, a measurement record in
docs/CLAIMS.md, an experiment, or a roadmap item.
Explicitly not ADRs: a temporary numeric threshold · a benchmark value ·
a model mapping · one-off release sequencing · a reversible local
implementation detail.
The tree's own reference case. ADR-002 encodes 25 000 → 26 000 and a
4.0k override ceiling as architecture law (ADR-002:55, :62), and
ADR-114 then had to add another override while recording that 7 of 9 kernel
rules already carry them (ADR-114:74). The principle — a kernel budget
exists, is measured, and is capped — is the ADR. The numbers belong in a
versioned budget contract with a regression gate, so a recalibration stops
needing an architecture supersession.
Goal
- Sequential
ADR-NNN-<slug>.mdnumbering with no gaps. - Standard template: Status, Context, Decision, Consequences,
Alternatives, References.
- Regenerated index so readers find the ADR by topic, not by ls.
- Zero MCP-tool dependency — pure filesystem + TypeScript tooling (run via ./scripts-run).
Preconditions
- An ADR directory exists. Two layouts coexist (see