name: adr-drafter description: Draft a new ExStruct ADR or propose an update to an existing ADR from an issue, PR, diff, tests, and specs. Use when an ADR is required or recommended and you need a structured draft with context, decision, consequences, and evidence.
ADR Drafter
Draft a policy record, not an implementation memo.
Read
dev-docs/agents/adr-governance.mddev-docs/agents/adr-criteria.mddev-docs/agents/adr-workflow.mddev-docs/adr/template.md- Related ADRs under
dev-docs/adr/
Workflow
- Confirm whether the target is a new ADR or an update to an existing ADR.
- Read the issue, diff, relevant specs, tests, and implementation files.
- Extract:
- policy-level context
- chosen decision
- positive and negative consequences
- concrete evidence from
tests,code, andrelated specs
- Produce one of these outputs:
- a new ADR draft
- an update proposal for an existing ADR
ADR not neededwith rationale
Draft Rules
- Keep
whyin the ADR and leave detailedhowin code or specs. - Fill
Tests,Code, andRelated specswhenever possible. - If the policy replaces an old one, state the supersede relation explicitly.
- If evidence is missing, say so instead of inventing support.