From primadata-enhanced-toolkit
Identify and explain architectural patterns, design patterns, and structural decisions found in the codebase. This helps understand the "why" behind code organization and design choices.
npx claudepluginhub Primadetaautomation/primadata-marketplace --plugin primadata-enhanced-toolkitarchitecture/# Explain Architecture Pattern Identify and explain architectural patterns, design patterns, and structural decisions found in the codebase. This helps understand the "why" behind code organization and design choices. ## Usage Examples ### Basic Usage "Explain the architecture pattern used in this project" "What design patterns are implemented in the auth module?" "Analyze the folder structure and explain the architecture" ### Specific Pattern Analysis "Is this using MVC, MVP, or MVVM?" "Explain the microservices architecture here" "What's the event-driven pattern in this code?" "How is...
/arch-reviewAnalyzes project architecture optionally scoped to paths, changes, or PRs, identifies issues, and generates a markdown improvement plan in /reports.
/discover-patternsAnalyzes specified codebase path or scope to discover patterns, anti-patterns, code smells, and refactoring opportunities, producing a catalog and roadmap.
/reviewLaunches Codex agent for software architecture analysis and research: evaluates designs, explores patterns/best practices, delivers options, trade-offs, and recommendations.
/architecture-reviewReviews and improves system architecture: analyzes high-level structure, design patterns, dependencies, data flow, scalability, security, testing, and suggests enhancements.
Share bugs, ideas, or general feedback.
Identify and explain architectural patterns, design patterns, and structural decisions found in the codebase. This helps understand the "why" behind code organization and design choices.
"Explain the architecture pattern used in this project" "What design patterns are implemented in the auth module?" "Analyze the folder structure and explain the architecture"
"Is this using MVC, MVP, or MVVM?" "Explain the microservices architecture here" "What's the event-driven pattern in this code?" "How is the repository pattern implemented?"
When explaining architecture patterns:
Structure the explanation as:
## Architecture Pattern Analysis
### Overview
Brief description of the overall architecture identified
### Primary Patterns Identified
#### 1. [Pattern Name]
**What it is**: Brief explanation
**Where it's used**: Specific locations in codebase
**Why it's used**: Benefits in this context
**Example**:
```language
// Code example showing the pattern
Diagram:
┌─────────────┐ ┌─────────────┐
│ Component │────▶│ Service │
└─────────────┘ └─────────────┘
src/
├── controllers/ # MVC Controllers
├── models/ # Data models
├── views/ # View templates
└── services/ # Business logic
Remember to:
- Use clear, accessible language
- Provide context for technical decisions
- Show concrete examples from the actual code
- Explain benefits and trade-offs objectively