code-organization
Installation
SKILL.md
Code Organization Fixes
Fixes for code structure and organization issues. Well-organized code is easier to understand, test, and maintain.
Quick Start
- Identify the organization issue (complexity, file size, nesting, barrel)
- Understand the current responsibilities
- Apply appropriate extraction/restructuring
- Verify with tests and imports
Priority Matrix
| Issue | Priority | Impact |
|---|---|---|
| High complexity | P1 | Hard to test, prone to bugs |
| Large files (>350 lines) | P2 | Hard to navigate |
| Deep nesting (>5 levels) | P3 | Hard to find files |
| Barrel file issues | P3 | Import path problems |