CtrlK
BlogDocsLog inGet started
Tessl Logo

refactor

AI DevKit · Systematic structural or multi-file refactors across any stack while preserving behavior and public contracts. Use for reorganizing modules, boundaries, naming, APIs/contracts, staged refactor plans, or refactor risk review.

71

Quality

87%

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

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, well-structured refactor methodology with a clear sequenced workflow and explicit validation. Its only gaps are the absence of an explicit validate-fix-retry feedback loop and lack of concrete command/code examples, which are minor for an instruction-only process skill.

Suggestions

Make the validation feedback loop explicit, e.g. after step 13 add: 'If validation fails, fix and re-run before proceeding to the next stage.'

Add one or two concrete example commands for discovering validation (e.g. a sample test/typecheck/lint invocation) to lift actionability from process guidance toward executable.

Optionally include a short worked example of a small vs medium classification to make the size taxonomy immediately actionable.

DimensionReasoningScore

Conciseness

The body is dense imperative guidance with no padding and no explanation of concepts Claude already knows — every line earns its place ("Subtract before adding", "Separate moves/renames from logic changes"); not below 5 because there is no over-explanation to trim.

5 / 5

Actionability

Concrete, specific process guidance throughout ("Stage: baseline -> delete dead paths -> move/rename -> imports/call sites -> split/merge -> simplify -> exports/docs/tests") with no literal copy-paste commands; not 5 because it lacks executable command/code examples, though that is partly justified for a meta-process skill, and not 3 because the guidance is concrete rather than pseudocode-level.

4 / 5

Workflow Clarity

A clear 13-step sequenced workflow with explicit validation checkpoints (step 13 "Validate: tests, compile/typecheck, lint, build...", rules "Validate with fresh command output") and a Stop section for error conditions; not 5 because the validate->fix->retry feedback loop is implicit rather than spelled out as in the anchor-5 example, and not 3 because validation is clearly present so the destructive-operation cap does not apply.

4 / 5

Progressive Disclosure

Under 50 lines with no external references needed, organized into clear Rules/Workflow/Stop sections; per the rubric's simple-skill guidance this qualifies for 5 with well-organized sections and no bundle files to disclose.

5 / 5

Total

18

/

20

Passed

Description

88%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 is strong: it explicitly states both what the skill does and when to use it, with a comprehensive list of concrete refactor actions and natural trigger terms. Its main weakness is minor overlap risk with adjacent code-editing skills and a few missing synonyms.

DimensionReasoningScore

Specificity

Lists multiple concrete refactor actions — "reorganizing modules, boundaries, naming, APIs/contracts, staged refactor plans, or refactor risk review" — giving comprehensive coverage of the refactor domain; not above 5 since it is already at the comprehensive anchor.

5 / 5

Completeness

Explicitly answers what ("Systematic structural or multi-file refactors across any stack while preserving behavior and public contracts") and when ("Use for reorganizing modules, boundaries, naming, APIs/contracts, staged refactor plans, or refactor risk review") with concrete trigger phrases; not below 5 since both halves are explicit and concrete.

5 / 5

Trigger Term Quality

Good natural keyword coverage ("refactor", "reorganizing modules", "naming", "staged refactor plans", "refactor risk review") but misses common synonyms like "restructure" or "clean up code structure"; not 5 because coverage is not fully comprehensive.

4 / 5

Distinctiveness Conflict Risk

Carves a clear niche (structural/multi-file refactors preserving behavior and public contracts) but "across any stack" keeps overlap risk with sibling code skills like simplify-implementation; not 5 because some overlap with closely related code-editing skills remains.

4 / 5

Total

18

/

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
codeaholicguy/ai-devkit
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.