dead-code

Detect unused functions and dead code via static analysis.

3.9k|296|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill dead-code-parcadei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dead-code
Source: https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/dead-code
Command: npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill dead-code-parcadei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers identify and remove dead code and unused functions from their codebase, leading to cleaner, more maintainable, and efficient software.

Core Features & Use Cases

  • Static Analysis: Utilizes TLDR static analysis to detect unreachable code.
  • Function Identification: Pinpoints functions that are defined but never called.
  • Language Agnostic: Supports multiple programming languages like Python and TypeScript.
  • Customizable Entry Points: Allows specification of functions that should be considered entry points and thus not flagged as dead.
  • Use Case: Before a major refactor, run this skill to get a clear picture of all the code that can be safely removed, reducing technical debt.

Quick Start

Scan the entire project for dead code.

Frequently Asked Questions about dead-code

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

FAQPage Schema
How do I find unused functions in my codebase before refactoring?

To find unused functions, you can run static analysis to detect unreachable code and functions that are defined but never called, providing a clear picture of code that can be safely removed before a refactor.

Does dead code detection work with both Python and TypeScript?

Yes, dead code detection is language agnostic and supports multiple programming languages, including Python and TypeScript, allowing you to scan various projects for unused functions.

Can I specify custom entry points to prevent functions from being flagged as unused?

Yes, you can specify custom entry points during static analysis, ensuring that specific functions are considered active and thus not flagged as dead code.

What is the best way to eliminate dead code and reduce technical debt?

The best way to eliminate dead code is to utilize static analysis to pinpoint unused functions across your codebase, allowing you to safely remove them and reduce technical debt.

Why does static analysis require the TLDR tool for code scanning?

Static analysis requires the TLDR tool to perform deterministic code scanning and analysis, which accurately identifies unreachable code and unused functions across various programming languages.