Creates new Architectural Decision Records (ADRs) for documenting specific architectural decisions, technology choices, patterns, or approaches. Use for requests like 'Create ADR for [topic]' or 'Document decision about [topic]' (140 characters).
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-software-architect:create-adrThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Creates structured ADRs following the framework's template.
Creates structured ADRs following the framework's template.
Ask if needed:
# Find highest ADR number
ls .architecture/decisions/adrs/ | grep -E "^ADR-[0-9]+" | sed 's/ADR-//' | sed 's/-.*//' | sort -n | tail -1
New ADR = next sequential number (e.g., if highest is 003, create 004)
Security: Sanitize user input to prevent path traversal and injection:
.., /, \, null bytes, control charactersFormat: ADR-XXX-kebab-case-title.md
Examples:
ADR-001-use-react-for-frontend.mdADR-002-choose-postgresql-database.mdValid input: "Use React for Frontend" → use-react-for-frontend
Invalid blocked: "../etc/passwd" → sanitized or rejected
.architecture/config.yml to check if pragmatic_mode is enabledUse the template from .architecture/templates/adr-template.md:
Core sections:
If pragmatic_mode is enabled: Add Pragmatic Enforcer Analysis section:
If deferrals enabled: Track deferred decisions in .architecture/deferrals.md
Write to: .architecture/decisions/adrs/ADR-XXX-title.md
Created ADR-XXX: [Title]
Location: .architecture/decisions/adrs/ADR-XXX-title.md
Status: [Status]
Key Points:
- Decision: [Summary]
- Main benefit: [Key benefit]
- Main trade-off: [Key trade-off]
Next Steps:
- [Immediate action 1]
- [Immediate action 2]
Do create for:
Don't create for:
Before Creating ADR:
After Creating ADR:
Workflow Examples:
npx claudepluginhub codenamev/ai-software-architect --plugin ai-software-architectGenerates Architectural Decision Records (ADRs) by detecting project template conventions, assigning sequential numbers, supporting MADR/Nygard/Alexandrian formats, and saving markdown files. Use for documenting technical decisions.
Records concise Architecture Decision Records (ADRs) capturing what was decided and why, for decisions that are hard to reverse, surprising without context, or involve real trade-offs.
Generates Architectural Decision Records (ADRs) in MADR, Nygard, Alexandrian, or project formats. Researches directory for conventions, gathers context, numbers sequentially, validates, and saves. Use for documenting technical decisions.