Smart File Structure Organizer
When to Trigger
- •Creating new features
- •User says "create new module", "add feature"
- •Project initialization
What to Do
Propose or create structure following project conventions, e.g.:
code
src/ ├── app/ │ ├── (auth)/ login, register │ ├── (dashboard)/ [feature] │ └── api/ [resource]/ [id]/ ├── components/ │ ├── ui/ │ ├── features/ │ └── layouts/ ├── lib/ │ ├── services/ │ ├── utils/ │ ├── hooks/ │ └── types/ ├── config/ └── tests/ unit, integration, e2e
Auto-create where appropriate: README per feature, index.ts for exports, types.ts, constants.ts. Align with existing .cursorrules and docs (e.g. docs/ structure).