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...
Install with Tessl CLI
npx tessl i github:sickn33/antigravity-awesome-skills --skill codebase-cleanup-refactor-clean56
Quality
37%
Does it follow best practices?
Impact
89%
1.20xAverage score across 3 eval scenarios
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/codebase-cleanup-refactor-clean/SKILL.mdDiscovery
32%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 is incomplete (truncated mid-sentence) and uses incorrect voice ('You are' instead of third person). While it identifies the refactoring domain and mentions relevant concepts like SOLID and clean code, it lacks explicit trigger guidance and specific concrete actions, making it difficult for Claude to know when to select this skill over others.
Suggestions
Complete the truncated description and add a 'Use when...' clause with trigger terms like 'refactor', 'clean up code', 'improve code quality', 'technical debt', 'code smell'
Rewrite in third person voice (e.g., 'Analyzes and refactors code to improve...' instead of 'You are a code refactoring expert...')
List specific concrete actions such as 'extract methods, reduce cyclomatic complexity, apply SOLID principles, improve naming conventions, eliminate code duplication'
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | Names the domain (code refactoring) and mentions some concepts (clean code principles, SOLID design patterns, modern software engineering best practices), but the description is truncated and doesn't list specific concrete actions like 'extract methods', 'reduce complexity', or 'improve naming'. | 2 / 3 |
Completeness | The description is truncated ('improve its...') and lacks a 'Use when...' clause or any explicit trigger guidance. It partially addresses 'what' but completely fails to address 'when' Claude should select this skill. | 1 / 3 |
Trigger Term Quality | Contains some relevant keywords like 'refactoring', 'clean code', 'SOLID', but misses common user terms like 'improve code', 'code smell', 'technical debt', 'code review', or 'optimize'. Also uses second person 'You are' which violates voice guidelines. | 2 / 3 |
Distinctiveness Conflict Risk | While 'refactoring' and 'SOLID' provide some specificity, the broad terms 'code' and 'software engineering best practices' could overlap with general coding assistance, code review, or architecture skills. | 2 / 3 |
Total | 7 / 12 Passed |
Implementation
42%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
This skill provides a reasonable high-level framework for code refactoring but lacks the concrete, actionable guidance that would make it truly useful. The instructions are too abstract—Claude already knows general refactoring principles, so the skill should provide specific patterns, code examples, or decision criteria rather than restating concepts like 'focus on readability and stability.'
Suggestions
Add concrete code examples showing before/after refactoring patterns (e.g., extracting a method, applying dependency injection)
Replace vague instructions like 'Identify high-impact refactor candidates' with specific criteria or heuristics (e.g., 'methods over 30 lines', 'classes with more than 5 dependencies')
Include a concrete validation checklist with specific commands or test patterns rather than generic 'validate with tests'
Remove the 'You are a code refactoring expert...' framing and 'Use this skill when' sections—these don't add actionable value
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The skill is reasonably efficient but includes some unnecessary framing ('You are a code refactoring expert...') and meta-sections ('Use this skill when', 'Do not use this skill when') that Claude doesn't need. The Context section restates what's already clear. | 2 / 3 |
Actionability | The instructions are vague and abstract ('Identify high-impact refactor candidates', 'Apply changes with a focus on readability') with no concrete code examples, specific commands, or executable guidance. It describes what to do conceptually rather than showing how. | 1 / 3 |
Workflow Clarity | Steps are listed in a logical sequence (identify, break down, apply, validate) but lack explicit validation checkpoints, specific criteria for 'high-impact candidates', or concrete feedback loops for error recovery. The validation step is vague ('targeted regression checks'). | 2 / 3 |
Progressive Disclosure | The skill appropriately keeps the main content concise and references external resources ('resources/implementation-playbook.md') for detailed patterns. The structure is clear with well-organized sections and one-level-deep references. | 3 / 3 |
Total | 8 / 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.
Validation — 10 / 11 Passed
Validation for skill structure
| Criteria | Description | Result |
|---|---|---|
frontmatter_unknown_keys | Unknown frontmatter key(s) found; consider removing or moving to metadata | Warning |
Total | 10 / 11 Passed | |
Table of Contents
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.