arch-analyzelisted
Install: claude install-skill dagonet/claude-code-toolkit
# Architecture Analysis Skill
Comprehensive analysis of .NET solution architecture, dependencies, and patterns.
## When to Use
This skill auto-activates when:
- User asks about architecture or solution structure
- User wants to understand project dependencies
- User mentions "architecture", "layers", or "dependency graph"
- User asks about Clean Architecture, Onion, or other patterns
## Workflow
1. **Locate solution**
- If path provided, use it
- Otherwise, call `map_dotnet_structure(root)` to find .sln files
2. **Gather structural data** (in parallel)
- Call `analyze_project_references(solution_or_dir)`
- Call `check_framework_compatibility(solution_or_dir)`
- Call `nuget_dependency_tree(project_or_sln, include_transitive=true)`
3. **Identify architecture pattern**
Detect which pattern is used:
- **Clean Architecture**: Core/Domain → Application → Infrastructure → Presentation
- **Onion Architecture**: Domain → Services → Infrastructure → UI
- **N-Tier**: Data → Business → Presentation
- **Vertical Slices**: Feature folders with all layers
- **Modular Monolith**: Independent modules with shared kernel
4. **Analyze layers**
```
## Architecture Overview
### Pattern Detected: [Clean Architecture]
### Layer Analysis
| Layer | Projects | Dependencies |
|-------|----------|--------------|
| Domain | Project.Domain | (none - innermost) |
| Application | Project.Application | Domain |
| Infrastructure | Project.In