CtrlK
BlogDocsLog inGet started
Tessl Logo

migrate-state-management

Migrate Redux or React Context to the correct state option (React Query for server state, nuqs for URL/shareable state, Zustand for global client state). Use when refactoring away from Redux/Context, moving state to the right store, or when the user asks to migrate state management.

69

Quality

85%

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 well-structured, highly actionable migration guide with a strong classify-first decision table and per-path before/after examples. The main weaknesses are placeholder-laden code that isn't fully executable, no executable validation step for a batch refactoring, and a dangling reference.md link that fails progressive-disclosure navigation in this bundle.

Suggestions

Ship the referenced reference.md in the bundle (or remove/fix the "Detailed patterns and rationale" and .cursor/rules links) so the one-level-deep reference actually resolves — this is the direct fix for the progressive_disclosure gap.

Make the before/after code examples executable by replacing `useQuery(...)`, `useMemo(() => ({ ... })`, and `useDispatch(...)` placeholders with complete runnable snippets, or explicitly justify the abbreviation.

Add an explicit validation step to the migration checklist (e.g. run typecheck/build and the affected tests after removing old slices and consumers) to provide a feedback loop for this batch, destructive refactoring.

DimensionReasoningScore

Conciseness

The body is dense and directive with no concept explanations Claude already knows (it never explains what Redux or React Query are), and the classification table is token-efficient. It stops short of anchor 5 because the "Migration checklist" section largely restates sections 2–5 and the selector rule is stated twice (step 3 and the "Selector (required)" block), which could be tightened.

4 / 5

Actionability

Each migration path has numbered concrete steps, explicit before/after code, and hard rules ("Never use `useStore()` with no selector", "Add `eslint-plugin-zustand-rules` with `plugin:zustand-rules/recommended`"). It is not anchor 5 because several code examples contain placeholders rather than executable code — `useQuery(...)`, `useMemo(() => ({ ... })`, `useDispatch(...)`, `parseAsString.withDefault('…')` — so they are illustrative rather than copy-paste ready.

4 / 5

Workflow Clarity

A clear sequence exists: classify first (decision table), then per-type migration steps, then a verification checklist covering removal of old slices/providers and duplicate-data checks. It does not reach anchor 5 (and flirts with the destructive/batch cap of 3) because removing Redux slices and all consumers is a batch, semi-destructive operation with no executable validation step — no typecheck, build, or test command to confirm behavior is preserved — leaving a minor checkpoint gap rather than a missing one.

4 / 5

Progressive Disclosure

Section structure is good and the "Additional resources" section clearly signals a one-level-deep reference ("Detailed patterns and rationale: [reference.md](reference.md)"), but no references/, scripts/, or assets/ directories exist in the bundle — the referenced reference.md and the linked ../../rules/state-management.mdc do not resolve, so navigation breaks. Per the guideline to score against the actual bundle structure, this is a reference present but not resolvable, fitting anchor 3 rather than anchor 4's "references mostly clear" with only minor organization gaps.

3 / 5

Total

15

/

20

Passed

Description

100%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 exemplary description: concrete multi-target action mapping, explicit and varied "Use when..." triggers in third-person voice, and a well-defined niche. It closely matches the strongest reference examples in structure and density with no padding or over-claims.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions with explicit tool mappings: "Migrate Redux or React Context to the correct state option (React Query for server state, nuqs for URL/shareable state, Zustand for global client state)" — comprehensive and fully concrete, matching the anchor-5 example's multi-action coverage. It uses third-person voice throughout ("Migrate", "Use when"), so no voice penalty applies.

5 / 5

Completeness

It explicitly answers both questions: what it does ("Migrate Redux or React Context to the correct state option..." with the three targets) and when to use it ("Use when refactoring away from Redux/Context, moving state to the right store, or when the user asks to migrate state management"). This mirrors the anchor-5 example structure exactly.

5 / 5

Trigger Term Quality

Natural phrases a user would actually say are covered: "migrate state management", "refactoring away from Redux/Context", "moving state to the right store", plus named libraries (React Query, nuqs, Zustand) and state-type synonyms (server state, URL/shareable state, global client state). Coverage is comprehensive with synonyms; it does not fall to anchor 4 because no clearly common natural trigger phrasing is missing.

5 / 5

Distinctiveness Conflict Risk

A clear niche — migrating away from Redux/React Context — with distinct triggers that would not fire for unrelated skills. Only an edge case ("migrate to Redux") could mis-trigger, which is minimal conflict risk consistent with the anchor-5 example rather than the "minor overlap risk" of anchor 4.

5 / 5

Total

20

/

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.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 missing, 1 suspicious

Warning

Total

15

/

16

Passed

Repository
SigNoz/signoz
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.