CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

frontend-refactor-planner

This guide helps plan frontend refactors by identifying issues, prioritizing them by risk and impact, and breaking work into testable phases. It covers component and state changes, performance, accessibility, testing, rollout safeguards, and criteria for considering the refactor complete.

Quality

86%

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

Scored by GLM 5.3

Content

78%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 compact, well-structured planning checklist with a clear phased sequence and concrete acceptance thresholds. Its main weakness is actionability: it catalogs refactor patterns Claude already knows rather than providing a plan template, risk-assessment method, or example output.

Suggestions

Add a brief example or skeleton of the expected refactor plan output (e.g., how phases, risks, and done criteria should be formatted for one small component) so the guidance moves from checklist to executable instruction.

Replace the generic pattern lists Claude already knows (memoization, ARIA labels, lift state up) with skill-specific judgment rules, such as how to decide when to split a component vs. extract hooks, or how to score risk for a given file.

Add explicit phase gates, e.g., 'Do not start Phase 2 until tests cover the current behavior and pass', to turn the done criteria into per-phase validation checkpoints.

DimensionReasoningScore

Conciseness

The 33-line body is a lean checklist with zero padding — it names techniques ('useMemo/useCallback', 'Context/Zustand', 'virtualization') without explaining what they are, assuming Claude's competence, matching the 'every token earns its place' anchor.

5 / 5

Actionability

Concrete specifics exist (the '>300 lines' threshold, named tools, '>80%' coverage, 'accessibility score 95+') but there is no example refactor plan, output template, or worked guidance on how to actually assess risk or structure the plan — and much of the pattern list (memoization, ARIA labels, lift state up) restates knowledge Claude already has, fitting the 'some concrete guidance but incomplete' anchor rather than the mostly-executable one.

3 / 5

Workflow Clarity

The four-phase sequence (Stabilize → Extract → Simplify → Polish) is clearly ordered, and 'Phase 1 - Stabilize: Add tests' plus the 'Done Criteria' section provide most checkpoints, but there is no explicit gate like 'only proceed to Phase 2 when tests pass', matching the 'clear sequence with minor validation gaps' anchor.

4 / 5

Progressive Disclosure

This is a simple under-50-line skill with no bundle files and no need for external references; the body is well-organized into clearly headed sections (Assessment, Patterns, Phases, Risk, Done), which per the rubric's simple-skill note earns the top score.

5 / 5

Total

17

/

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.

A strong description that clearly and explicitly states both capabilities and trigger conditions using natural language and third person. The only gaps are a few missing synonyms a user might naturally say (e.g., 'tech debt', 'code cleanup').

DimensionReasoningScore

Specificity

The description lists multiple concrete capability areas — 'component splitting strategies, state simplification, performance optimizations, and accessibility improvements' plus 'phased approach, risk assessment, and "done" criteria' — which matches the comprehensive-coverage anchor rather than the minor-gaps anchor at 4.

5 / 5

Completeness

It explicitly answers both what ('Creates safe refactor plans... including component splitting... Provides phased approach, risk assessment, and "done" criteria') and when ('Use when refactoring "legacy code", "messy components", "performance issues", or "large files"') with concrete trigger phrases, matching the top anchor.

5 / 5

Trigger Term Quality

Good natural keyword coverage — 'legacy code', 'messy components', 'performance issues', 'large files' are phrases users would actually say — but common synonyms like 'tech debt', 'code cleanup', 'refactor', or 'component is too big' are missing, so it falls just short of the comprehensive-synonyms anchor.

4 / 5

Distinctiveness Conflict Risk

The niche (refactor planning for messy UI code) is mostly distinct with clear triggers, but 'refactoring' and 'performance issues' create minor overlap risk with general code-review/simplification skills, fitting the 'mostly distinct; minor overlap' anchor rather than the minimal-conflict anchor.

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/frontend-refactor-planner/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.