CtrlK
BlogDocsLog inGet started
Tessl Logo

code-refactoring-refactor-clean

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.

55

Quality

63%

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 ./skills/code-refactoring-refactor-clean/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

65%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 concise, well-structured, and clearly scoped, but it offers only high-level instructional guidance without concrete executable examples or validation checkpoints. Its single external reference is signaled but the referenced file is absent from the bundle.

Suggestions

Add a concrete, executable example (e.g. a before/after refactor snippet or a specific command) to the Instructions to lift actionability.

Insert explicit validation checkpoints in the workflow (e.g. 'Run the test suite; only proceed when green') to make the verify-then-proceed loop explicit.

Either create 'resources/implementation-playbook.md' with the promised detailed patterns, or remove the reference so the skill is self-contained.

DimensionReasoningScore

Conciseness

The body is lean and well-organized into short sections (Use/Do not use, Context, Instructions, Safety, Output Format, Limitations) with no padding and no re-explanation of concepts Claude already knows.

5 / 5

Actionability

Instructions are high-level imperatives ('Assess code smells', 'Propose a refactor plan', 'Apply changes in small slices') with no concrete executable examples, commands, or code snippets, leaving the specific steps to execute implicit.

3 / 5

Workflow Clarity

Steps are listed in a clear order but lack explicit validation checkpoints; 'Update tests and verify regressions' is a weak, implicit checkpoint rather than a concrete verify-then-proceed feedback loop.

3 / 5

Progressive Disclosure

The body points to 'resources/implementation-playbook.md' for detailed patterns, but no such file exists in the bundle, so the one-level-deep reference is signaled but not actually delivered.

3 / 5

Total

14

/

20

Passed

Description

61%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 clear about what the skill does and uses recognizable trigger terms, but it omits an explicit 'Use when...' trigger clause, which caps its completeness. Specificity is decent but leans on generic verbs rather than a comprehensive action list.

Suggestions

Append an explicit 'Use when...' clause to the description (e.g. 'Use when refactoring tangled code, reducing duplication, or preparing modules for new features').

Replace the generic verb list with more concrete actions (e.g. 'extract methods, eliminate duplication, simplify conditionals, apply SOLID patterns').

Add common synonyms users might say (e.g. 'technical debt', 'cleanup') to broaden trigger coverage.

DimensionReasoningScore

Specificity

The description names the domain ('code refactoring expert') and 2-3 actions ('Analyze and refactor... improve its quality, maintainability, and performance'), but the verbs are generic and not a comprehensive list of concrete refactoring actions.

3 / 5

Completeness

It clearly answers 'what' the skill does but contains no 'Use when...' clause in the description field, so the 'when' is missing and completeness is capped at 3 per the rubric.

3 / 5

Trigger Term Quality

It surfaces natural phrases users would say ('refactor', 'code refactoring', 'clean code', 'SOLID design patterns'), with good keyword coverage though missing some common synonyms like 'cleanup' or 'reduce technical debt'.

4 / 5

Distinctiveness Conflict Risk

The 'code refactoring / clean code / SOLID' framing carves out a mostly distinct niche with only minor overlap risk against general coding-assistant skills.

4 / 5

Total

14

/

20

Passed

Validation

93%

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

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
sickn33/antigravity-awesome-skills
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.