CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

trysac/dead-code-finder

Find dead Python code (unused imports, functions, classes, methods, variables, unreachable statements) with confidence scores. Use when the user asks to find, audit or clean up unused or dead code in a Python project.

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Scored by GLM 5.3

Content

93%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is an exemplary lean skill overview: fully executable command guidance, explicit safety checkpoint before edits, and clean progressive disclosure into two real reference files and a bundled script. The only nit is that the iterate-until-stable loop from the review guide is not surfaced in the main steps.

Suggestions

In step 5, add a short pointer such as 'after removals, re-run the scanner until output is stable (see the review guide)' so the feedback loop is visible without opening the reference.

State the default value of --min-confidence in the Steps section so the example invocation's behavior is fully predictable without consulting the script.

DimensionReasoningScore

Conciseness

The ~35-line body is lean and operational — a runnable command, output format, exit codes, and scope limits — with no explanation of concepts Claude already knows; every token earns its place.

5 / 5

Actionability

"python scripts/dead_code_scan.py src --min-confidence 60" plus --json and --whitelist flags, the exact output format "module:line: kind 'name' (confidence%)", and defined exit codes make the guidance copy-paste ready with the common cases covered.

5 / 5

Workflow Clarity

The five steps are clearly sequenced with an explicit check-findings-before-acting checkpoint (step 4) and edit gating (step 5), but the re-run-until-stable feedback loop after removals lives only in the referenced review guide rather than being signposted in the steps — a minor validation gap that fits the 4 anchor.

4 / 5

Progressive Disclosure

A clear overview with well-signaled one-level-deep links to references/rules.md and references/review-guide.md (both real, verified files) plus the bundled scanner script; confidence details are summarized inline and expanded in the reference, an appropriate split.

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is a model example: concrete and comprehensive about capabilities, explicit about when to trigger, in third person, and free of filler. It directly mirrors the rubric's good-overall pattern of what + 'Use when' + trigger synonyms.

DimensionReasoningScore

Specificity

"Find dead Python code (unused imports, functions, classes, methods, variables, unreachable statements) with confidence scores" enumerates every kind the scanner detects with no coverage gaps, matching the comprehensive-coverage anchor rather than the minor-gaps anchor at 4.

5 / 5

Completeness

The first sentence explicitly states what the skill does and the "Use when..." clause gives concrete trigger phrases, clearly matching the anchor requiring both what and when.

5 / 5

Trigger Term Quality

"Use when the user asks to find, audit or clean up unused or dead code in a Python project" covers the natural verbs (find, audit, clean up) and both synonyms (unused, dead code) users would actually say; no common phrasing is missing.

5 / 5

Distinctiveness Conflict Risk

"dead Python code" with triggers around unused/dead code in a Python project carves out a clear niche with minimal overlap risk against general linting or refactoring skills.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

On this page