Prompt Template
Claude Architecture Doc Prompt Use Case
Software architects and tech leads who need to produce thorough architecture decision records (ADRs), system design docs, and technical specifications.
Example Output
## Architecture: Microservices E-Commerce Platform
### System Overview
- API Gateway (Kong) routes to 12 microservices
- Event bus (Kafka) for async communication
- Service mesh (Istio) for observability
### Component: Order Service
- Responsibility: Order lifecycle management
- Database: PostgreSQL with read replicas
- Dependencies: Inventory Service, Payment Service
### Data Flow
1. Client -> API Gateway -> Order Service
2. Order Service -> Kafka (order.created event)
3. Inventory Service consumes event, reserves stock
### ADR-004: Chose Kafka over RabbitMQ
- Rationale: Better replay capabilities, higher throughput for order events