CtrlK
BlogDocsLog inGet started
Tessl Logo

codebase-cleanup-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.

39

Quality

24%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./skills/codebase-cleanup-refactor-clean/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Discovery

14%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This description reads more like a system prompt persona definition ('You are a code refactoring expert') than a skill description. It uses first/second person framing, lacks concrete actions, has no 'Use when' clause, and is too generic to be distinguishable from other code-related skills. The buzzword-heavy language ('clean code principles, SOLID design patterns, modern software engineering best practices') adds little discriminative value.

Suggestions

Replace the persona-style opening with third-person action verbs listing specific refactoring operations, e.g., 'Extracts methods, renames variables, reduces cyclomatic complexity, applies SOLID principles, and eliminates code duplication.'

Add an explicit 'Use when...' clause with natural trigger terms, e.g., 'Use when the user asks to refactor code, fix code smells, reduce technical debt, simplify complex functions, or apply design patterns.'

Remove the 'You are...' framing entirely and focus on what the skill does and when to select it, making it clearly distinguishable from general code review or linting skills.

DimensionReasoningScore

Specificity

The description uses vague language like 'improve its quality, maintainability, and performance' and 'clean code principles, SOLID design patterns.' It does not list concrete actions like 'extract methods, rename variables, reduce cyclomatic complexity, split classes.' The actions 'analyze and refactor' are extremely broad.

1 / 3

Completeness

There is no explicit 'Use when...' clause or equivalent trigger guidance. The 'what' is vaguely stated as 'analyze and refactor code,' and the 'when' is entirely missing. Per the rubric, a missing 'Use when...' clause caps completeness at 2, and the weak 'what' brings it down further.

1 / 3

Trigger Term Quality

Contains some relevant keywords like 'refactoring', 'SOLID', 'clean code', and 'design patterns' that users might mention. However, it misses common natural terms like 'simplify code', 'reduce complexity', 'code smell', 'technical debt', 'DRY', or 'extract method'.

2 / 3

Distinctiveness Conflict Risk

This description is extremely generic and would conflict with any code review, code quality, linting, or general coding assistance skill. 'Analyze and refactor code' and 'best practices' could apply to nearly any programming-related skill.

1 / 3

Total

5

/

12

Passed

Implementation

35%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This skill reads more like a high-level role description than actionable guidance. It lacks any concrete code examples, specific refactoring patterns, or executable steps that would help Claude perform refactoring tasks effectively. The content is mostly abstract directives that Claude would already know how to do, making the skill add little value beyond what Claude's baseline capabilities provide.

Suggestions

Add concrete, executable code examples showing before/after refactoring patterns (e.g., Extract Method, Replace Conditional with Polymorphism) so Claude has specific templates to follow.

Replace vague instructions like 'Identify high-impact refactor candidates' with specific heuristics or checklists (e.g., 'Look for methods >30 lines, classes with >5 dependencies, duplicated blocks >3 lines').

Add explicit validation checkpoints in the workflow, such as 'Run existing tests after each refactoring step before proceeding' with concrete commands.

Remove the 'Context' section and 'Limitations' boilerplate which add no new information, and use that space for actionable content like example refactoring workflows.

DimensionReasoningScore

Conciseness

The skill includes some unnecessary sections like 'Context' which restates the description, and 'Do not use this skill when' which is somewhat obvious. The 'Limitations' section contains generic boilerplate. However, it's not excessively verbose.

2 / 3

Actionability

The instructions are entirely abstract and vague — 'Identify high-impact refactor candidates,' 'Apply changes with a focus on readability' — with no concrete code examples, specific commands, patterns, or executable guidance. It describes rather than instructs.

1 / 3

Workflow Clarity

There is a rough sequence (identify → break into steps → apply → validate), but the steps are high-level and lack explicit validation checkpoints, concrete commands, or feedback loops for error recovery. The mention of 'validate with tests' is vague.

2 / 3

Progressive Disclosure

There is a reference to `resources/implementation-playbook.md` for detailed patterns, which is good progressive disclosure. However, the main content itself lacks substance — it defers too much to the external file without providing enough actionable content in the skill itself to be useful standalone.

2 / 3

Total

7

/

12

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

10

/

11

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.