adr-create
Skill0 starsChanged 9 months agoMITView on GitHub
Automates creating Architecture Decision Records (ADRs). Use when the user wants to document an architectural decision, says "create ADR", "document decision", or when making significant design choices that need formal documentation.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- TheurgicDuke771/DataQtheir own version, first seen Nov 8, 2026
- faparicior/sdlc-skillstheir own version, first seen Oct 20, 2026
- maurigre/mgr-methodtheir own version, first seen Jul 15, 2026
- jpoindexter/theft-kittheir own version, first seen May 20, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- faparicior/sdlc-skills★ 2same name
- maurigre/mgr-method★ 2same name
- jpoindexter/theft-kit★ 1same name
- TheurgicDuke771/DataQ★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- dev-log-rotateSkill
- discovery-startSkill
- gather-insightSkill
- git-commitSkill
- init-projectSkill
- insight-captureSkill
- jira-startSkill
- review-implementationSkill
- session-endSkill
- session-listSkill
- session-startSkill
- team-stream-startSkill
- work-stream-startSkill
- worktree-endSkill
- worktree-listSkill
- worktree-removeSkill
- worktree-startSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 15 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Read .claude/project-config.md if it exists
- Distinctive: line 30
Use default path listed above
- Very specific: line 35
Use Glob to find all ADR files: [decisions-path]/*.md (from config)
- Very specific: line 36
If folder doesn't exist, create it and start with 001
- Distinctive: line 44
Ask user for key information using AskUserQuestion:
- Distinctive: line 66
Create ADR file with this structure:
- Distinctive: line 184
Use information from user questions to populate:
- Distinctive: line 187
If user provided brief context, ask for more details
- Distinctive: line 200
Decision: Use the chosen option from Step 2
- Distinctive: line 225
Ask user if unclear:
- Very specific: line 234
Ensure [decisions-path] directory exists (from config)
- Very specific: line 235
Write ADR to [decisions-path]/[NNN]-[title].md
- Very specific: line 295
If no ADRs exist: Start with 001
- Distinctive: line 296
If Glob fails: Ask user: "What ADR number should this be?"
- Distinctive: line 301
Don't proceed with incomplete information
- Very specific: line 304
Check if [NNN]-*.md exists
- Distinctive: line 312
Ask: "Save partial ADR as draft or discard?"
- Distinctive: line 313
If save: Add "Status: Draft" and note incomplete sections
- Distinctive: line 317
Before finalizing ADR, verify:
- Distinctive: line 318
All required sections present (Context, Options, Decision, Consequences)
- Distinctive: line 329
Keep ADRs focused on "why" not "how" (implementation details go elsewhere)
- Distinctive: line 332
If decision was already implemented, still create ADR (captures rationale)
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ADR Create Skill
Automates the creation of Architecture Decision Records (ADRs) with proper structure and sequential numbering.
When to Use
Activate this skill when:
- User says "create ADR", "write ADR", or "document decision"
- User says "we need to document this decision"
- Making significant architectural choices (component design, framework patterns, state management)
- User asks "should we create an ADR for this?"
- About to start multi-session work that changes architecture
Instructions
Step 0: Read Project Config
- Read
.claude/project-config.mdif it exists - Parse
## Documentation Pathssection to get:- Decisions path (default:
docs/decisions/)
- Decisions path (default:
If no config exists:
- Use default path listed above
- Continue with skill execution
Step 1: Determine Next ADR Number
- Use Glob to find all ADR files:
[decisions-path]/*.md(from config) - If folder doesn't exist, create it and start with
001 - Extract numbers from filenames (format:
NNN-description.md) - Find highest number
- Next ADR number = highest + 1 (zero-padded to 3 digits)
- Example: If
015-container-entity-pattern.mdexists, next is016
Step 2: Gather Decision Context
Ask user for key information using AskUserQuestion:
Question 1: "What is the main problem or decision?"
- Get 1-3 sentence description
- Focus on WHAT needs to be decided, not how
Question 2: "What are the main options being considered?"
- Get 2-4 options (can be brief, will expand later)
- Example: "Option A: Component-based, Option B: Service-based, Option C: Hybrid"
Question 3: "Which option did you choose (or want to choose)?"
- Identify the selected approach
- This becomes the "Decision" section
Step 3: Create ADR Filename
- Convert decision title to kebab-case
- Format:
NNN-kebab-case-title.md - Example: "Container Entity Pattern" ->
016-container-entity-pattern.md
Step 4: Generate ADR Content
Create ADR file with this structure:
# ADR [NNN]: [Decision Title]
**Date**: [YYYY-MM-DD]
**Status**: [Accepted/Proposed/Deprecated]
**Decision Makers**: [User name or "Development Team"]
## Context
[1-3 paragraphs explaining the problem]
What situation led to this decision?
- Background on the system
- What's not working or what needs improvement
- Why this decision is necessary now
## Decision Drivers
[Key factors influencing the decision]
- Driver 1 (e.g., "Need for code reusability")
- Driver 2 (e.g., "Performance requirements")
- Driver 3 (e.g., "Maintainability concerns")
## Options Considered
### Option 1: [Name]
**Description**: [How this approach works]
**Pros**:
- Pro 1
- Pro 2
**Cons**:
- Con 1
- Con 2
### Option 2: [Name]
**Description**: [How this approach works]
**Pros**:
- Pro 1
- Pro 2
**Cons**:
- Con 1
- Con 2
### Option 3: [Name] (if applicable)
[Same structure as above]
## Decision
**We will: [Chosen approach in one sentence]**
[2-4 paragraphs explaining the decision in detail]
Why this option was chosen:
- Reason 1 (maps to decision driver)
- Reason 2
- Reason 3
Key aspects of the implementation:
- How it will work
- What components/systems are involved
- High-level architecture
## Consequences
### Positive
- Benefit 1
- Benefit 2
- Benefit 3
### Negative
- Trade-off 1
- Trade-off 2
### Neutral
- Note 1 (things to be aware of)
- Note 2
## Implementation Notes
[Optional section - technical details, migration steps, or references]
- How to implement this decision
- What needs to change in the codebase
- Migration strategy (if refactoring existing code)
- References to related ADRs or documentation
## Related Decisions
[Optional section - links to related ADRs]
- Related to ADR XXX: [Title]
- Supersedes ADR YYY: [Title]
- Influenced by ADR ZZZ: [Title]
## References
[Optional section - external links, documentation]
- [Link to relevant documentation]
- [Link to discussion or issue]
- [Link to example implementation]Step 5: Populate ADR Sections
Use information from user questions to populate:
- Context: Expand on the problem description
- If user provided brief context, ask for more details
- Explain current state vs desired state
- Decision Drivers: Infer from context or ask:
What factors are most important for this decision? Examples: performance, maintainability, reusability, simplicity - Options Considered: Expand the options from Step 2
- For each option, ask or infer pros/cons
- Be objective (even for non-chosen options)
- Decision: Use the chosen option from Step 2
- Expand with rationale
- Connect to decision drivers
- Consequences: Ask user:
What are the consequences of this decision? - Positive outcomes? - Trade-offs or limitations? - Things to be aware of? - Implementation Notes (optional): Ask:
Any specific implementation notes or migration steps needed? (Can be filled in later if unknown)
Step 6: Set ADR Status
Determine status based on context:
- Proposed: Decision is being considered (not yet implemented)
- Accepted: Decision is made and implementation started/complete
- Deprecated: Decision was replaced by newer ADR
Ask user if unclear:
ADR Status?
1. Proposed (considering this approach)
2. Accepted (decision made, implementing or done)Step 7: Create ADR File
- Ensure
[decisions-path]directory exists (from config) - Write ADR to
[decisions-path]/[NNN]-[title].md - Confirm creation:
ADR [NNN] created: [Title] Location: [decisions-path]/[NNN]-[title].md Summary: - Problem: [brief] - Decision: [chosen option] - Status: [status]
Step 8: Suggest Next Steps
Based on the ADR content, suggest appropriate next actions:
ADR created! Consider these next steps:
- Create a work stream if this requires multi-session implementation
- Update architecture documentation to reference this ADR
- Start implementation if this is a small changeExamples
Example 1: Simple ADR
User: "Let's create an ADR for the authentication pattern"
Skill Actions:
- Finds latest ADR:
015-data-model.md - Next ADR:
016 - Asks questions:
- Problem: "How to handle user authentication"
- Options: "JWT tokens, Session cookies, OAuth"
- Chosen: "JWT tokens"
- Creates ADR at
[decisions-path]/016-authentication-pattern.md - Populates all sections based on user input
- Sets status to "Accepted"
- Confirms: "ADR 016 created!"
Example 2: ADR from Active Discussion
User: "Create ADR - we discussed using microservices vs monolith"
Skill Actions:
- Next ADR:
017 - Asks for details:
- "What's the main problem?" -> User explains scaling concerns
- "What options?" -> User: "Microservices, Monolith, Modular monolith"
- "Which chosen?" -> User: "Modular monolith for now"
- Creates ADR with status: "Accepted"
- In "Implementation Notes": References to architectural docs
- Confirms: "ADR 017 created"
Error Handling
If ADR number cannot be determined:
- If no ADRs exist: Start with
001 - If Glob fails: Ask user: "What ADR number should this be?"
If user provides insufficient context:
- Ask follow-up questions
- Provide examples: "For context: What problem does this solve? What's not working?"
- Don't proceed with incomplete information
If ADR file already exists:
- Check if
[NNN]-*.mdexists - Warn: "ADR [NNN] already exists. Use next number [NNN+1] instead?"
If decisions folder doesn't exist:
- Create it:
mkdir -p [decisions-path] - Continue with ADR creation
If user cancels mid-creation:
- Ask: "Save partial ADR as draft or discard?"
- If save: Add "Status: Draft" and note incomplete sections
Quality Checks
Before finalizing ADR, verify:
- All required sections present (Context, Options, Decision, Consequences)
- At least 2 options were considered (shows thoughtful decision)
- Consequences include both positive and negative
- Decision maps back to decision drivers
- Filename follows convention:
NNN-kebab-case.md - Status is set appropriately
Notes
- ADRs are permanent records - even bad decisions get documented
- Deprecated ADRs stay in docs (show evolution of thinking)
- Keep ADRs focused on "why" not "how" (implementation details go elsewhere)
- Link ADRs to each other when decisions relate (builds decision history)
- ADR creation is lightweight - don't overthink it (better to document than not)
- If decision was already implemented, still create ADR (captures rationale)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

