CtrlK
BlogDocsLog inGet started
Tessl Logo

refactor

Restructures code by extracting methods, renaming symbols, simplifying conditionals, removing duplication, and eliminating dead code — while running tests before and after each change to ensure behavior is preserved. Invoke immediately when user mentions refactor, refactoring, clean up, restructure, simplify, technical debt, code smell, DRY violations, or when code is messy, complex, or hard to maintain.

80

Quality

100%

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

100%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 a tightly-written, well-structured refactoring process with explicit validation checkpoints, feedback loops, and concrete actionable guidance. It respects Claude's intelligence and avoids concept over-explanation.

DimensionReasoningScore

Conciseness

Lean and efficient with no padding; it never explains what refactoring or tests are, and every bullet and step earns its place assuming Claude's competence.

5 / 5

Actionability

Concrete executable guidance throughout: exact commit message format ('- r <refactoring>'), 'Find or create ./test.sh, verify all tests pass', and the literal cue "say 'Entering final evaluation.'". The guidance is copy-paste ready for a process skill.

5 / 5

Workflow Clarity

Clear staged sequence (Prep, Main Refactoring, Final Evaluation, Summary) with explicit validation checkpoints (tests pass before and after each change) and a feedback loop in final evaluation (fix one thing, look again, repeat).

5 / 5

Progressive Disclosure

A self-contained process skill under ~72 lines with no need for external reference files; content is well-organized into clear sections, satisfying the simple-skill exception.

5 / 5

Total

20

/

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 specific, comprehensive, and well-structured, clearly stating what the skill does and exactly when to invoke it with natural trigger terms. It uses third person throughout and avoids vague fluff.

DimensionReasoningScore

Specificity

Lists five concrete actions ('extracting methods, renaming symbols, simplifying conditionals, removing duplication, and eliminating dead code') plus the behavior-preservation test gating, giving comprehensive concrete coverage.

5 / 5

Completeness

Explicitly answers both 'what' (the refactoring actions plus test gating) and 'when' ('Invoke immediately when user mentions...') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Comprehensive natural trigger coverage with synonyms ('refactor', 'refactoring', 'clean up', 'restructure', 'simplify', 'technical debt', 'code smell', 'DRY violations', 'messy, complex, or hard to maintain') that users would actually say.

5 / 5

Distinctiveness Conflict Risk

Refactoring is a clear niche with distinct, specific triggers; the explicit invoke clause and enumerated phrases minimize overlap with unrelated 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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
ericjohnolson/tessl-test
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.