Review project architecture, identify structural issues, and plan refactoring. Analyzes directory structure, module boundaries, dependencies, and code organization. Provides systematic approaches for cleanup, restructuring, and migration. Primary focus on TypeScript/JavaScript projects with patterns applicable to other languages. Use this skill when auditing codebases, planning refactors, or improving project organization.
View on GitHubsrstomp/pokayokay
pokayokay
January 23, 2026
Select agents to install to:
npx add-skill https://github.com/srstomp/pokayokay/blob/main/plugins/pokayokay/skills/architecture-review/SKILL.md -a claude-code --skill architecture-reviewInstallation paths:
.claude/skills/architecture-review/# Architecture Review Analyze, audit, and improve project structure. ## Review Process ``` ┌─────────────────────────────────────────────────────────────┐ │ ARCHITECTURE REVIEW │ ├─────────────────────────────────────────────────────────────┤ │ │ │ 1. DISCOVERY 2. ANALYSIS 3. PLANNING │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ Map structure│ → │ Identify │ → │ Prioritize │ │ │ │ List deps │ │ issues │ │ changes │ │ │ │ Trace flows │ │ Find smells │ │ Plan phases │ │ │ └─────────────┘ └─────────────┘ └─────────────┘ │ │ │ │ 4. EXECUTION 5. VALIDATION │ │ ┌─────────────┐ ┌─────────────┐ │ │ │ Incremental │ → │ Test │ │ │ │ refactoring │ │ Verify │ │ │ │ Safe moves │ │ Document │ │ │ └─────────────┘ └─────────────┘ │ │ │ └─────────────────────────────────────────────────────────────┘ ``` ## Quick Assessment Checklist ### Structure Health - [ ] Clear separation between layers (UI, business logic, data) - [ ] Consistent directory naming conventions - [ ] Logical grouping (by feature or by type) - [ ] Reasonable file sizes (<500 lines typical) - [ ] No deeply nested directories (>4 levels) ### Dependency Health - [ ] No circular dependencies - [ ] Clear dependency direction (UI → Logic → Data) - [ ] External dependencies isolated - [ ] Shared code properly extracted - [ ] No god modules everything imports ### Code Organization - [ ] Single responsibility per file/module - [ ] Related code colocated - [ ] Clear public API boundaries - [ ] Consistent export patterns -