CtrlK
BlogDocsLog inGet started
Tessl Logo

robius-state-management

CRITICAL: Use for Robius state management patterns. Triggers on: AppState, persistence, theme switch, 状态管理, Scope::with_data, save state, load state, serde, 状态持久化, 主题切换

48

Quality

51%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/robius-state-management/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

50%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This skill provides comprehensive, concrete Rust code patterns for Makepad state management, which is valuable for a niche framework. However, it is significantly over-verbose—inlining full struct definitions, impl blocks, and persistence functions that could be in reference files or condensed to key patterns. The workflow sequencing is adequate but lacks explicit validation checkpoints for file I/O operations.

Suggestions

Reduce inline code by moving full struct definitions and persistence implementations to reference files, keeping only the key patterns and API signatures in SKILL.md

Remove explanations of standard Rust patterns (serde derives, HashMap, thread_local) that Claude already knows, focusing only on Makepad/Robius-specific conventions

Add explicit validation steps for persistence operations, e.g., verify file was written successfully by reading back, or check directory exists before writing

Consolidate the Best Practices list items that are already demonstrated in code examples to avoid redundancy

DimensionReasoningScore

Conciseness

The skill is quite verbose at ~350+ lines, with extensive code blocks that include full struct definitions, impl blocks, and boilerplate that Claude could generate from brief patterns. The SelectedRoom enum with all its methods, LiveIdSerde wrapper, and full persistence functions are over-specified. Many sections explain patterns Claude already knows (serde derive, HashMap usage, thread_local).

2 / 5

Actionability

The code examples are concrete, executable, and cover the main patterns (state definition, scope propagation, persistence save/load, startup/shutdown). Minor gaps exist—some types like RoomNameId, WindowGeomState, and CachedData are referenced but not defined, and the code won't compile standalone—but the patterns are clear enough to adapt.

4 / 5

Workflow Clarity

The startup/shutdown integration section shows a clear sequence for loading and saving state, and the persistence layer includes graceful fallback with backup. However, there's no explicit validation workflow (e.g., verifying state was saved correctly, checking file integrity after write), and the overall document reads more as a reference catalog than a sequenced workflow. The persistence operations are potentially destructive (overwriting state files) without explicit verification steps.

3 / 5

Progressive Disclosure

The skill references a `_base/` directory with pattern files and a `references/` directory with additional docs, which is good structure. However, the main SKILL.md inlines extensive code (~300 lines) that could be in reference files, while the actual reference files aren't provided in the bundle. The table of production patterns is a nice touch but the bulk content should be split out.

3 / 5

Total

12

/

20

Passed

Description

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

The description functions primarily as a trigger term list rather than a proper skill description. While it has good keyword coverage including multilingual terms and framework-specific identifiers, it fails to clearly articulate what the skill actually does beyond 'state management patterns.' The lack of a substantive 'what it does' explanation is the primary weakness.

Suggestions

Add a clear 'what' clause describing concrete actions, e.g., 'Implements state management in Robius apps including creating AppState structs, persisting state with serde, and implementing theme switching.'

Convert the trigger list format into a proper 'Use when...' clause, e.g., 'Use when the user needs to manage application state, persist data, or implement theme switching in a Robius project.'

DimensionReasoningScore

Specificity

Names the domain (Robius state management) and mentions a few concrete actions like 'save state', 'load state', 'theme switch', and 'persistence', but doesn't comprehensively describe what the skill actually does beyond listing trigger terms.

3 / 5

Completeness

The 'when' is addressed via trigger terms, but the 'what' is extremely vague — it only says 'Robius state management patterns' without explaining what concrete actions or outputs the skill provides. The description reads more like a trigger list than a complete description.

2 / 5

Trigger Term Quality

Includes good natural keywords like 'AppState', 'save state', 'load state', 'serde', 'theme switch', 'persistence', and even Chinese equivalents (状态管理, 状态持久化, 主题切换). Missing some variations but overall solid coverage of terms a user might naturally use.

4 / 5

Distinctiveness Conflict Risk

The specificity to 'Robius' framework and its particular APIs (Scope::with_data, AppState) makes this fairly distinct. Minor overlap risk with generic state management or serde-related skills, but the Robius-specific terms reduce conflict significantly.

4 / 5

Total

13

/

20

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
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.