A markdown-based framework for implementing rigorous software architecture practices in any project, with specialized AI assistant integration.
This framework provides a structured approach to:
- Architecture Documentation - Templates and processes for documenting architectural decisions
- Architecture Reviews - A multi-perspective review process with specialized reviewers
- Architecture Recalibration - Process for translating reviews into concrete implementation plans
- Progress Tracking - Tools for monitoring the implementation of architectural changes
- AI Integration - Seamless collaboration with AI coding assistants
For detailed usage instructions, see USAGE.md.
Choose the installation method for your AI assistant:
If you're using Claude Code, follow the detailed setup instructions in USAGE-WITH-CLAUDE.md.
Quick Setup:
Setup architecture using: https://github.com/codenamev/ai-software-architect
Claude Code will automatically detect the framework, customize it for your project, and set up the proper CLAUDE.md integration.
If you're using Cursor, follow the detailed setup instructions in USAGE-WITH-CURSOR.md.
Quick Setup:
Setup architecture using @https://github.com/codenamev/ai-software-architect
Cursor will clone the framework and configure the Rule files in .cursor/rules/
for seamless integration.
If you're using GitHub Copilot or OpenAI Codex, follow the detailed setup instructions in USAGE-WITH-CODEX.md.
Quick Setup:
Setup architecture using: https://github.com/codenamev/ai-software-architect
The framework will be configured with context files that GitHub Copilot and Codex can automatically understand.
After installation, start using the framework:
- Create architecture decisions: "Help me create an ADR for our new authentication system"
- Start architecture reviews: "Start an architecture review for version 2.0.0"
- Get specialist opinions: "Ask Security Architect to review this API design"
See USAGE.md for detailed workflow instructions.
.architecture/
├── decisions/
│ ├── adrs/ # Architectural Decision Records
│ └── principles.md # Architectural principles document
├── reviews/ # Architecture review documents
├── recalibration/ # Recalibration plans and tracking
├── comparisons/ # Version-to-version comparisons
├── docs/ # General architecture documentation
├── templates/ # Templates for various documents
└── members.yml # Architecture review team members
This framework is designed to work seamlessly with AI assistants. Each assistant has specialized instructions in the .coding-assistants
directory.
For general usage instructions, see USAGE.md.
For Claude Code users, see USAGE-WITH-CLAUDE.md for detailed instructions. Key capabilities include:
- Setup & Customization: "Setup .architecture", "Customize architecture"
- Reviews: "Start architecture review for version X.Y.Z" or "Review architecture for 'component'"
- Specialized Reviews: "Ask Security Architect to review these code changes"
- Recalibration: "Start architecture recalibration for 'feature name'"
- ADR Creation: "Create an ADR for 'topic'"
Claude can dynamically create new specialist roles if they don't exist in your members.yml
file.
For Cursor users, see USAGE-WITH-CURSOR.md for detailed instructions. Key capabilities include:
- Setup & Customization: "Setup ai-software-architect", "Setup architecture"
- Architecture Reviews: "Review this architecture using the AI Software Architect framework"
- Specialized Reviews: "Analyze this from a security perspective using AI Software Architect"
- Documentation Creation: "Create an ADR for this decision using the AI Software Architect format"
Cursor uses .mdc rule files in the .coding-assistants/cursor
directory to understand the framework.
For GitHub Copilot and OpenAI Codex users, see USAGE-WITH-CODEX.md for detailed instructions. Key features include:
- Natural Language Commands: Uses context-based recognition - no need to mention the framework explicitly
- Architecture Reviews: "Review this architecture", "What are the security implications?"
- ADR Creation: "Create an ADR for our database choice"
- Code Generation: Generate code that follows established architectural patterns and ADRs
- Inline Guidance: Get architectural suggestions directly in your IDE
Examples of natural commands:
- "What are the architectural implications of this change?"
- "Review this database schema for performance"
- "Create an ADR for our microservices approach"
Support for additional AI assistants can be added by creating appropriate configuration files in the .coding-assistants
directory following the established patterns.
The framework incorporates wisdom from influential software architects including Martin Fowler, Sandi Metz, Robert C. Martin, Eric Evans, Sarah Mei, and others. These principles are embedded in the architectural documentation.
Architecture reviews consider multiple specialized perspectives:
- Systems Architecture
- Domain Expertise
- Security
- Performance
- Maintainability
- AI Engineering
- And dynamically created specialists as needed
The framework now supports:
- Version-based reviews and recalibration (e.g., for v2.1.0)
- Feature-based reviews and recalibration (e.g., for "payment processing")
- Component-specific reviews (e.g., for "authentication system")
MIT