architecture-review
Conducts a comprehensive multi-perspective architecture review using ALL architecture team members. Use when the user requests…
Creates a NEW Architectural Decision Record (ADR) documenting a specific architectural decision. Use when the user requests "Create ADR for [topic]", "Document decision about [topic]", "Write ADR for [choice]", or when documenting technology choices, patterns, or architectural
Claude Code
$ npx -y skills add codenamev/ai-software-architect --skill create-adr --agent claude-code
Codex
$ npx skills add codenamev/ai-software-architect --skill create-adr -a codex -y
Cursor
$ npx skills add codenamev/ai-software-architect --skill create-adr -a cursor -y
Gemini CLI
$ npx skills add codenamev/ai-software-architect --skill create-adr -a gemini-cli -y
GitHub Copilot
$ npx skills add codenamev/ai-software-architect --skill create-adr -a github-copilot -y
OpenCode
$ npx skills add codenamev/ai-software-architect --skill create-adr -a opencode -y
Windsurf
$ npx skills add codenamev/ai-software-architect --skill create-adr -a windsurf -y
name: create-adr description: Creates a NEW Architectural Decision Record (ADR) documenting a specific architectural decision. Use when the user requests "Create ADR for [topic]", "Document decision about [topic]", "Write ADR for [choice]", or when documenting technology choices, patterns, or architectural approaches. Do NOT use for reviews (use architecture-review or specialist-review), checking existing ADRs (use architecture-status), or general documentation. allowed-tools: Read,Write,Glob,Grep,Bash(ls:*) disable-model-invocation: true
Creates structured ADRs following the framework's template.
Ask if needed:
Then read `.architecture/principles.md` if it exists. The decision is written against it in step 6.
# 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:
Format: `ADR-XXX-kebab-case-title.md`
Examples:
**Valid input**: "Use React for Frontend" → `use-react-for-frontend` **Invalid blocked**: "../etc/passwd" → sanitized or rejected
Use the template from `.architecture/templates/adr-template.md`:
**Core sections**:
**Principles check** (when `.architecture/principles.md` exists): name each recorded principle the decision upholds under Decision Drivers, and each one it conflicts with under Consequences → Negative. A decision that conflicts with a principle is still recordable; an unacknowledged conflict is not. If the point of the decision is to change or retire a principle, say so in the first sentence of Context and edit `.architecture/principles.md` in the same change, citing the ADR number next to the edited principle. The two files move together or not at all.
**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**: 1. Create ADR → Ask Security Specialist to review → Revise ADR 2. Architecture review → Create ADRs for key decisions → Status check
A markdown-based framework for implementing rigorous software architecture practices in any project, with specialized AI assistant integration. Introducing AI Software Architect 🚀 - Watch Video
Conducts a comprehensive multi-perspective architecture review using ALL architecture team members. Use when the user requests…
Reports on the health and state of architecture documentation (counts of ADRs, reviews, activity levels, documentation gaps). Use…
Displays the roster of architecture team members with their specialties and expertise areas. Use when the user asks "Who's on the…
Enables and configures Pragmatic Guard Mode (YAGNI Enforcement) to prevent over-engineering. Use when the user requests "Enable…
Sets up and installs the AI Software Architect framework in a NEW project for the FIRST time. Use when the user requests "Setup…
Conducts a focused review from ONE specific specialist's perspective (e.g., Security Specialist, Performance Expert). Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.