dead-code-sweep
CommunityEliminate code cruft and bloat.
Software Engineering#refactoring#technical debt#code audit#dead code#code cleanup#codebase maintenance
Authorpetekp
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill systematically identifies and helps remove dead code, redundant implementations, and orphaned artifacts from codebases, especially those that have undergone multiple agent-driven refactors.
Core Features & Use Cases
- Orphaned File Detection: Finds files that are no longer referenced by any part of the codebase.
- Unused Export Identification: Locates exported functions, classes, or types that are never imported.
- Redundancy Analysis: Detects multiple implementations of the same logic.
- Use Case: After a series of automated refactors, your codebase has grown bloated with old functions and unused imports. This skill will scan your project, report on all identified dead code, and guide you through its safe removal.
Quick Start
Use the dead-code-sweep skill to find and report on all dead code in the current project.
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: dead-code-sweep Download link: https://github.com/petekp/claude-code-setup/archive/main.zip#dead-code-sweep 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.