adr
Installation
SKILL.md
Activation Contract
Use this skill to record an architecturally or design-significant decision, create an ADR, or extract decisions already made from a conversation, PR, diff, or module-design brief. Do not use it for trivial, reversible, or purely local code choices.
Hard Rules
- One decision per ADR; never bundle unrelated choices.
- Every ADR carries frontmatter:
title,status,date,authors(seeassets/adr-template.md). Addsupersedes/superseded-byonly when relevant. - Context, considered options, and justification are mandatory; a record without rationale is invalid.
- Append-only: NEVER edit an accepted ADR. Create a new record that supersedes it and link both.
- ALWAYS validate the written record with
python3 assets/validate_adr.py --file <adr>and fix everyERROR, then report (pass--allow-placeholdersonly for a repo-local template). - ALWAYS ask the destination before writing (
docs/decisions/,docs/adr/, Confluence, Jira, or inline) unless the repo convention is unambiguous. - Write in the destination's language; keep records concise, assertive, and factual.