Agent skill · Design & Presentation

robius-state-management

AppState, persistence, theme switch, 状态管理, 状态持久化, 主题切换

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill robius-state-management --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 13 KB
Bundled scripts: none
Path: skills/robius-state-management/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Robius State Management Skill Best practices for state management and persistence in Makepad applications based on Robrix and Moly codebases. **Source codebases:** - **Robrix**: Matrix chat client - AppState, SelectedRoom, persistence via serde - **Moly**: AI chat application - Central Store pattern, async initialization, Preferences ## When to Use Use this skill when: - Designing application state structure - Implementing state persistence - Passing state through widget tree - Managing UI state across sessions - Keywords: app state, makepad state, persistence, Scope::with_data, save state, load state ## Production Patterns For production-ready state management patterns, see the `_base/` directory: | Pattern | Description | |---------|-------------| | 06-global-registry | Global widget registry with Cx::set_global | | 07-radio-navigation | Tab-style navigation with radio buttons | | 10-state-machine | Enum-based state machine widgets | | 11-theme-switching | Multi-theme support with apply_over | | 12-local-persistence | Save/load user preferences | ## AppState Structure ### Core State Definition ```rust use serde::{Serialize, Deserialize}; use std::collections::HashMap; use matri

What's inside
Steps it walks through
  1. When to Use
  2. Production Patterns
  3. AppState Structure
  4. Core State Definition
  5. Layout/Dock State Persistence
  6. State Propagation via Scope
  7. Passing State Through Widget Tree
  8. Accessing State in Child Widgets
  9. Modifying State
  10. Persistence Layer
  11. File Paths
  12. Saving State
  13. Loading State
  14. Startup/Shutdown Integration
More from agentic-awesome-skills
All skills →
About this skill
What does the robius-state-management skill do?

AppState, persistence, theme switch, 状态管理, 状态持久化, 主题切换

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill robius-state-management --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going