Dead Code Detector
by Timoranjes
Scan multi-language codebases for unused variables, orphaned functions, and unreachable code with severity ranking.
$10
· or 50 creditsSecure checkout via Stripe
Works with the AI tools you already use
About this skill
Reduce Technical Debt and Codebase Bloat
As codebases evolve, unused functions, orphaned imports, and unreachable logic inevitably accumulate. This skill provides a comprehensive, multi-language engine to identify and help remove "dead" code that slows down developers and increases maintenance overhead.
What it does
The Dead Code Detector performs high-confidence static analysis across your entire project. It goes beyond simple linter rules by cross-referencing symbols across files to ensure a function or variable really isn't used anywhere in the codebase. It detects:
- Unused imports, variables, and private methods.
- Orphaned functions, classes, and exported symbols.
- Unreachable code paths after return or throw statements.
- Leftover debugging statements (console.log, debugger) and large commented-out code blocks.
Supported Languages & Frameworks
Developed for polyglot environments, it supports Python, JavaScript/TypeScript, Go, Rust, Java, and C/C++. It is framework-aware, meaning it understands that decorators in Flask/Django or components in React/Vue constitute "usage" even if they lack direct references in the source logic.
Why use this skill?
Unlike raw AI prompts that only see the current file, this skill applies a systematic multi-pass workflow. It validates findings against project-wide greps, handles framework-specific entry points, and recognizes dynamic usage patterns (like reflection or DI). The result is a severity-ranked report that distinguishes between "Safe to Remove" and "Verify Before Removal," giving you 100% confidence before hitting delete.
Details
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
File Scopes
Creator
Frequently Asked Questions
Browse More Skills
code-reviewer
Reviews your code for bugs, security vulnerabilities, logic errors, performance issues, and style violations. Organizes findings by severity and suggests fixes with code examples.
java-best-practice-checker
Expert Java code auditor for SE 8–24, flagging performance leaks, threading risks, and modernization gaps.

frontend-motion-wizard
Advanced responsive layout and interactive micro-interaction engine for React, Tailwind CSS, and Framer Motion. Automatically injects fluid element states, mobile-first touch behaviors, adaptive viewports, and non-destructive layout transitions into static codebases

Business Strategist
A framework-driven consultant for business diagnosis, market mapping, and pricing strategy.