Individual skill
dead-code-eliminator
Identify and analyze unused or redundant code including unused functions/methods, unused variables/imports, unreachable code, and redundant conditions. Use when cleaning up codebases, improving maintainability, reducing technical debt, or conducting code quality audits. Analyzes Python code using AST analysis and produces markdown reports listing dead code locations with line numbers, severity ratings, and recommendations. Triggers when users ask to find dead code, remove unused code, identify unused imports, find unreachable code, or clean up redundant logic.
skills/dead-code-eliminator/SKILL.md
Source commit 4f38503747e0617504bce5329283ef837d375c09
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 260
- Repository last updated
- Aug 21, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- claude-skills Repository topic
- metaprogramming Repository topic
- software-development Repository topic
- software-engineering Repository topic
- claude Repository topic
- claude-code Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesSKILL.mdcore · 13,279 bytesreferences/dead-code-patterns.mddoc · 9,174 bytesscripts/find_unused_functions.pyruns · 4,530 bytesscripts/find_unused_imports.pyruns · 4,954 bytes
Read excerpt
# Dead Code Eliminator
## Overview
Systematically identify unused or redundant code in Python codebases to improve maintainability, reduce confusion, and eliminate technical debt.
## Workflow
### 1. Understand the Scope
Define what to analyze:
**Questions to ask:**
- What directory or files should be analyzed?