CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

dead-code-cleanup

Find and safely remove unused code.

Quality

73%

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

Fix and improve this skill with Tessl

tessl review fix ./plugins/claude-code/skills/dead-code-cleanup/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

78%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 lean and highly actionable, with concrete API calls, explicit thresholds, and a safety-first sequence that includes user confirmation and a risk check before any destructive deletion. Its main gaps are the missing post-deletion feedback loop, no sample finding shape, and one unclear tagline clause.

Suggestions

Add a post-deletion verification step (e.g. run the build/tests after removal and restore if anything breaks) to close the feedback loop this destructive workflow requires.

Show a sample finding shape (fields like kind, confidence, safe_to_delete) so the presentation guidance is grounded in the actual response format.

Trim the intro tagline — "works even with a template-rendered wiki" is unclear and does not guide any action.

DimensionReasoningScore

Conciseness

The body is lean — parameter documentation, safety rules, and deletion ordering with no padding and no explanations of concepts Claude already knows — but the tagline clause "works even with a template-rendered wiki" is unclear and could be trimmed, matching "Efficient; minor instances of over-explanation that could be trimmed". Not 5 because that clause does not clearly earn its place.

4 / 5

Actionability

Guidance is concrete and executable, with real call names, parameters, and values (`get_dead_code()`, `kind="unreachable_file"`, `min_confidence=0.7`, `get_risk(targets=["path/to/file"])`), matching "Mostly executable guidance; concrete code or commands with minor gaps". Not 5 because no full example call or sample finding shape is shown, so the reader must infer the response format.

4 / 5

Workflow Clarity

The sequence is clear (get findings → present → confirm with the user → `get_risk` → delete in order) with genuine pre-deletion checkpoints (user confirmation, dependent check, recency false-positive flag), matching "Clear sequence with most checkpoints present; minor validation gaps". Not 5 because there is no feedback loop: nothing on what to do when `get_risk` reveals dependents, and no post-deletion verification such as running the build or tests for this destructive workflow.

4 / 5

Progressive Disclosure

The skill is under 50 lines, single-purpose, organized into clear sections (when to use, presenting findings, pre-deletion checks, deletion order), and needs no external references — the guidelines state such a skill earns a 5 with just well-organized sections. Not 4 because nothing here would be better placed in a separate file.

5 / 5

Total

17

/

20

Passed

Description

53%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 concise and states a clear 'what' — find and safely remove unused code — in a reasonably distinct niche. However, it omits any 'Use when...' trigger guidance and misses the common synonym 'dead code', leaving it mid-scale despite being well written.

Suggestions

Add explicit trigger guidance, e.g. "Use when the user mentions dead code, unused code, unused functions/exports/imports, or wants to clean up the codebase" — the missing 'when' clause currently caps completeness at 3.

Include the synonym "dead code", which users say at least as often as "unused code", to improve trigger-term coverage.

Enumerate one or two more concrete capabilities (e.g. "detects unreachable files, unused exports, and unconsumed packages") to raise specificity beyond two generic actions.

DimensionReasoningScore

Specificity

"Find and safely remove unused code" names the domain (unused code) and two concrete actions (find, remove), matching the anchor "Names domain and 1-2 concrete actions, but not comprehensive". Not 4 because it does not list several specific actions such as detecting unreachable files, unused exports, or zombie packages.

3 / 5

Completeness

The "what" is clear ("Find and safely remove unused code") but there is no "Use when..." clause or equivalent trigger guidance, matching "Has a clear 'what' but 'when' is missing or only weakly implied"; the guidelines explicitly cap completeness at 3 for this. Not 4 because the "when" is entirely absent rather than merely imprecise.

3 / 5

Trigger Term Quality

"unused code" is a relevant, natural keyword, but the description omits the common synonym "dead code" and related phrases like "unused exports" or "cleanup", matching "Some relevant keywords but missing common variations or synonyms". Not 2 because "unused code" is domain-specific and natural, not generic filler like "Works with files".

3 / 5

Distinctiveness Conflict Risk

"Find and safely remove unused code" carves out a concrete niche (dead-code removal) that is mostly distinct, with only minor overlap risk against general code-cleanup or refactoring skills. Not 5 because it lacks distinct trigger phrases that would fully separate it from those neighboring skills.

4 / 5

Total

13

/

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.

Repository

repowise-dev/repowise

Path

plugins/claude-code/skills/dead-code-cleanup/SKILL.md

Reviewed

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.