CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

refactoring

Refactoring process. Invoke immediately when user or document mentions refactoring, or proactively when code gets too complex or messy.

Quality

77%

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

Quality

Content

86%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 a lean, highly actionable process skill with a clearly staged workflow, pervasive test validation, and exemplary progressive disclosure via a single well-signaled reference file. The only weaknesses are minor: Code Style heuristics lack concrete examples, and test-failure recovery is left implicit. It compares favorably to the rubric's good overall examples.

DimensionReasoningScore

Conciseness

The body is ~85 lines of terse, imperative bullets ("Remove dead code", "Extract paragraphs into methods", "Never change test assertions, test data, or test logic") with zero explanation of concepts Claude already knows. Every instruction is a directive, matching the anchor "lean and efficient; every token earns its place"; anchor 4 would require over-explanation that is not present.

5 / 5

Actionability

Concrete, executable specifics abound: "Find or create ./test.sh, verify all tests pass", the commit format "- r <refactoring>", and exact announcement strings. However, Code Style heuristics such as "Look for opportunities to simplify" and "Use domain language - name things for what they ARE" lack before/after examples, fitting anchor 4 (mostly concrete guidance with minor gaps) rather than 5.

4 / 5

Workflow Clarity

The staged sequence (Prep, Main Refactoring, Final Evaluation, Summary) is clear with validation at every step ("Ensure all tests pass" before and after each change) and an explicit final-evaluation loop ("Repeat until you find nothing more to improve"). It falls short of anchor 5 because test-failure recovery is only implicit (no "revert if tests fail" step) and "create ./test.sh" is underspecified — anchor 4's "minor validation gaps".

4 / 5

Progressive Disclosure

Sections are well organized and the only language-specific detail is correctly offloaded to a clearly signaled, one-level-deep reference: "For Java: See [references/java.md](references/java.md)" (a real file containing the Java-specific guidance). This matches anchor 5's clear overview with well-signaled one-level-deep references; there is no inline content that belongs in a separate file.

5 / 5

Total

18

/

20

Passed

Description

57%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 has an excellent, explicit 'when' clause with concrete trigger phrases, but the 'what' is a bare domain label with no concrete capabilities. Trigger coverage is reasonable but misses common synonyms like "clean up" or "code smells". Overall it sits noticeably above the vague bad examples yet clearly below the strong examples that enumerate specific actions.

Suggestions

Replace "Refactoring process" with 2-4 concrete actions, e.g., "Improves code structure by extracting methods, renaming for clarity, removing dead code, and simplifying complex logic".

Add natural trigger synonyms such as "clean up code", "tidy up", or "code smells" so the skill fires when users phrase the need without the word "refactoring".

Consider narrowing the proactive trigger ("code gets too complex or messy") or tying it to refactoring-specific cues to reduce overlap with general code-review and cleanup skills.

DimensionReasoningScore

Specificity

"Refactoring process" names the domain but enumerates no concrete actions, mirroring the anchor-2 example "Processes PDF files". It is not score 1 because refactoring is a specific, recognized domain rather than pure abstraction, and not score 3 because no actual capabilities (e.g., extracting methods, renaming, removing dead code) are stated.

2 / 5

Completeness

Both parts are present: 'when' is fully explicit ("Invoke immediately when user or document mentions refactoring, or proactively when code gets too complex or messy") while 'what' is minimal ("Refactoring process"). This lands on anchor 4 (both present, one improvable) rather than 5, since the 'what' states no concrete actions, and above 3, since explicit trigger guidance exists so the completeness cap does not apply.

4 / 5

Trigger Term Quality

"refactoring" and "code gets too complex or messy" are natural user phrases, but common variations and synonyms such as "clean up code", "tidy", or "code smells" are missing. This matches anchor 3 (relevant keywords present, common variations absent) rather than anchor 4's fuller coverage.

3 / 5

Distinctiveness Conflict Risk

"refactoring" defines a clear niche with a distinct trigger keyword, but the proactive trigger "when code gets too complex or messy" overlaps with general code-quality and cleanup skills. This matches anchor 4 (mostly distinct, minor overlap risk with closely related skills) rather than 5's minimal-conflict bar.

4 / 5

Total

13

/

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

saski/arnesto

Path

.agents/skills/refactoring/SKILL.md

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.