baocin

Cleanup — Development skill for Claude Code

Development community

@include shared/constants.yml#Process_Symbols.

How to install Cleanup

Installs to ~/.claude/skills/baocin-claude-code-config-cleanup/SKILL.md

Terminal
mkdir -p ~/.claude/skills/baocin-claude-code-config-cleanup && curl -fsSL https://raw.githubusercontent.com/baocin/claude-code-config/HEAD/commands/cleanup.md -o ~/.claude/skills/baocin-claude-code-config-cleanup/SKILL.md

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

What Cleanup does

@include shared/constants.yml#Process_Symbols

@include shared/command-templates.yml#Universal_Flags

Clean up project artifacts, code & cfg specified in $ARGUMENTS.

--code flag:

  • Remove unused imports & dead code | Clean console.log & debug code
  • Remove commented blocks | Fix style inconsistencies | Remove TODO>30 days

--files flag:

  • Remove build artifacts & temp files | Clean node_modules if corrupted
  • Remove logs & cache dirs | Clean test outputs | Remove OS files (.DS_Store, thumbs.db)

Alternatives in Development

Full documentation available on GitHub

View Source Repository