CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

statelyai/state-management

Model, review, and refactor application state so source state stays minimal, derived state is computed instead of synchronized, impossible states are not representable, and each piece of state lives in the right place. Use this whenever the user mentions state management, reducers, stores, Redux, Zustand, React state, Vue state, Pinia, selectors, derived state, duplicated state, boolean flags, invalid states, async status, useEffect soup, forms, wizards, filters, URL state, server state, or confusing UI logic, even if they do not explicitly ask for a "state model."

Quality

87%

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

Overview
Quality
Evals
Security
Files

Quality

Scored by GLM 5.3

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 strong, well-structured methodology skill: the core workflow is concrete and sequenced, the taxonomy and anti-pattern lists are actionable, and progressive disclosure is exemplary with a task-to-file routing table over verified one-level-deep references. The main cost is token efficiency — the same principles are restated across five-plus sections and could be consolidated.

Suggestions

Consolidate the repeated principles: 'Your job', 'Core principles', 'Modeling questions', and 'Final self-check' each restate 'keep source state minimal' and 'collapse booleans into a status field' — merge these into a single principles section plus the self-check, cutting roughly 30-40 lines.

Move the 'Anti-patterns' list into references/review-checklist.md (which already overlaps it heavily) and keep only the top 3-4 smells inline, since the body already routes review tasks to that file.

Add one short worked example inline (a before/after state model: boolean soup collapsed into a discriminated union) to lift actionability toward fully executable guidance without relying on the reference files.

DimensionReasoningScore

Conciseness

The body never explains concepts Claude already knows (no library primers), but the same principles are restated across many sections: "Keep source state minimal" appears in "Your job," "Core principles," "Modeling questions," and "Final self-check," and the boolean-collapse guidance repeats in at least five places (taxonomy, principles, representation, anti-patterns, self-check). The redundancy is more than minor, fitting the 3 anchor ("could be tightened") better than 4.

3 / 5

Actionability

As an instruction-only skill it gives concrete, followable guidance: a 9-step workflow, an explicit taxonomy, specific code-level smells ("storing both `selectedItem` and `selectedId` without a clear reason," "useEffect chains that coordinate business logic"), and a structured output format. It falls short of 5 only because there is no worked before/after state-model example inline; code examples live entirely in the reference files.

4 / 5

Workflow Clarity

The workflow is a clearly sequenced 9-step procedure, preceded by task-mode selection and a "First pass" for existing codebases, and followed by an explicit "Final self-check" checklist that functions as a validation checkpoint. It misses 5 because there is no error-recovery feedback loop (what to do when a self-check item fails is left implicit).

4 / 5

Progressive Disclosure

The body is a genuine overview (taxonomy, principles, workflow) while all library-specific detail is split into 8 real, one-level-deep reference files, each verified to exist with no nested references. The "Reference routing" section explicitly maps each task type to its file ("React: references/react.md" etc.), matching the 5 anchor for well-signaled one-level-deep references with easy navigation.

5 / 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 states concrete capabilities in third person, gives an explicit and comprehensive trigger list with library names and natural user phrasing, and clearly separates what the skill does from when to use it. The only weakness is a handful of overly broad tail triggers that create minor overlap risk with adjacent frontend skills.

DimensionReasoningScore

Specificity

Names three concrete actions ("Model, review, and refactor application state") and elaborates each with concrete outcomes: "source state stays minimal, derived state is computed instead of synchronized, impossible states are not representable, and each piece of state lives in the right place." This is comprehensive coverage of the domain with no meaningful gap, matching the 5 anchor rather than 4.

5 / 5

Completeness

Explicitly answers both questions: the "what" is the first sentence's concrete capability list, and the "when" is "Use this whenever the user mentions..." with concrete trigger phrases, including the edge case "even if they do not explicitly ask for a 'state model.'" This is a clear match for the 5 anchor.

5 / 5

Trigger Term Quality

The trigger list is comprehensive with synonyms and ecosystem-specific names users naturally say: "state management, reducers, stores, Redux, Zustand, React state, Vue state, Pinia, selectors, derived state, duplicated state, boolean flags, invalid states, async status, useEffect soup, forms, wizards, filters, URL state, server state, or confusing UI logic." Almost no natural term for this domain is missing, so it fits the 5 anchor rather than 4.

5 / 5

Distinctiveness Conflict Risk

It has a clear niche (state modeling) with distinct triggers like Redux, Zustand, Pinia, and reducers, but tail triggers such as "forms," "wizards," "filters," and "confusing UI logic" are broad enough to overlap general frontend or form-building skills. It fits 4 ("mostly distinct; minor overlap risk") better than 5 because of these broad tail terms.

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.

Reviewed

On this page