clean-react-file-organization
Installation
SKILL.md
Clean File Organization
Organize files by dependency ownership. Keep private dependencies inside the owner that uses them, and move shared dependencies only as high as their nearest shared owner.
R11: Owner Folders
Give a React owner a folder when it has private dependencies.
A/
A.tsx
hooks.ts
B/
B.tsx
C.tsx
In this structure: