/explain-architecture
Analyze and explain software architecture with ASCII diagrams and pattern detection. Creates visual representations of system design.
$ npx -y skills add fusengine/agents --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/explain-architecture
Context preview
What this command does when you run it.
Analyze and explain software architecture with ASCII diagrams and pattern detection. Creates visual representations of system design.
Command definition
explain-architecture.mddescription: Analyze and explain software architecture with ASCII diagrams and pattern detection. Creates visual representations of system design.
Explain Architecture
Analyze and visualize system architecture:
1. **Use Explore Agent**: > Use explore-codebase to map the complete system structure
2. **Identify Patterns**:
- **Architectural Style**: (Monolith/Microservices/Serverless/JAMstack)
- **Design Patterns**: (MVC/MVVM/Repository/Factory/Observer/etc.)
- **Data Flow**: (Unidirectional/Bidirectional/Event-driven)
- **Communication**: (REST/GraphQL/gRPC/WebSockets)
3. **Map Components**:
- Entry points
- Controllers/Routes
- Services/Business logic
- Data layer
- External integrations
4. **Generate ASCII Diagrams**:
┌─────────────────────────────────────────┐
│ CLIENT (Browser) │
└────────────┬────────────────────────────┘
│ HTTP/REST
┌────────────▼────────────────────────────┐
│ API Gateway/Router │
├─────────────────────────────────────────┤
│ ┌───────────┐ ┌────────┐ ┌────────┐ │
│ │Controller │ │Service │ │ Model │ │
│ └─────┬─────┘ └───┬────┘ └───┬────┘ │
└────────┼───────────┼──────────┼────────┘
│ │ │
┌────────▼───────────▼──────────▼────────┐
│ Database (PostgreSQL) │
└─────────────────────────────────────────┘5. **Document Flow**:
### Request Flow
1. Client → API Gateway → Auth Middleware
2. Route → Controller → Service Layer
3. Service → Repository → Database
4. Response ← Transform ← Validate ← Data
6. **Create Architecture Report**:
## 🏗️ Architecture: [Project Name]
### Overview
**Style**: [Architecture type]
**Patterns**: [Detected patterns]
**Tech Stack**: [Technologies]
### System Diagram
[ASCII diagram]
### Component Breakdown
#### Presentation Layer
- [Components]
#### Business Logic Layer
- [Services]
#### Data Layer
- [Models/Repositories]
### Data Flow
[Flow description with diagram]
### Dependencies
- External: [APIs, services]
- Internal: [Module relationships]
### Strengths
- ✅ [Good architectural decision 1]
### Areas for Improvement
- ⚠️ [Architectural concern 1]
**Arguments**:
- $ARGUMENTS focuses on specific subsystem
**Example Usage**:
- `/explain-architecture auth` → Focus on auth subsystem
- `/explain-architecture` → Complete system architecture
Read more
description: Analyze and explain software architecture with ASCII diagrams and pattern detection. Creates visual representations of system design.
Explain Architecture
Analyze and visualize system architecture:
1. **Use Explore Agent**: > Use explore-codebase to map the complete system structure
2. **Identify Patterns**:
- **Architectural Style**: (Monolith/Microservices/Serverless/JAMstack)
- **Design Patterns**: (MVC/MVVM/Repository/Factory/Observer/etc.)
- **Data Flow**: (Unidirectional/Bidirectional/Event-driven)
- **Communication**: (REST/GraphQL/gRPC/WebSockets)
3. **Map Components**:
- Entry points
- Controllers/Routes
- Services/Business logic
- Data layer
- External integrations
4. **Generate ASCII Diagrams**:
┌─────────────────────────────────────────┐
│ CLIENT (Browser) │
└────────────┬────────────────────────────┘
│ HTTP/REST
┌────────────▼────────────────────────────┐
│ API Gateway/Router │
├─────────────────────────────────────────┤
│ ┌───────────┐ ┌────────┐ ┌────────┐ │
│ │Controller │ │Service │ │ Model │ │
│ └─────┬─────┘ └───┬────┘ └───┬────┘ │
└────────┼───────────┼──────────┼────────┘
│ │ │
┌────────▼───────────▼──────────▼────────┐
│ Database (PostgreSQL) │
└─────────────────────────────────────────┘5. **Document Flow**:
### Request Flow 1. Client → API Gateway → Auth Middleware 2. Route → Controller → Service Layer 3. Service → Repository → Database 4. Response ← Transform ← Validate ← Data
6. **Create Architecture Report**:
## 🏗️ Architecture: [Project Name] ### Overview **Style**: [Architecture type] **Patterns**: [Detected patterns] **Tech Stack**: [Technologies] ### System Diagram [ASCII diagram] ### Component Breakdown #### Presentation Layer - [Components] #### Business Logic Layer - [Services] #### Data Layer - [Models/Repositories] ### Data Flow [Flow description with diagram] ### Dependencies - External: [APIs, services] - Internal: [Module relationships] ### Strengths - ✅ [Good architectural decision 1] ### Areas for Improvement - ⚠️ [Architectural concern 1]
**Arguments**:
- $ARGUMENTS focuses on specific subsystem
**Example Usage**:
- `/explain-architecture auth` → Focus on auth subsystem
- `/explain-architecture` → Complete system architecture
A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.
Repo: fusengine/agents
Other commands on fusengine-agents.
- /apex-quick
Quick Flow for simple fixes - Single expert handles explore, code, review, and validate in one pass. Inspired by BMAD Barry.
Open command - /apex
APEX Methodology - The systematic Analyze-Plan-Execute-eLicit-eXamine approach for intelligent development. Reduces hallucination and defect risk through mandatory parallel research, self-review, and validation gates.
Open command - /cleanup-context
Memory optimization - removes duplicates, consolidates knowledge, and cleans memory banks for better performance.
Open command - /create-pull-request
Auto-generate Pull Request with comprehensive description, test plan, and changelog. Uses gh CLI for creation.
Open command - /deep-code-analysis
Comprehensive codebase investigation using research-expert for documentation, explore-codebase for structure, and deep analysis. Perfect for understanding complex systems.
Open command - /epct
Systematic Explore-Plan-Code-Test methodology for structured development. Ensures comprehensive approach to feature implementation.
Open command

