CtrlK
BlogDocsLog inGet started
Tessl Logo

dead-code-cleanup

Use when the user asks about cleanup, removing unused code, refactoring, reducing bundle size, or identifying dead code in a Repowise-indexed codebase (.repowise/ directory exists). Also activates when discussing technical debt, code hygiene, or repository maintenance.

69

Quality

85%

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

SKILL.md
Quality
Evals
Security

Quality

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.

A tight, highly actionable SKILL.md body that gives copy-paste-ready Repowise calls and a sensible pre-deletion safety workflow. The only gap is the absence of an explicit post-deletion verification feedback loop for the destructive batch operation.

Suggestions

Add a post-deletion verification step, e.g. re-run get_dead_code() or get_risk() after deletion to confirm no new dependents surfaced, forming a validate→delete→recheck loop.

Consider an explicit 'If a finding turns out to be a dynamic-import false positive, exclude it and re-run' recovery branch to round out the feedback loop.

DimensionReasoningScore

Conciseness

Lean and efficient with no padding or explanation of concepts Claude already knows; every line (parameter table, deletion order, safety checks) earns its place.

5 / 5

Actionability

Fully executable guidance: concrete get_dead_code() and get_risk(targets=[...]) calls with real named parameters and exact thresholds (safe_only=true, min_confidence=0.7, tier='high').

5 / 5

Workflow Clarity

Clear 'Before deleting anything' sequence with confirmation, a get_risk() dependents check, and a recent-activity false-positive flag; missing an explicit post-deletion verify/feedback loop keeps it just below level 5.

4 / 5

Progressive Disclosure

Under 50 lines with no external references needed and well-organized sections (findings, presentation, pre-deletion, deletion order), meeting the simple-skill exception for a top score.

5 / 5

Total

19

/

20

Passed

Description

76%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.

A well-targeted, low-conflict description with excellent natural trigger coverage and an explicit activation clause. Its main weakness is that it describes triggers rather than concrete capabilities, leaving the 'what does this do' side only implicitly answered.

Suggestions

Open with a concrete capability clause before the 'Use when' trigger, e.g. 'Detects and ranks dead code in a Repowise-indexed codebase. Use when the user asks about...'

Name the specific actions the skill performs (detect/find/sort dead code by confidence, check deletion risk) so the 'what' is as explicit as the 'when'.

DimensionReasoningScore

Specificity

The description names the domain ('dead code', 'Repowise-indexed codebase') but states no concrete actions — it describes when the skill activates rather than what it does (e.g. 'detects', 'lists', 'removes').

2 / 5

Completeness

The 'when' is explicitly and thoroughly answered, but the 'what' is only weakly implied through trigger phrases rather than a concrete capability statement, so it falls short of the level-5 anchor.

4 / 5

Trigger Term Quality

Comprehensive natural trigger coverage with synonyms users actually say: 'cleanup', 'removing unused code', 'refactoring', 'reducing bundle size', 'technical debt', 'code hygiene', 'repository maintenance'.

5 / 5

Distinctiveness Conflict Risk

A clear niche tied to a Repowise-indexed codebase (.repowise/ directory) sharply limits false activation and overlap with other skills.

5 / 5

Total

16

/

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
repowise-dev/repowise
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.