What problem does it solve?
This skill helps teams organize codebases by enforcing clear folder structures and colocated components, reducing confusion and onboarding time.
Core Features & Use Cases
- Feature-based organization: group related features under src/features with components, hooks, and tests colocated.
- Layer-based organization: separate by technical layers like controllers, services, models, routes, middleware.
- Monorepo guidance: structure apps/ and packages/ to support multiple platforms while sharing utilities and types.
- Naming conventions: consistent file names and folder names to improve discoverability.
Quick Start
Start by choosing an organization approach (feature-based, layer-based, or monorepo) and create top-level directories accordingly. Place related files next to each other (colocation) and keep tests beside source files. Document the chosen structure in a README so the team follows it consistently.