dead-code-cleaner

Community

Clean up your codebase.

AuthorGreenmamba29
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the accumulation of technical debt by identifying and removing unused code, imports, and feature flags, leading to a cleaner and more maintainable codebase.

Core Features & Use Cases

  • Unused Code Detection: Scans for and identifies functions, variables, and imports that are no longer referenced.
  • Stale Feature Flag Removal: Detects hardcoded feature flags that are no longer active.
  • Automated PR Creation: Generates a pull request with all identified safe removals, grouped by file.
  • Use Case: Regularly run this skill on your main development branch to keep the codebase lean and prevent the build-up of dead code that can confuse developers and increase build times.

Quick Start

Scan my repository for dead code and open a pull request with the suggested removals.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-cleaner
Download link: https://github.com/Greenmamba29/skillsdotmd_web/archive/main.zip#dead-code-cleaner

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.