architecture-review
30
总安装量
30
周安装量
#6916
全站排名
安装命令
npx skills add https://github.com/srstomp/pokayokay --skill architecture-review
Agent 安装分布
claude-code
26
opencode
25
gemini-cli
20
cursor
20
antigravity
18
codex
18
Skill 文档
Architecture Review
Analyze, audit, and improve project structure.
Key Principles
- Measure before changing â Map structure and identify concrete issues before proposing changes
- Clear boundaries â Layers (UI, logic, data) separated with consistent dependency direction
- Colocation â Related code together; easy to find, change, and delete features
- Incremental migration â Refactor in phases, validate each step with tests
Quick Assessment
- No circular dependencies
- Consistent directory naming and grouping (by feature or by type)
- Single responsibility per file/module, reasonable file sizes (<500 lines)
- External dependencies isolated, shared code properly extracted
- New developers can navigate and find code for any feature easily
Quick Start Checklist
- Map current structure: directory tree, dependency graph, module boundaries
- Identify issues: circular deps, god modules, leaky abstractions, deep nesting
- Classify severity: critical (blocks dev), high (maintenance burden), medium/low (friction)
- Propose target structure with migration plan
- Execute incrementally, validating with tests after each move
References
| Reference | Description |
|---|---|
| analysis-techniques.md | Dependency graphs, complexity metrics, code analysis |
| refactoring-patterns.md | Safe refactoring techniques, migration strategies |
| structural-patterns.md | Directory structures for different project types |
| dependency-management.md | Circular deps, coupling, module boundaries |
| cleanup-strategies.md | Dead code removal, consolidation, naming conventions |
| anti-rationalization.md | Iron Law, common rationalizations, red flag STOP list for architecture discipline |