create-adr
What it does
This skill has the AI write short, lasting records of significant technical decisions, covering the context, the choice and its consequences. It is for teams who want future engineers to understand why things are the way they are.
When to use it
- βWhen a significant technical decision has been made and needs recording.
- βWhen someone asks why the team chose a tool or pattern and the answer should be saved.
- βWhen you want the reasoning behind a past choice written down permanently.
Skill link
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(creation)/create-adr/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βWrite an ADR recording why we chose PostgreSQL over MongoDB for the orders service.β
5 new skills a week. 1 minute to read.
How it works
The AI gathers the context and the decision, describes the consequences, and writes a concise document in a standard record format.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
ADR Creator
You are an expert in creating Architecture Decision Records (ADRs) β concise, durable documents that capture the context, decision, and consequences of significant architectural choices so future team members understand why things are the way they are.
When to Use This Skill
Use this skill when:
- User asks to "write an ADR", "create an ADR", "add an architecture decision record"
- User wants to "document why we chose X", "record this decision", "capture this architectural choice"
- A significant technical decision has been made (or is being finalized) and needs to be recorded
- The team wants to preserve the reasoning behind a choice for future engineers
- User asks "why did we choose X" and the answer should be written down permanently
Do NOT use for:
- Decisions not yet made β use
create-rfcto drive the decision process first - Implementation planning after the decision β use
technical-design-doc-creator - Simple configuration choices or trivial code decisions
- Meeting notes or general documentation
ADR vs RFC β Critical Distinction
| Aspect | ADR | RFC |
|---|---|---|
| Timing | Decision already made (or being finalized) | Before the decision (seeking input) |
| Purpose | Record for future team members | Proposal seeking approval |
| Audience | Engineers joining months or years later | Current stakeholders |
| Length | Short β 200β500 words | Long β thorough comparison |
| Mutability | Immutable β superseded, never edited | Iterative β evolves during review |
| Tone | Historical record | Deliberative proposal |
If the user says "I need to decide whether to do X" β use create-rfc.
If the user says "We decided to do X, let me document it" β use this skill.
Language Adaptation
CRITICAL: Always generate the ADR in the same language as the user's request. Detect the language automatically.
- Keep technical terms in English when appropriate (e.g., "ADR", "API", "microservices")
- All section headers and content should be in the user's language
- Company/product names remain in original form
ADR Format Selection
Three formats are widely used. Detect the right one from context, or ask:
| Format | Best For | Length |
|---|---|---|
| MADR (Markdown ADR) | Teams that want structured options comparison | Medium |
| Nygard (original) | Minimal, fast recording; obvious decisions | Short |
| Y-Statement | Inline documentation, very compact contexts | One paragraph |
Default to MADR unless the user specifies otherwise or the decision is very simple.
Interactive Workflow
Step 1: Gather Context (if not provided)
If the user provides minimal context, use AskQuestion to collect essential information:
{
"title": "ADR Information",
"questions": [
{
"id": "adr_decision",
"prompt": "What was the decision made? (e.g., 'Use PostgreSQL for primary storage')",
"options": [
{ "id": "free_text", "label": "I'll describe it in my next message" }
]
},
{
"id": "adr_format",
"prompt": "Which ADR format would you like to use?",
"options": [
{ "id": "madr", "label": "MADR β structured, with options comparison (recommended)" },
{ "id": "nygard", "label": "Nygard β minimal: Context / Decision / Consequences" },
{ "id": "y_statement", "label": "Y-Statement β single paragraph, very compact" }
]
},
{
"id": "adr_status",
"prompt": "What is the current status of this decision?",
"options": [
{ "id": "accepted", "label": "Accepted β decision is final" },
{ "id": "proposed", "label": "Proposed β decision is being finalized" },
{ "id": "deprecated", "label": "Deprecated β this approach is no longer recommended" },
{ "id": "superseded", "label": "Superseded β replaced by a newer decision" }
]
},
{
"id": "adr_supersedes",
"prompt": "Does this ADR supersede a previous decision?",
"options": [
{ "id": "yes", "label": "Yes β I'll provide the ADR number/title" },
{ "id": "no", "label": "No β this is a new decision" }
]
}
]
}
Step 2: Validate Mandatory Fields
MANDATORY fields β ask if missing:
- Decision title (noun phrase, not a question β e.g., "Use Redis for session storage")
- Date of the decision (or today's date)
- Status (Accepted / Proposed / Deprecated / Superseded)
FAQ
Is an ADR for decisions not yet made?
No. Proposals still under discussion use a different document.
How long is an ADR?
It is kept concise so people can read it quickly months or years later.
Is it for trivial choices?
No. Simple configuration or small code decisions do not need one.
Details
Original description by the author
Creates Architecture Decision Records (ADRs) to document significant architectural choices and their rationale for future team members. Use when the user says "write an ADR", "document this decision", "record why we chose X", "add an architecture decision record", "create an ADR for", or wants to capture the reasoning behind a technical choice so the team understands it later. Do NOT use when the decision hasn't been made yet (use create-rfc instead), for implementation planning (use technical-design-doc-creator), or for general documentation.
Popularity
- GitHub stars
- 7.1k
- Ranking position
- #13514
- License
- β
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
component-common-domain-detection
7.1kHelps your agent find business logic that is repeated across several parts of a codebase and suggests how to combine it.
component-flattening-analysis
7.1kHelps your agent find misplaced code and flatten messy component folder structures, so each piece sits where it belongs.
component-identification-sizing
7.1kHelps your agent map the parts of a codebase and measure their size, to find which module to split first.
coupling-analysis
7.1kHelps your agent check how tightly parts of a codebase depend on each other, and which connections to loosen first.
Similar skills
technical-documentation
394kHelps your agent write and review clear technical docs and agent instruction files, so people and AI tools can follow them easily.
architecture-decision-records
280kHas your agent record important project structure decisions. It helps to understand the reasoning behind choices and maintain a clear history of changes.
code-tour
280kLets your agent create step-by-step code walkthroughs with exact file and line references. Useful for intros, explanations, and reviews.