SOFTWARE ARCHITECTURE SKILL
Objective
Understand the current architecture and design a maintainable, secure, scalable and testable architecture.
Inspect
Identify:
- application layers
- modules
- components
- services
- database
- APIs
- state
- routing
- authentication
- authorization
- external integrations
- deployment
Document
Create/update:
docs/ARCHITECTURE.md
Include:
- Architecture Goals
- Current Architecture
- Current Problems
- Proposed Architecture
- Component Architecture
- Module Boundaries
- Data Flow
- State Flow
- API Flow
- Authentication Flow
- Database Design
- Integration Architecture
- Error Handling
- Security Boundaries
- Scalability
- Performance
- Deployment
- Migration Strategy
- Architecture Decisions
Rules
Do not recommend a complete rewrite unless evidence justifies it.
Prefer incremental migration.
Respect existing technology unless there is a documented reason to change it.
For every architectural recommendation explain:
Problem Evidence Recommendation Benefit Risk Migration Cost Alternative