create-adr
Was er macht
Dieser Skill lässt die KI kurze, dauerhafte Berichte wichtiger technischer Entscheidungen schreiben, mit Kontext, Wahl und Folgen. Er richtet sich an Teams, die wollen, dass künftige Entwickler verstehen, warum Dinge so sind, wie sie sind.
Wann du ihn nutzt
- ✓Wenn eine wichtige technische Entscheidung getroffen wurde und festgehalten werden muss.
- ✓Wenn jemand fragt, warum das Team ein Werkzeug oder Muster gewählt hat, und die Antwort festgehalten werden soll.
- ✓Wenn du die Begründung einer früheren Wahl dauerhaft aufschreiben willst.
Link zum Skill
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(creation)/create-adr/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Schreib einen ADR, der festhält, warum wir für den Bestelldienst PostgreSQL statt MongoDB gewählt haben.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Die KI sammelt den Kontext und die Entscheidung, beschreibt die Folgen und schreibt ein knappes Dokument in einem festen Berichtsformat.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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)
Häufige Fragen
Ist ein ADR für Entscheidungen, die noch nicht getroffen sind?
Nein. Vorschläge, die noch diskutiert werden, nutzen ein anderes Dokument.
Wie lang ist ein ADR?
Er bleibt knapp, damit Menschen ihn Monate oder Jahre später schnell lesen können.
Ist er für Kleinigkeiten gedacht?
Nein. Einfache Konfigurations- oder kleine Code-Entscheidungen brauchen keinen.
Details
Originalbeschreibung des Autors
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.
Beliebtheit
- GitHub-Sterne
- 7.1k
- Platz im Ranking
- #13514
- Lizenz
- —
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
component-common-domain-detection
7.1kHilft deinem Agenten, Geschäftslogik zu finden, die in mehreren Teilen einer Codebasis wiederholt wird, und vorzuschlagen, wie sie zusammengeführt werden kann.
component-flattening-analysis
7.1kHilft deinem Agenten, falsch platzierten Code zu finden und verschachtelte Komponentenordner zu vereinfachen, damit jedes Teil dort liegt, wo es hingehört.
component-identification-sizing
7.1kHilft deinem Agenten, die Bausteine einer Codebasis zu kartieren und ihre Größe zu messen, um herauszufinden, welches Modul man zuerst aufteilen sollte.
coupling-analysis
7.1kHilft deinem Agenten zu prüfen, wie eng Teile einer Codebasis voneinander abhängen, und welche Verbindungen zuerst gelockert werden sollten.
Ähnliche Skills
technical-documentation
394kHilft deinem Agenten, klare technische Dokumentation und Agenten-Anleitungen zu schreiben und zu prüfen, damit Menschen und KI-Tools leicht folgen können.
architecture-decision-records
280kLässt deinen Agenten wichtige Entscheidungen zur Projektstruktur festhalten. So bleibt nachvollziehbar, warum etwas so gewählt wurde, und die Änderungen sind klar dokumentiert.
code-tour
280kLässt deinen Agenten Schritt-für-Schritt-Erklärungen des Codes mit genauen Datei- und Zeilenangaben erstellen. Nützlich für Einführungen, Erklärungen und Reviews.