Skip to content

Static analysis CLI that flags unused functions and dead code via TLDR, with entry-point exclusions.

CCM score
49 of 100
skills.sh installs
745
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers dead function detection across a whole project or a chosen directory, with a per-language --lang flag
  • Reports total and dead function counts, then lists each unused function with its file and line
  • Excludes entry points by default (main, cli, test_*, setup, teardown, and framework route handlers), with --entry for custom names
  • Designed for on-demand cleanup and refactoring, paired with tldr impact to check callers before removal

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill dead-code -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Dead Code Detection

Find unused functions and dead code using TLDR static analysis.

Quick Start

# Scan entire project
tldr dead .

# Scan specific directory
tldr dead src/

# Specify entry points (functions to exclude from analysis)
tldr dead . --entry main cli test_

# Specify language
tldr dead . --lang python
tldr dead . --lang typescript

Output Format

Dead code analysis:
  Total functions: 150
  Dead functions: 12

Unused functions:
  - old_helper (src/utils.py:42)
  - deprecated_func (src/legacy.py:15)
  - _unused_method (src/api.py:230)

Cross-Platform

Works on Windows, Mac, and Linux (including WSL).

# Windows (PowerShell)
tldr dead .

# Mac/Linux
tldr dead .

Entry Points

Functions matching entry patterns are excluded from dead code analysis:

  • main, cli - Application entry points
  • test_*, *_test - Test functions
  • setup, teardown - Fixtures
  • @app.route, @api.endpoint - Framework handlers
# Custom entry points
tldr dead src/ --entry main api_handler background_job

Integration

This skill replaces the session-start-dead-code hook with on-demand analysis.

Details

Repository
github.com/parcadei/continuous-claude-v3
Category
Code Review & Quality
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108

Similar to Dead Code

More Code Review & Quality