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.

54

Quality

60%

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

60%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 well-structured and concise with a reasonable sequenced workflow and verification checkpoint, but its instructions stay abstract without concrete executable guidance and reference a resource file that is not present in the bundle.

Suggestions

Add concrete, executable guidance to the Instructions (e.g., specific refactor patterns, example diff slices, or commands to run tests) rather than only high-level directives.

Either create resources/implementation-playbook.md or remove the dangling references in the Instructions and Resources sections so navigation is not broken.

Delete the duplicate 'You are a code refactoring expert...' opening paragraph and trim the Context section, since the frontmatter description already conveys this.

DimensionReasoningScore

Conciseness

The body is lean with short bullet sections and no padding of concepts Claude already knows; the only trimmable redundancy is the opening paragraph and 'Context' section re-stating the description already in frontmatter.

4 / 5

Actionability

Guidance is high-level and abstract ('Assess code smells', 'Propose a refactor plan with incremental steps') with no concrete code, commands, patterns, or specific steps to execute, fitting minimal concrete guidance.

2 / 5

Workflow Clarity

Instructions give a clear ordered sequence (assess, plan, apply in slices, update tests/verify) with a verification checkpoint and Safety notes on tests passing, though an explicit error-recovery feedback loop is missing.

4 / 5

Progressive Disclosure

The body is well-organized into clear sections and signals a one-level-deep reference ('resources/implementation-playbook.md'), but that referenced file does not exist in the bundle, a navigation gap that prevents a top score.

4 / 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 conveys a clear 'what' with solid natural trigger terms, but it omits any explicit 'when to use' guidance and its two named actions are generic, leaving completeness and specificity mid-range.

Suggestions

Add an explicit 'Use when...' clause naming concrete triggers (e.g., tangled/hard-to-maintain code, reducing duplication or code smells, preparing modules for new features).

List more concrete actions instead of abstract benefits (e.g., 'extract methods, remove duplication, simplify conditionals') to lift specificity.

Include common user phrases/synonyms such as 'code smells', 'technical debt', or 'clean up code' to broaden trigger coverage.

DimensionReasoningScore

Specificity

It names the domain and two concrete actions ('Analyze and refactor the provided code'), but the actions are generic and the listed benefits (quality, maintainability, performance) are abstract rather than additional concrete actions, so coverage is not comprehensive.

3 / 5

Completeness

It clearly states what the skill does (analyze and refactor code) but provides no 'Use when...' trigger clause, so per the rubric guideline a missing explicit 'when' caps completeness at 3.

3 / 5

Trigger Term Quality

Natural trigger terms users actually say are present ('code refactoring', 'refactor', 'clean code', 'SOLID'), giving good keyword coverage, though common variations like 'code smells' or 'technical debt' are missing.

4 / 5

Distinctiveness Conflict Risk

The refactoring / clean-code / SOLID niche is mostly distinct with clear triggers, with only minor overlap risk against general code-review or coding skills.

4 / 5

Total

14

/

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
rmyndharis/antigravity-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.