π―
cleanup
π―SkillInstallation
$
npx skills add nicolasestrem/antigravity-gemini-skills --skill cleanupRun it in a terminal; it asks which AI coding tools to install it for (Claude Code, Codex, Cursor and more).
Uses skills.sh Β· Node.js 22.20+
After installing
Ask for related work and the agent uses it on its own, or call it yourself.
Run it (Claude Code)
/cleanupInstall by hand
Copy the whole skill folder from GitHub to the place below. Copying only SKILL.md can leave out files the skill uses.
Open the skill folder β- This project
.claude/skills/cleanup/ - All projects
~/.claude/skills/cleanup/
These paths are for Claude Code. For other tools, the command above puts it in the right place.
SKILL.md
View on GitHub βClean up code, remove dead code, and optimize project structure
Cleanup
/cleanup - Code and Project Cleanup
Purpose
Systematically clean up code, remove dead code, optimize imports, and improve project structure.
Usage
/cleanup [target] [--type code|imports|files|all] [--safe|--aggressive]
Arguments
target- Files, directories, or entire project to clean--type- Cleanup type (code, imports, files, all)--safe- Conservative cleanup (default)--aggressive- More thorough cleanup with higher risk--dry-run- Preview changes without applying them
Execution
- Analyze target for cleanup opportunities
- Identify dead code, unused imports, and redundant files
- Create cleanup plan with risk assessment
- Execute cleanup operations with appropriate safety measures
- Validate changes and report cleanup results
Claude Code Integration
- Uses Glob for systematic file discovery
- Leverages Grep for dead code detection
- Applies MultiEdit for batch cleanup operations
- Maintains backup and rollback capabilities
More from this repository10
π―π―π―π―π―π―π―π―π―π―
fullstack-developerπ―Skill
Skill
backend-developerπ―Skill
Skill
ui-ux-designerπ―Skill
Skill
ui-designerπ―Skill
Skill
brainstormπ―Skill
Skill
frontend-developerπ―Skill
Skill
build-engineerπ―Skill
Skill
python-proπ―Skill
Skill
prompt-engineerπ―Skill
Skill
knowledge-synthesizerπ―Skill
Skill