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.

47

Quality

50%

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

50%

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 and well-organized with a clear use/don't-use and output structure, but the instructions are abstract directives without concrete executable guidance or validation checkpoints, and the sole external reference points to a file that does not exist in the bundle. Adding concrete examples/commands and a real referenced playbook would lift the weakest dimensions.

Suggestions

Add at least one concrete, executable example or specific command in the Instructions (e.g. a before/after refactor snippet or a named smell-to-pattern mapping) to move actionability above 1.

Introduce an explicit validation checkpoint in the workflow (e.g. 'After each slice: run the test suite; only proceed when green') so the refactor loop has a feedback gate.

Create the referenced `resources/implementation-playbook.md` (or fix the path) so the progressive-disclosure reference resolves; otherwise drop the reference and keep details inline.

DimensionReasoningScore

Conciseness

The body is lean, well-sectioned, and assumes Claude's competence — it never explains what refactoring, clean code, or SOLID are, and every line is actionable overview rather than padded concept exposition, matching the 'lean and efficient' anchor 3.

3 / 3

Actionability

The Instructions are abstract directives ('Assess code smells', 'Propose a refactor plan with incremental steps', 'Apply changes in small slices') with no concrete code, commands, or specific examples — it describes rather than instructs. As an instruction-only skill it is not penalized for lacking code only if guidance is actionable, but this guidance stays high-level, matching anchor 1.

1 / 3

Workflow Clarity

An ordered sequence is present (assess → propose plan → apply in slices → update/verify tests) mirrored by the Output Format, but there are no explicit validation checkpoints or feedback loops, and refactoring is a risky change context where the rubric caps workflow clarity at 2 when validation gates are missing or implicit.

2 / 3

Progressive Disclosure

The body is an overview that signals a one-level-deep reference to `resources/implementation-playbook.md`, but verification against the actual bundle shows no `resources/` directory exists, so the referenced path is broken. That clear-but-unresolvable reference and the modest size place it at anchor 2 rather than the well-organized no-ref or resolved-reference case of 3.

2 / 3

Total

8

/

12

Passed

Description

50%

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 clearly states what the skill does and names a specific domain, but it uses second-person voice and omits any explicit 'use when' trigger guidance, capping both specificity and completeness. Adding a concrete trigger clause and switching to third-person voice would raise the score.

Suggestions

Rewrite in third person (e.g. 'Analyzes and refactors code...') instead of 'You are a code refactoring expert' to satisfy the voice requirement and recover the specificity point.

Append an explicit trigger clause, e.g. 'Use when refactoring tangled or hard-to-maintain code, reducing duplication or code smells, or preparing modules for new features.'

Replace abstract phrasing like 'modern software engineering best practices' with concrete natural terms users would say (e.g. 'clean up code', 'reduce complexity', 'apply SOLID principles').

DimensionReasoningScore

Specificity

Names the domain ('clean code principles, SOLID design patterns') and concrete actions ('Analyze and refactor the provided code to improve its quality, maintainability, and performance'), which is multiple specific actions (anchor 3), but the rubric penalizes the second-person voice ('You are a code refactoring expert') by reducing specificity by 1, bringing it to 2.

2 / 3

Completeness

It clearly states what the skill does (analyze and refactor code to improve quality/maintainability/performance) but provides no 'Use when...' clause or equivalent explicit trigger for when to use it; per the judging guidelines a missing explicit trigger caps completeness at 2.

2 / 3

Trigger Term Quality

It includes relevant real keywords ('refactor', 'clean code', 'SOLID', 'code smells' implied) but leans on abstract phrasing like 'modern software engineering best practices' and omits common natural variations a user would actually say ('clean up this code', 'reduce duplication'), matching anchor 2 rather than the full coverage of anchor 3.

2 / 3

Distinctiveness Conflict Risk

The clean-code/SOLID refactoring niche is fairly specific, but 'code refactoring' is broad enough to overlap with general coding and improvement skills, so it is 'somewhat specific but could still overlap' (anchor 2) rather than a clearly bounded niche.

2 / 3

Total

8

/

12

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.