Architecture decision records workflow

Records the context, options and reasons behind each design decision as an ADR, searchable and reviewed on schedule.

#Claude Code#ADR#design decisions#decision log#skills
ADR management skill

WorkflowADR management skill

Design records Claude Code

A skill that keeps design decisions as ADRs (Architecture Decision Records) in the repository's docs/adr. Seven questions draw out the reasons, which are saved in four fields, searchable through an index, and surfaced again when their review date comes due.

Challenge

  • Six months later, when someone asks why this approach was chosen, the reasons agreed in conversation are nowhere to be found
  • When the assumptions change, nobody knows which decisions need another look

Approach

  • Seven questions, from "what was the problem" to "what change should make us reconsider", draw out the reasons, which are folded into four fields: Context, Decision, Consequences and Status
  • Writing and indexing are left to a script; the Markdown files are the source of truth and the database is just an index that can be rebuilt at any time

Outcome

  • "Why did we choose X?" is answered by searching the records, not by memory
  • Dated review conditions are picked up automatically, so decisions do not quietly go stale

A PRD answers what to build, a spec how it should behave, code how it is implemented. An ADR answers only one question: why this approach was chosen. Working with Claude Code, many design decisions are made in conversation, so their reasons are the information most easily lost.

In this skill Claude handles judgement and asking the questions, while a script handles writing the files and maintaining the index. When a decision changes, the old record is never edited; a new record supersedes it, and both sides note the link.

ADR management skill
Overview: roles, tasks, work products and the rework loop

Key points

Ask, don't make people write essays. The seven questions are asked two to four at a time as multiple-choice prompts, and anything that can be inferred from the conversation is pre-filled for confirmation. A decision with no accepted cost (no Negative consequence) is treated as one not yet thought through.

Supersede, never erase. There are only four states: Proposed, Accepted, Deprecated and Superseded. An old record is evidence of why the choice was made at the time, so it is never rewritten; a new ADR supersedes it and both records note the link.

Decide when to look again. Write "what change should make us reconsider" with a date, and the decision shows up in the list when that date arrives. Answers to multiple-choice prompts are also kept automatically as draft ADRs with the reason left blank, ready to be filled in later.