CtrlK
BlogDocsLog inGet started
Tessl Logo

refactoring

Per-change refactoring mechanics: count callers exactly, decide inline vs keep, collapse duplicate switch branches, route raw access through a single typed boundary, surgical one-change-per-commit, post-refactor straggler sweep for stale JSDoc and dead exports. Use when actually editing code to clean it up, when deciding whether a 1-caller helper earns its keep, or when planning a sequence of small refactor commits. For the smell catalog use code-audit; for session-long simplification use collapse-pass.

67

Quality

81%

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

71%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.

A rich, actionable refactoring methodology with concrete decision tables, before/after code, and real validation checkpoints for surgical commits and straggler sweeps. Its main weakness is structure: everything lives in one long file with no progressive disclosure into reference materials, and a few sections mildly restate earlier points.

Suggestions

Split the detailed before/after example catalog and/or the straggler-sweep walkthrough into a reference file (e.g. references/examples.md) and link to it from SKILL.md to improve progressive disclosure.

Tighten the Anti-Patterns section by removing entries that only restate earlier sections ("Premature extraction", "Shotgun inlining") or compress them into one-line cross-references.

Add an explicit error-recovery feedback loop for the straggler sweep and Go-to-Def check (e.g. "if Go-to-Def regressed → revert the re-export/alias and re-check") to push workflow clarity from good to fully looped.

DimensionReasoningScore

Conciseness

Information-dense and methodology-focused with no padding about concepts Claude already knows; the only slack is mild cross-section redundancy (the Anti-Patterns list restates "Prefer Inline for Trivial Duplications" and "Shotgun inlining" already covered above).

4 / 5

Actionability

Highly actionable — a caller-count decision table, grep-based straggler sweep checklist, commit-message format, and concrete before/after TypeScript/Svelte — but several code blocks use intentional elisions ("/* 10 lines of Y.Map setup */", "/* push richtext from plaintext */") rather than fully copy-paste-ready code.

4 / 5

Workflow Clarity

Clear progression (count callers → decide → refactor → present diff → surgical commit → straggler sweep → Go-to-Definition check) with explicit validation checkpoints ("edit → diagnostics → test → commit", Go-to-Def check, sweep as a separate commit), satisfying the destructive/batch validation requirement; only minor gaps in explicit error-recovery feedback loops.

4 / 5

Progressive Disclosure

Well-sectioned single file with clear headers, but it is a ~356-line monolith with no bundle files and no file-based disclosure; substantial content (the example catalog and the Key Delivery sweep walkthrough) is inlined that could plausibly live in reference files, and the only references point to other skills rather than supporting materials.

3 / 5

Total

15

/

20

Passed

Description

92%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 precise, third-person, and tightly scoped to per-change refactoring mechanics, with an explicit Use-when clause and clear disambiguation from neighboring skills. Its only mild weakness is trigger-term coverage that favors craft jargon over everyday synonyms.

Suggestions

Add a couple of lay synonyms to the Use-when clause (e.g. "cleaning up code", "deduplicating logic") so the trigger matches more naturally worded requests.

Consider naming a file type or language context if the mechanics are meaningfully typed-language specific, to sharpen distinctiveness further.

DimensionReasoningScore

Specificity

Lists multiple concrete per-change actions — "count callers exactly, decide inline vs keep, collapse duplicate switch branches, route raw access through a single typed boundary, surgical one-change-per-commit, post-refactor straggler sweep for stale JSDoc and dead exports" — giving comprehensive coverage with no vague filler.

5 / 5

Completeness

Explicitly answers both what ("Per-change refactoring mechanics: ...") and when ("Use when actually editing code to clean it up, when deciding whether a 1-caller helper earns its keep, or when planning a sequence of small refactor commits") with concrete trigger phrases.

5 / 5

Trigger Term Quality

Natural trigger phrases like "editing code to clean it up", "1-caller helper earns its keep", and "planning a sequence of small refactor commits" map well to what a user would say, though coverage leans on internal jargon and lacks some common synonyms (e.g. "deduplicate", "clean up code").

4 / 5

Distinctiveness Conflict Risk

Occupies a clear per-change refactoring niche and actively reduces conflict risk with explicit disambiguation: "For the smell catalog use code-audit; for session-long simplification use collapse-pass."

5 / 5

Total

19

/

20

Passed

Validation

93%

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

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 suspicious

Warning

Total

15

/

16

Passed

Repository
EpicenterHQ/epicenter
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.