| name | cleanup |
| description | Clean up project housekeeping tasks (add "run" to execute fixes) |
| argument-hint | run|check |
Review the codebase for cleanup tasks:
- Make sure that the history in @context/current-feature.md is in order from oldest to newest
- Find unnecessary console.log statements in src/
- Find unused imports
- Check for stale TODO comments
- Find orphaned/unused files
- Check that context files match actual project state
- Check if the .env.production has the same variables (not always the same value) as the .env. If something is missing, tell me.
- Find
@ts-ignore comments that might be stale
Mode: $ARGUMENTS
If no argument or argument is "check":
- Only report findings, don't modify anything
- List what WOULD be cleaned up
If the argument is "run" or "fix":
- First, report all findings with numbered items
- Then ask: "Which items would you like me to fix? (enter numbers like 1,3,5 or 'all' or 'none')"
- Wait for user response before making any changes
- Only fix the items the user specifies
- Report what you changed