CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

lsp-refactoring

Intelligent code refactoring using IDE-level tools (rename, find-references, go-to-definition), AST-aware pattern matching, and TDD verification. Use for safe, large-scale refactoring with precision.

Quality

91%

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

85%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 well-structured, actionable skill body with a clear four-phase workflow, explicit validation/feedback loops, and concrete commands across languages. Conciseness and actionability are strong with only minor gaps (non-portable sed syntax, named-but-unshown tools).

Suggestions

Note that `sed -i ''` is macOS-specific; show the GNU/Linux equivalent or recommend a portable language-specific tool (jscodeshift/rope/gorename) as the primary rename path.

Provide a one-line example invocation for jscodeshift/ts-morph and rope/bowler since they are named as recommended tools but never demonstrated.

Trim the 'Inspired by' attribution line and redundant inline comments to tighten token efficiency.

DimensionReasoningScore

Conciseness

Largely efficient and well-organized with no over-explanation of concepts Claude already knows, but a few inline comments and the closing 'Inspired by' line could be trimmed; above the midpoint but not perfectly lean.

4 / 5

Actionability

Provides concrete, executable commands (grep, ast-grep, sed, tsc, mypy, go vet) and a language-tool table, but a couple of gaps remain: the `sed -i ''` form is macOS-only, and jscodeshift/ts-morph are named without example invocations.

4 / 5

Workflow Clarity

Four clearly sequenced phases (Analysis, Plan, Execute, Verify) with explicit validation checkpoints (type check, build, test, diff review) and a feedback loop for failure recovery — appropriate for a destructive/batch refactoring operation.

5 / 5

Progressive Disclosure

Single self-contained file with no bundle references and clean section headers (When to Use, What it Does, Approach by Language, Anti-Patterns, Example); well-organized structure with nothing that needs externalizing.

5 / 5

Total

18

/

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.

A strong description that is concrete, complete, and distinct, with explicit 'what' and 'when' guidance and several specific capabilities. The only minor gap is trigger-term breadth — a few natural user synonyms for refactoring/rename are absent.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'rename, find-references, go-to-definition', 'AST-aware pattern matching', and 'TDD verification' — giving comprehensive coverage of capabilities, matching the score-5 anchor.

5 / 5

Completeness

Explicitly answers both 'what' (IDE-level tools, AST-aware matching, TDD verification) and 'when' via 'Use for safe, large-scale refactoring with precision', matching the score-5 anchor with concrete trigger phrasing.

5 / 5

Trigger Term Quality

Includes natural user-facing terms like 'refactoring', 'rename', and 'large-scale refactoring', but is missing common synonyms users would naturally say (e.g. 'refactor code', 'rename function/variable'); good coverage with a few gaps.

4 / 5

Distinctiveness Conflict Risk

The IDE-level-tool framing (rename, find-references, go-to-definition) plus AST-aware matching carves a clear niche distinct from general coding skills, with minimal overlap risk.

5 / 5

Total

19

/

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

ArabelaTso/Skills-4-SE

Path

skills/lsp-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.