dead-code-cleanup
CommunitySafely remove unused code.
Authorkubrickcode
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps maintain a clean and efficient codebase by identifying and removing dead, deprecated, or unused code, preventing technical debt accumulation.
Core Features & Use Cases
- Unused Export Detection: Finds functions, classes, or variables that are exported but never imported or used.
- Deprecated Code Identification: Flags code marked with
@deprecatedor similar comments that is no longer recommended for use. - Orphaned File Removal: Locates files that are not imported or referenced anywhere in the project.
- Use Case: After a major refactor, use this Skill to automatically find and suggest removal of all the old, now-unused code that was replaced, ensuring the codebase remains lean.
Quick Start
Run the dead-code-cleanup skill to analyze the entire codebase for unused code.
Dependency Matrix
Required Modules
npm:globnpm:grepnpm:bash
Components
scripts
💻 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-cleanup Download link: https://github.com/kubrickcode/specvital/archive/main.zip#dead-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.