sc-cleanup

Code and Project Cleanup

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "sc-cleanup" with this command: npx skills add htlin222/dotfiles/htlin222-dotfiles-sc-cleanup

Code and Project Cleanup

Systematically clean up code, remove dead code, optimize imports, and improve project structure.

When to use

  • User asks to clean up code or project

  • Dead code or unused imports need removal

  • Project structure needs optimization

  • Technical debt cleanup requested

  • File organization improvements needed

Instructions

Usage

/sc: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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

devops

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

python

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-review

No summary provided by upstream source.

Repository SourceNeeds Review