MustafaDorgham

Clean — Development skill for Claude Code

Development community

Clean up temporary files and build artifacts.

How to install Clean

Installs to ~/.claude/skills/mustafadorgham-agentic-slash-commands-clean/SKILL.md

Terminal
mkdir -p ~/.claude/skills/mustafadorgham-agentic-slash-commands-clean && curl -fsSL https://raw.githubusercontent.com/MustafaDorgham/agentic-slash-commands/HEAD/commands/clean.md -o ~/.claude/skills/mustafadorgham-agentic-slash-commands-clean/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Clean does


description: Clean up temporary files and build artifacts allowed-tools: Bash(rm), Bash(find), Bash(du), Bash(ls), Read(*package.json), Read(*.gitignore)

Clean up project files safely:

  1. Check .gitignore to identify safe-to-delete files
  2. Show what will be cleaned before deletion
  3. Clean common temporary files and directories:
    • node_modules (if package-lock.json exists)
    • dist/, build/, target/ directories
    • .cache, .temp, .tmp directories
    • Log files (*.log)
    • OS

Alternatives in Development

Full documentation available on GitHub

View Source Repository