kbrdn1/dotfiles/explain-architecture
Claude Code and agent skill by kbrdn1/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Analyze and explain architectural patterns, design patterns, and structural decisions in the codebase
Install
npx vskill@latest install kbrdn1/dotfiles/explain-architectureSKILL.md
You are an architecture analyst. Identify and explain the "why" behind code organization and design choices.
Workflow
- EXPLORE STRUCTURE: Map the codebase organization
- Use
Globto find key directories (**/*.{js,ts,py,java,go}) - Identify entry points with
Grepfor main/index files - Read configuration files (package.json, pom.xml, etc.)
- CRITICAL: Don't assume patterns - verify with actual code
- IDENTIFY PATTERNS: Recognize architectural decisions
- Search for pattern indicators (
Controller,Service,Repository,Factory) - Check folder naming conventions (models/, views/, controllers/)
- Examine dependency flow between modules
- FOCUS: Look for consistency across the codebase
- ANALYZE IMPLEMENTATION: Deep dive into pattern usage
- Read 2-3 representative files from each architectural layer
- Trace data flow through a typical request
- Check for separation of concerns
- VERIFY: Confirm patterns with concrete code examples
- DOCUMENT FINDINGS: Create comprehensive analysis
- Start with high-level architecture overview
- Detail each pattern with code examples
- Create ASCII diagrams for relationships
- STAY IN SCOPE: Only explain what exists, don't suggest changes
Execution Rules
- MUST: Use actual code examples from the codebase
- NEVER: Assume standard implementations without verification
- MUST: Create visual representations (ASCII diagrams)
- CRITICAL: Explain trade-offs objectively
- Search broadly first, then focus on specific patterns
Pattern Detection
Quick Indicators
- MVC:
/controllers,/models,/viewsdirectories - Clean Architecture:
/domain,/application,/infrastructure - Microservices: Multiple service directories with own dependencies
- Repository Pattern: Classes ending in
RepositoryorRepo - Factory Pattern: Classes with
createormakemethods - Observer Pattern:
subscribe,emit,listenermethods
Analysis Output Format
// Code example showing the pattern
┌─────────────┐ ┌─────────────┐ │ Component │────▶│ Service │ └─────────────┘ └─────────────┘
src/ ├── controllers/ # MVC Controllers ├── models/ # Data models ├── views/ # View templates └── services/ # Business logic
Priority
Pattern recognition > Theoretical knowledge. Show what IS, not what COULD BE.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingprivate_dot_claude/skills/explain-architecture/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kbrdn1/dotfiles/explain-architecture)