Cleanup

From bradtraversy/devstash · View interactive version

Cleanup is an AI agent skill from the GitHub repository bradtraversy/devstash. Clean up project housekeeping tasks (add "run" to execute fixes)

How to use this skill

Skill file

Review the codebase for cleanup tasks:

  1. Make sure that the history in @context/current-feature.md is in order from oldest to newest
  2. Find unnecessary console.log statements in src/
  3. Find unused imports
  4. Check for stale TODO comments
  5. Find orphaned/unused files
  6. Check that context files match actual project state
  7. Check if the .env._production has the same variables (not always the same value) as the .env. If something is missing, tell me.
  8. Find @ts-ignore comments that might be stale

Mode: $ARGUMENTS

If no argument or argument is "check":

If the argument is "run" or "fix":

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.