What problem does it solve?
Deciding where to create, move, or split TypeScript and JavaScript files creates cognitive overhead and inconsistent codebases. This Skill applies a deterministic fractal tree file-structuring methodology so every file has an obvious, predictable location.
Core Features & Use Cases
- Fractal Tree Rules: Enforces kebab-case naming, bans index files, treats each file as a named mini-library, and splits outgrown files into private same-named subtrees.
- Shared Resource Placement: Places shared helpers, hooks, and components in the nearest applicable
shared/ folder based on current consumers, not speculative reuse.
- Import Boundaries: Keeps private subtrees private, mandates relative imports within a workspace, and co-locates unit tests next to the files they cover.
- Use Case: When a React component file grows too large, split its private panels and helpers into a same-named folder while keeping the root file as the public API boundary.
Quick Start
Ask the AI to decide where a new TypeScript file should go or to reorganize an oversized file using the fractal file-structuring rules.