unused-code-refactor-suggester
CommunityFind and remove dead code.
AuthorHMWKR
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers clean up their codebase by identifying and suggesting the removal of functions, classes, and definitions that are no longer used within their own files, reducing clutter and potential maintenance overhead.
Core Features & Use Cases
- File-scoped Unused Code Detection: Scans individual source files to pinpoint definitions without internal references.
- Refactoring Recommendations: Generates clear suggestions to delete or keep identified items, along with concise reasons and risk assessments.
- Use Case: After a large refactor, you suspect some helper functions are no longer called. Run this Skill on your
src/utils/directory to get a report of functions that can likely be removed, saving you from maintaining dead code.
Quick Start
Scan the 'src/components' directory for any unused code within each file and generate a refactoring report.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: unused-code-refactor-suggester Download link: https://github.com/HMWKR/dotclaude/archive/main.zip#unused-code-refactor-suggester 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.