adr
Installation
SKILL.md
ADR
An ADR records a standing decision so the next session neither undoes it nor argues it again. The code is the source of truth for how things work; an ADR keeps only what was decided, why, and what was ruled out.
Where they live
docs/adr/, one file per decision, namedYYYY-MM-DD-<topic>.md. The topic is a short claim:the-clip-title-names-the-clip,postgres-full-text-search.- A repo of independent projects keeps them per project in
<project>/docs/adr/. Follow the repo'sAGENTS.md. - The project's
AGENTS.mdindexes them under## Decisions: one line per ADR, a short summary and the path. - Create
docs/adr/when writing the first one.
Before changing an area
Read the index in AGENTS.md, open every ADR that touches the area, and work within them. If the task conflicts with one, stop and tell the user which ADR and how before writing code. Never work around an ADR quietly.
When to write one
Write one whenever a real decision is made: a choice between viable approaches, a rejected alternative, or a constraint the next session would otherwise undo. Write it in the same change as the code. Skip choices with one obvious answer.