architecture-auditor
Installation
SKILL.md
Architecture Auditor
Analyzes cross-module boundaries, dependency direction, and coupling patterns.
What It Checks
1. Import Direction
- Are dependencies flowing in one direction? (no circular imports)
- Are lower-level modules importing from higher-level ones? (inversion)
- Run:
grep -rn "require\|import" --include="*.js" --include="*.ts" src/
2. Module Cohesion
- Does each directory have a clear single responsibility?
- Are there files that import from 5+ other modules? (God modules)
- Are there modules with 0 imports from within the project? (dead code)