/composure:code-organizerPRORestructures disorganized projects into conventional layouts. Detects file types, maps to appropriate directories, executes moves with import updates.
Restructure a disorganized project into a clean, framework-conventional layout. Detects what each file is (component, hook, service, utility) and moves it to the right directory with import path updates. Generic — works on any project, not Composure-template-specific.
$ /composure:code-organizer --dry-run Detected: Next.js App Router (15.2) Proposed moves: 47 files src/utils/* → src/lib/* (12 files) src/components/forms/* → src/components/ui/forms/* (8 files) src/hooks/api/* → src/hooks/query/* (14 files) Run without --dry-run to execute with import-path rewrites.
Framework-aware restructuring with auto-updated import paths.