dead-code-audit

Identify dead code across multi-language repositories and generate prioritized cleanup reports.

3|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/anthril/official-claude-plugins --skill dead-code-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dead-code-audit
Source: https://github.com/anthril/official-claude-plugins/tree/main/plugins/software-development/skills/dead-code-audit
Command: npx skills add https://github.com/anthril/official-claude-plugins --skill dead-code-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Audit a codebase to identify dead code, unreachable paths, orphaned assets, and broken references, enabling safer refactoring and leaner deployments.

Core Features & Use Cases

  • Detects unused exports, imports, and files across multiple languages and monorepos.
  • Generates a confidence-scored report with prioritized cleanup actions and a JSON sidecar for tooling.
  • Helps reduce bundle size and technical debt while preserving public API surfaces.

Quick Start

Run the audit on your repository to generate a comprehensive, confidence-scored report with actionable cleanup recommendations.

Frequently Asked Questions about dead-code-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify dead code and unused exports across a multi-language monorepo?

Run a static analysis audit to detect dead code, unreachable paths, and orphaned assets across your multi-language repository. It generates a confidence-scored report and a JSON sidecar to enable safe, human-reviewed cleanup actions.

What is the best way to find orphaned assets and broken references for code cleanup?

Contextualize static analysis findings across code, assets, and infrastructure to detect orphaned assets and broken references. This delivers a prioritized action list suitable for remediation planning and safer refactoring.

Does dead code detection work with monorepos and multiple programming languages?

Yes, dead code detection works with monorepos and multiple languages by identifying unused files and exports across the entire codebase. It preserves public API surfaces while helping reduce bundle size and technical debt.

How do I generate a prioritized cleanup plan from static analysis findings?

Generate a prioritized cleanup plan by running an audit that produces a structured JSON sidecar and an action list. This output enables remediation planning by highlighting safe cleanup opportunities with confidence scores.

When should I not use automated dead code removal during refactoring?

Avoid automated dead code removal when public API surfaces must be preserved, as the audit is designed for safe, human-reviewed cleanup. Always validate confidence scores and contextual findings before deleting unreachable paths.