What problem does it solve?
Manually hunting for unused, obsolete, or unreachable code across a codebase is time-consuming, error-prone, and often leads to bloated projects with unnecessary technical debt and higher maintenance costs.
Core Features & Use Cases
- Multi-Language Static & Dynamic Analysis: Detects unused imports, functions, classes, variables, commented-out code blocks, and unreachable code paths across Python, JavaScript, TypeScript, and other common programming languages.
- Severity-Based Prioritization: Categorizes findings by risk level, flags uncertain items for manual review, and identifies safe-to-delete candidates to minimize cleanup risk.
- Actionable Reporting: Generates structured markdown reports with code snippets, line numbers, removal recommendations, and automated cleanup script templates to streamline technical debt reduction.
- Use Case: Before a major refactoring or production deployment, run this skill to get a full inventory of dead code, prioritize low-risk cleanup tasks, and reduce bloat without breaking existing functionality.
Quick Start
Use the dead-code skill to analyze your project's codebase and generate a full dead code report with prioritized cleanup recommendations.