What problem does it solve?
This skill helps maintain code quality in Laravel Raptor Vue/TS projects by identifying and correcting naming inconsistencies (PT-BR/English), pruning obsolete files not imported anywhere, detecting duplicate or similar components sharing bases or composables, and consolidating inline or duplicate TypeScript types into centralized resources. It also ensures a safe workflow by always creating a separate branch before changes and presenting before/after rename diffs for user approval.
Core Features & Use Cases
- Detect mixed PT-BR/English names in Vue/TS components and rename to English PascalCase across resources/js.
- Identify obsolete files that are not imported anywhere in the codebase, with safe exceptions for inertia/vite typings.
- Flag duplicate or similar components that could share a base or composable, suggesting refactors to Base{Name} components or use of composables.
- Consolidate inline or duplicate TypeScript types into resources/js/types/, with imports updated across files.
- Provide a transparent, item-by-item approval workflow before applying changes, including before/after rename diffs and an option to edit suggestions.
Quick Start
Follow the step-by-step plan to run a non-destructive cleanup workflow, review reports for each phase, and approve item-by-item changes before executing them.