generate-adr
Create, update, review, reject, deprecate, or supersede source-backed Architecture Decision Records (ADRs), compare viable options, and connect decisions to use cases, ADDs, C4 views, risks, complianc
SKILL.mdskills/generate-adr/SKILL.md
GitHubGenerate ADR
Workflow
- Read
AGENTS.md, existing decisions, linked use cases/ADDs/C4 views, supplied evidence, and relevant code. - Determine whether to create, update, review, reject, deprecate, or supersede an ADR.
- For a new record, select the next unused
ADR-NNNunderarchitecture/decisions/and copy assets/adr-template.md. - Apply references/adr-quality.md. Compare viable options using the same decision drivers; do not invent weak alternatives.
- Record the decision, positive and negative consequences, risks, compliance effects, follow-ups, and reciprocal artifact links.
- Use
Proposeduntil an authoritative decision source supports another state. - Treat accepted ADR content as immutable history. Create a new ADR to change the decision and update reciprocal supersession links.
- Save as
architecture/decisions/ADR-NNN-<slug>.mdunless an established layout exists.
Rules
- Keep one primary, independently changeable decision per ADR.
- Phrase the title as the decision outcome.
- Never claim approval without evidence.
- Use
To classifyrather than inferring personal/health-data or AI-risk classification. - Exclude personal/health records, credentials, secrets, connection strings, and sensitive endpoints.
- Update affected target-state C4/ADD artifacts after acceptance; proposed decisions may be shown only as proposals.
- When asked to review code, use
$review-architecture-conformanceand report deviations without rewriting accepted history.
Output
Return path, lifecycle action/status, selected option, unresolved questions, evidence/approval gaps, affected artifacts, and required follow-ups.