CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

gitnexus-refactoring

Use when the user wants to rename, extract, split, move, or restructure code safely. Examples: "Rename this function", "Extract this into a module", "Refactor this class", "Move this to a separate file"

Quality

89%

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

77%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 highly actionable with exact tool calls, complete checklists, and exemplary validation/feedback loops for a disk-writing operation. Its weaknesses are repetition of repo-binding guidance across sections and the absence of any progressive disclosure: the 20-row error table and deep rename internals belong in a separate reference file rather than inline in SKILL.md.

Suggestions

Move the rename error-recovery table and the plan-token/provider-semantics detail into a references file (e.g., references/rename-errors.md), keeping only the top few failure modes and recovery rules inline.

State repo-binding guidance once in "Bind the repository first" and shorten the repeated checklist lines to a pointer (e.g., "bind repo per 'Bind the repository first'") to remove the duplication across all three checklists and the example.

Trim the semantic-layer prose to the fail-closed rules and coverage caveats Claude must act on, cutting implementation internals like eviction thresholds (16 plans / 64 MiB) and result_version details unless they change operator behavior.

DimensionReasoningScore

Conciseness

The content is tool-specific rather than padding with concepts Claude already knows, but repo-binding guidance is repeated in the intro section, all three checklists, and the worked example, and ~70 lines of rename prose (token eviction thresholds, retention budgets, provider internals) plus a 20-row error table could be tightened. It is not a 4 because the redundancy and inline reference-grade detail go beyond "minor instances of over-explanation".

3 / 5

Actionability

Every tool has exact, copy-paste-ready call shapes (e.g., rename({symbol_name, new_name, dry_run: false, plan_token})), a runnable terminal command (node .gitnexus/run.cjs analyze), concrete cypher examples, and a complete end-to-end worked example covering the common rename case. Specific examples fully cover the common refactoring operations.

5 / 5

Workflow Clarity

The destructive write operation is guarded by an explicit validation chain — dry-run preview, confirming previewed file paths, plan_token-gated apply, detect_changes verification, then running tests — with numbered workflow steps, per-task checklists, and a per-error-code recovery table providing feedback loops. This matches the anchor for clear sequence with explicit validation and error-recovery loops.

5 / 5

Progressive Disclosure

In-file sectioning is good (When to Use, Workflow, Checklists, Tools, Risk Rules, Example), but no bundle files exist at all and reference-grade material — the ~20-row error-recovery table and the detailed rename token lifecycle and provider-semantics paragraphs — is fully inlined. This matches the anchor where content that should be separate is inline; it is not a 2 because the file has clear section headers and is navigable.

3 / 5

Total

16

/

20

Passed

Description

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

An excellent description: it names concrete refactoring actions, provides an explicit "Use when" trigger clause, and includes four verbatim user-style example phrases. The only minor weakness is slight overlap potential between generic rename/move requests and general editing skills.

DimensionReasoningScore

Specificity

The description lists five concrete, distinct actions — "rename, extract, split, move, or restructure code safely" — matching the anchor for multiple specific concrete actions with comprehensive coverage of the refactoring verb set. It is not a 4 because no refactoring verb is conspicuously missing from the enumerated set.

5 / 5

Completeness

It explicitly answers "when" with a "Use when the user wants to..." clause plus concrete trigger phrases, and answers "what" through the enumerated actions (rename, extract, split, move, restructure code). The "when" is as explicit as the anchor-5 example, so anchor 4 ("when could be more explicit") does not fit.

5 / 5

Trigger Term Quality

The quoted examples ("Rename this function", "Extract this into a module", "Refactor this class", "Move this to a separate file") are natural user phrasings, and synonyms (rename/restructure/refactor/move) are covered. There are no file extensions to include since the domain is code, not a file format.

5 / 5

Distinctiveness Conflict Risk

The refactoring niche is clear with distinct triggers, but phrases like "Rename this function" and "Move this to a separate file" carry minor overlap risk with generic code-editing or file-manipulation skills. It is not a 3 because the verb set is tightly scoped to code restructuring rather than broadly overlapping.

4 / 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

abhigyanpatwari/GitNexus

Path

.claude/skills/gitnexus-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.