Templates
Structured MADR provides two templates to help you get started quickly. Both templates include all required frontmatter fields and body sections.
Full Template
Section titled “Full Template”The full template includes guidance text in each section, explaining what to write and how to structure the content. Use this template when you are new to Structured MADR or want reminders about what each section should contain.
File: templates/template.md
Frontmatter
Section titled “Frontmatter”---title: "{TITLE}"description: "{DESCRIPTION}"type: adrcategory: {CATEGORY}tags: - {tag}status: proposedcreated: {DATE}updated: {DATE}author: {AUTHOR}project: {PROJECT}technologies: - {technology}audience: - developersrelated: - {related_adr}---Sections Included
Section titled “Sections Included”The full template provides placeholder text and guidance for every section:
- Status — Current decision status
- Context — Background, problem statement, and current limitations
- Decision Drivers — Primary and secondary factors influencing the decision
- Considered Options — Each option with description, characteristics, advantages, disadvantages, and a three-dimension risk assessment (Technical, Schedule, Ecosystem)
- Decision — The chosen approach with implementation details
- Consequences — Categorized as positive, negative, and neutral
- Decision Outcome — Summary with mitigations for negative consequences
- Related Decisions — Links to related ADRs
- Links — External resources
- More Information — Date, source, references
- Audit — Compliance tracking with findings table
Risk Assessment Format
Section titled “Risk Assessment Format”Each considered option includes a structured risk assessment:
**Risk Assessment**:- **Technical Risk**: {Low|Medium|High}. {Explanation}- **Schedule Risk**: {Low|Medium|High}. {Explanation}- **Ecosystem Risk**: {Low|Medium|High}. {Explanation}Bare Template
Section titled “Bare Template”The bare template contains only the structural skeleton — section headings and empty fields — without guidance text. Use this template when you are comfortable with the format and want a clean starting point.
File: templates/template-bare.md
What Is Included
Section titled “What Is Included”- Empty YAML frontmatter with all required fields
- All section headings in the correct order
- Empty risk assessment structure for two options
- Empty audit findings table
What Is Omitted
Section titled “What Is Omitted”- Guidance text explaining each section
- Example values and placeholder descriptions
- Instructional comments
Downloading Templates
Section titled “Downloading Templates”Using curl
Section titled “Using curl”# Full templatecurl -O https://raw.githubusercontent.com/zircote/structured-madr/main/templates/template.md
# Bare templatecurl -O https://raw.githubusercontent.com/zircote/structured-madr/main/templates/template-bare.mdUsing wget
Section titled “Using wget”wget https://raw.githubusercontent.com/zircote/structured-madr/main/templates/template.mdwget https://raw.githubusercontent.com/zircote/structured-madr/main/templates/template-bare.mdRenaming for Your Project
Section titled “Renaming for Your Project”After downloading, rename the file to follow the ADR naming convention:
mv template.md docs/decisions/0001-your-decision-title.mdChoosing a Template
Section titled “Choosing a Template”| Scenario | Recommended Template |
|---|---|
| First time using Structured MADR | Full template |
| Experienced with the format | Bare template |
| Onboarding new team members | Full template |
| Rapid ADR creation | Bare template |
| Learning what each section means | Full template |