CtrlK
BlogDocsLog inGet started
Tessl Logo

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.

81

2.06x
Quality

75%

Does it follow best practices?

Impact

93%

2.06x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./skills/dead-code-eliminator/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

95%

75%

Dead Code Audit: Data Processing Module

Bundled script analysis

Criteria
Without context
With context

find_unused_functions.py used

0%

100%

find_unused_imports.py used

0%

100%

Correct unused functions identified

100%

100%

Private functions excluded

0%

100%

Test functions excluded

0%

100%

Directory exclusion used

0%

50%

90%

41%

User Management Service: Dead Code Audit

Multi-tool report structure

Criteria
Without context
With context

Bundled script used

0%

100%

External tool used

0%

0%

Summary section present

100%

100%

Priority sections present

25%

100%

File and line numbers included

100%

100%

Unreachable code is high priority

60%

100%

Unused imports are high priority

0%

100%

Needs Verification section present

33%

100%

Recommendations with CI/CD prevention

100%

100%

94%

26%

Event Processing Service: Safe Dead Code Removal

Dynamic dispatch verification

Criteria
Without context
With context

Dynamic handlers not confirmed dead

100%

100%

Dynamic handlers flagged for verification

100%

100%

Genuinely unused functions identified

100%

100%

String reference check performed

0%

85%

Entry point checked

100%

100%

Grep verification used

0%

77%

Repository
ArabelaTso/Skills-4-SE
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.