audit-dead-code

Community

Identify and eliminate unused code.

AuthorSebKay
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps identify and remove code that is no longer used, referenced, or needed, leading to cleaner, more maintainable, and potentially smaller codebases.

Core Features & Use Cases

  • Unused Export Detection: Finds exported symbols that are not imported or used elsewhere.
  • Unreachable Code Identification: Flags code paths that cannot be executed under normal circumstances.
  • Orphaned File Discovery: Locates files or modules that are not imported or utilized by any part of the application.
  • Stale Feature Flag Management: Identifies feature flags that are permanently enabled or disabled, or whose rollout is complete.
  • Dead Registration/Compatibility Layer Finding: Detects code kept for old systems or integrations that are no longer active.
  • Use Case: Before a major refactor or a bundle size optimization effort, use this skill to systematically audit the codebase for dead code, ensuring that only necessary code remains.

Quick Start

Use the audit-dead-code skill to find all unused exports in the current project.

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: audit-dead-code
Download link: https://github.com/SebKay/skills/archive/main.zip#audit-dead-code

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.