cmd-code-cleanup
CommunityPragmatic code cleanup and simplification.
AuthorOlshansk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the accumulation of dead code, duplication, and complexity in a codebase, leading to improved maintainability and reduced technical debt.
Core Features & Use Cases
- Systematic Dead Code Removal: Identifies and removes unused imports, functions, classes, and commented-out code.
- Duplication Reduction: Extracts common patterns repeated three or more times into reusable helper functions.
- Simplification: Removes premature abstractions and unnecessary indirection while preserving essential structure.
- Standardized Documentation: Ensures consistent TODO formats and cleans up comments.
- Use Case: Refactor a legacy Python project by systematically removing unused code and consolidating repetitive logic to make it easier to understand and extend.
Quick Start
Initiate a code cleanup process by following the defined five-phase approach.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cmd-code-cleanup Download link: https://github.com/Olshansk/agent-skills/archive/main.zip#cmd-code-cleanup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.