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).
npx claudepluginhub codenamev/ai-software-architect --plugin ai-software-architectThis skill is limited to using the following tools:
Creates structured ADRs following the framework's template.
Generates 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.
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.
Interactively create an architecture decision record (ADR). Use when the user wants to document an architectural decision, technology choice, or significant design decision. Guides through context gathering, options analysis, and consequence documentation.
Share bugs, ideas, or general feedback.
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: