Write an Architecture Decision Record
Workflow for documenting an architectural decision
CLAUDE.md
When documenting an architectural decision:
- Title: a short noun phrase describing the decision. “Use PostgreSQL for the event store.”
- Status: Proposed, Accepted, Deprecated, or Superseded.
- Context: what is the situation that motivates this decision? What constraints exist?
- Decision: state the decision clearly in one or two sentences.
- Alternatives considered: what other options were evaluated and why were they rejected?
- Consequences: what are the positive and negative results of this decision? What becomes easier or harder?
- Keep it brief — one page maximum. ADRs are for recording decisions, not justifying them at length.
Copy this workflow into your CLAUDE.md or agent config file so your agent follows this process automatically.