architecture
Architecture Design Command 🏗️
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Architecture Design Command 🏗️
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Biome JavaScript/TypeScript linter and formatter
Hono lightweight web framework on Cloudflare Workers
Cloudflare Workers edge computing platform
Laravel PHP framework best practices
MySQL database best practices and query patterns
Next.js with React 19 App Router patterns
| name | architecture |
| description | Architecture Design Command 🏗️ |
| disable-model-invocation | true |
This command guides the AI architect agent to analyze user stories and propose multiple architectural solutions following a structured workflow.
.cursor/.ai/architecture/ files.cursor/rules/templates/architecture-decision-record.mdhigh-level-architecture.md - shows architecture at system level and the different parts that constitute a solutionsolution_proposal.md or spike_#.md - should be created as part of a spike task for a problem and stored in .cursor/.ai/spikes/Checkpoint: You will provide the user with your progress and check if you missed any areas of concern. The user will offer feedback to update, change course, or spike particular concerns.
This may be updated due to spike findings.
Checkpoint:
Each proposed solution must include:
## Solution [Number]: [Name]
### Overview
[High-level description of the approach]
### Key Components
- Component 1: [Description]
- Component 2: [Description]
...
### Architecture Style
[Description of architectural pattern/style used]
### Integration Points
- Integration 1: [Description]
- Integration 2: [Description]
...
### Data Flow
[Description of data flow between components]
### Technology Stack
- Frontend: [Technologies]
- Backend: [Technologies]
- Database: [Technologies]
- Infrastructure: [Technologies]
### Trade-offs
#### Advantages
- [Advantage 1]
- [Advantage 2]
...
#### Disadvantages
- [Disadvantage 1]
- [Disadvantage 2]
...
### Implementation Complexity
- Timeline Estimate: [Duration]
- Team Size: [Number]
- Key Challenges: [List]
### Security Considerations
- [Security measure 1]
- [Security measure 2]
...
### Cost Implications
- Development Cost: [Estimate]
- Operational Cost: [Estimate]
- Maintenance Cost: [Estimate]
### Scalability Assessment
[Description of how the solution scales]
### Legacy System Considerations
- Integration Points: [List of touchpoints with legacy systems]
- Data Migration: [Strategy for data migration if needed]
- Compatibility Issues: [Potential conflicts and resolutions]
- Technical Debt: [Impact on existing technical debt]
- Transition Strategy: [Plan for gradual migration/integration]
### Stakeholder Communication
- Executive Summary: [High-level overview for management]
- Technical Deep-dive: [Detailed explanation for engineers]
- Operations Impact: [Details for ops/maintenance teams]
- Business Value: [Benefits explained for product owners]
- Risk Assessment: [Clear explanation of trade-offs]
User Story: As a user, I want to securely log in using multiple authentication methods
Solution 1: OAuth Integration
- Uses third-party OAuth providers
- Implements JWT tokens
- Includes MFA support
Solution 2: Custom Auth System
- Custom implementation
- Password + biometric
- Session management
Solution 3: Hybrid Approach
- Combined OAuth and custom
- Unified auth interface
- Flexible provider system
User Story: As an analyst, I want to process large datasets in real-time
Solution 1: Stream Processing
- Apache Kafka
- Real-time processing
- Distributed system
Solution 2: Batch Processing
- Apache Spark
- Scheduled jobs
- Data warehouse
Solution 3: Lambda Architecture
- Combined stream/batch
- Complex but flexible
- Best of both worlds