Adr template

From woditschka/agentic-coding-reference · View interactive version

Adr template is an AI agent skill from the GitHub repository woditschka/agentic-coding-reference. Architecture Decision Record format, naming conventions, and when to create ADRs. Load when making or documenting architectural decisions.

How to use this skill

Skill file

When to Create an ADR

Create an ADR when a decision constrains future slices or reverses a recorded one:

Supersede or amend only a published ADR, one that has reached the remote's default branch. An ADR still in unpushed or unmerged history has no reader a supersession would protect. A later decision of the same feature edits it in place, and the feature ships one ADR per decision.

Do not create an ADR for a choice with no trade-off, or for one a single slice contains. That rationale is one clause on the current-state line in docs/system-design.md. ADRs are the project's decision log for people; agents execute from the current-state docs and read an ADR by back-link.

What an ADR Owns

An ADR owns:

It does not own:

Template, Guidelines, and Index

See docs/adr/README.md for the ADR template, naming convention (YYYY-MM-DD-title-in-kebab-case.md), guidelines, and index table. The filename pattern and the README's presence are harness-project API requirements; the doctor skill enforces them deterministically. The decision log itself is project-owned: harness upgrades never write here.

ADR prose follows the writing standards in the CODE0 skill — the same discipline as every other project document.

Non-Goal ADRs

A non-goal ADR captures a product decision not to build something — distinct from an architectural ADR that records a how decision. Two conventions apply:

  1. Filename: YYYY-MM-DD-non-goal-<slug>.md (the non-goal- infix is load-bearing — it scopes write access).
  2. Implementation section: use **Non-goal:** NG-X instead of **Requirements:** REQ-XX-NNN.

Ownership. Non-goal ADRs may be authored by product-requirements-expert (the agent's write scope explicitly includes docs/adr/*-non-goal-*.md). All other ADRs are owned by system-design-expert.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.