Skip to content
Development
Command

/explain-architecture

Analyze and explain software architecture with ASCII diagrams and pattern detection. Creates visual representations of system design.

From plugin
fusengine-claude-plugins
3434 skills40 agents34 commands
$ npx -y skills add fusengine/claude-plugins --agent claude-code

Command definition

explain-architecture.md
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
Read more
@fusengine
Ships withfusengine-claude-plugins

A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.

34200 skills40 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
34
Star history of fusengine/agents on GitHub, a chart by star-history.com

Other commands on fusengine-claude-plugins.

apex

apex

Command

APEX Methodology - The systematic Analyze-Plan-Execute-eLicit-eXamine approach for intelligent development. Reduces hallucination…

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command