ENG

/adr

MADR-lite Architecture Decision Record — context, drivers, options, decision, consequences. Cross-links SPEC + TDD.

Hat Stage Upstream gate Output Cited from
Eng Engineering SPEC exists (may be draft) OR standalone engineering/outputs/adrs/ADR-NNN-<slug>.md SPEC §11 Dependencies → ADRs, TDD §Decisions

When to Use

Prerequisites

Protocol

  1. Pick ADR number — scan engineering/outputs/adrs/ADR-*.md, max + 1, three-digit pad.
  2. Pick slug — kebab-case, 3–6 words, decision-oriented (use-postgres-for-audit-log not database).
  3. Identify drivers — 3–5 forces. Include concrete thresholds where possible (e.g. p99 < 50ms).
  4. Enumerate at least 2 options. One-option ADRs are refused — force alternatives or justify absence.
  5. Write engineering/outputs/adrs/ADR-{NNN}-{slug}.md with Context, Decision drivers, Options considered (≥2, each with Pros / Cons / Cost), Decision (+ why), Consequences (positive, negative, follow-ups), References.
  6. Cross-link SPEC §11 and TDD §Decisions. If upstream approved, print diff only — do not mutate.
  7. Update EPIC-PIPELINE.md under epic’s ### ADRs section.

Output Frontmatter

id: ADR-{NNN}
title: {decision-oriented title}
status: draft
created: {today}
owner: {gh-user}
epic: {EPIC_ID or "cross-cutting"}
related_spec: {SPEC-NNN or "—"}
supersedes: {ADR-NNN or "—"}
superseded_by: 

Do Not

Source

skills/adr/SKILL.md