ln-626-dead-code-auditor

Audit dead code and legacy patterns across JavaScript/TypeScript and Python codebases.

534|73|Updated Oct 24, 2025
One-click install
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-626-dead-code-auditor
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ln-626-dead-code-auditor
Source: https://github.com/levnikolaevich/claude-code-skills/tree/main/ln-626-dead-code-auditor
Command: npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-626-dead-code-auditor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Dead code auditor identifies unreachable code, unused imports/variables, and legacy shims.

Core Features & Use Cases

  • Detect unreachable code and dead branches
  • Flag unused imports/variables/functions
  • Identify legacy compatibility shims

Quick Start

Run dead code audit on the repository to generate findings.

Frequently Asked Questions about ln-626-dead-code-auditor

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

FAQPage Schema
How do I find and remove dead code from my JavaScript or Python codebase?▼

Dead code audit scans your repository to identify unreachable code, unused imports, variables, and functions across JavaScript, TypeScript, and Python. It generates a structured report with findings categorized by severity and a compliance score to guide cleanup priorities.

What counts as dead code that this audit will detect?▼

The audit flags unreachable code branches, unused imports and variable declarations, orphaned functions, dead conditional blocks, and legacy compatibility shims. It applies pattern matching and linting across your codebase to surface these issues systematically.

Can I audit dead code across multiple programming languages at once?▼

Yes. The dead code auditor works within the ln-620 coordinator pipeline and supports JavaScript, TypeScript, Python, and other languages, applying consistent detection rules across your entire codebase in a single run.

What output do I get after running a dead code audit?▼

The audit generates a JSON report containing detected findings organized by category, high/medium/low severity counts, a total compliance score based on penalties, and remediation guidance for each issue.

How does dead code impact code quality and maintenance?▼

Dead code increases cognitive load, complicates refactoring, and obscures actual execution paths. Identifying and removing it reduces technical debt, improves readability, and lowers the cost of future changes.