Agent skill

State Management

by emanueleielo in emanueleielo/deepagents-open-lovable

State management patterns - Zustand, Jotai, Context. An agent skill from emanueleielo/deepagents-open-lovable.

No licenceAuto-check passedFrontend & Design

Install State Management

skills CLI
$ npx skills add emanueleielo/deepagents-open-lovable --skill state-management -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install emanueleielo/deepagents-open-lovable state-management --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/emanueleielo/deepagents-open-lovable.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/skills/state-management .claude/skills/state-management && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
state-management
GitHub stars
111
Token cost
~1.7k tokens
SKILL.md length
187 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

State management patterns - Zustand, Jotai, Context. An agent skill from emanueleielo/deepagents-open-lovable.

  • Works in 6 steps: Zustand - Simple Global State → Zustand - Complex Store with Slices → Jotai - Atomic State → …
  • Tasks that involve State management
  • SKILL.md covers When to Use What, 1. Zustand - Simple Global State, 2. Zustand - Complex Store… and 3. Jotai - Atomic State, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

State Management is an agent skill from emanueleielo/deepagents-open-lovable. State management patterns - Zustand, Jotai, Context

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering State management. It works with Zustand, TanStack and React. The repository describes itself as: An open-source AI-powered frontend development platform built on DeepAgents and LangGraph. Generate complete React applications through natural language conversations.

When your agent uses it

  • Tasks that involve State management

Example prompts

  • “/state-management”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Zustand - Simple Global State
  2. Zustand - Complex Store with Slices
  3. Jotai - Atomic State
  4. Jotai - Atom Families
  5. Context API - When Appropriate
  6. Combining with TanStack Query

What it can do on your machine

Read from SKILL.md and the folder at commit 3935b36. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

State Management loads about 1.7k tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 187 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 187 words (~1,687 tokens).

“Rule: Server data belongs in TanStack Query, NOT in global state.”

— opening of SKILL.md by emanueleielo
name
state-management

Read the full SKILL.md on GitHub

Files

Just SKILL.md in agent/skills/state-management of emanueleielo/deepagents-open-lovable.

Open the folder on GitHubat commit 3935b36

Compare with similar skills

State Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

State Management compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
State Management this skillemanueleielo/deepagents-open-lovable111—~1.7kAutomated safety check: PassNone
Opik Frontend Patternscomet-ml/opik22k—~1.1kAutomated safety check: PassApache-2.0
React ExpertJeffallan/claude-skills12k—~1.4kAutomated safety check: PassMIT
React Webalinaqi/maggy707—~3.6kAutomated safety check: PassMIT
State Managementcohen-liel/hivemind110—~1.9kAutomated safety check: PassApache-2.0
React State ManagementHoangNguyen0403/agent-skills-standard572—~821Automated safety check: PassMIT

Similar skills

  • Sets the conventions for the Opik React frontend: TanStack Query for data, Zustand for shared state, one-way layer imports and a fix for Google Translate crashes.

    22k GitHub stars~1.1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • React Expert

    Jeffallan/claude-skills

    Builds React 19 components in TypeScript with Server Components, useActionState forms, custom hooks and state libraries, checked with tsc and React Testing Library.

    12k GitHub stars~1.4k tokensUpdated 7 days ago
    Frontend & DesignAuto-check passed
  • React Web

    alinaqi/maggy

    React web development with hooks, React Query, Zustand. An agent skill from alinaqi/maggy.

    707 GitHub stars~3.6k tokensUpdated 16 days ago
    Frontend & DesignAuto-check passed
  • State Management

    cohen-liel/hivemind

    Frontend state management patterns for React apps. An agent skill from cohen-liel/hivemind.

    110 GitHub stars~1.9k tokensUpdated 5 mo ago
    Frontend & DesignAuto-check passed
  • React State Management

    HoangNguyen0403/agent-skills-standard

    Select and implement local, global, and server state patterns in React.

    572 GitHub stars~821 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Component Patterns

    revfactory/harness-100

    React/Next.js component design pattern library. An agent skill from revfactory/harness-100.

    1.3k GitHub stars~1.5k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check passed

More from emanueleielo/deepagents-open-lovable

  • Component Patterns

    emanueleielo/deepagents-open-lovable

    React component patterns for reusable, maintainable code. An agent skill from emanueleielo/deepagents-open-lovable.

    111 GitHub stars~1.7k tokensUpdated 5 days ago
    Auto-check passed
  • Data Fetching

    emanueleielo/deepagents-open-lovable

    Data fetching with TanStack Query, loading states, and error handling

    111 GitHub stars~1.8k tokensUpdated 5 days ago
    Auto-check passed
  • Form Patterns

    emanueleielo/deepagents-open-lovable

    Form handling with React Hook Form and Zod validation. An agent skill from emanueleielo/deepagents-open-lovable.

    111 GitHub stars~2k tokensUpdated 5 days ago
    Auto-check passed

Questions about State Management

What does State Management do?

State management patterns - Zustand, Jotai, Context. An agent skill from emanueleielo/deepagents-open-lovable. State Management is an agent skill from emanueleielo/deepagents-open-lovable.

When should I use State Management?

State Management fits situations like: tasks that involve State management.

How do I install State Management in Claude Code?

Run `npx skills add emanueleielo/deepagents-open-lovable --skill state-management -a claude-code`. Or copy the skill folder (agent/skills/state-management in emanueleielo/deepagents-open-lovable) into .claude/skills/state-management in your project. Claude Code loads it when a task matches its description.

How do I install State Management in Codex?

Run `npx skills add emanueleielo/deepagents-open-lovable --skill state-management -a codex`. Or copy the skill folder (agent/skills/state-management in emanueleielo/deepagents-open-lovable) into .agents/skills/state-management in your project. Codex loads it when a task matches its description.

Can I use State Management in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add emanueleielo/deepagents-open-lovable --skill state-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/state-management, .gemini/skills/state-management, .github/skills/state-management and .opencode/skills/state-management in your project.

What does State Management need to run?

SKILL.md names no scripts, command-line tools or credentials: State Management is instructions for the agent only.

Does State Management access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is State Management safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does State Management use?

No licence was found for State Management or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does State Management use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to State Management?

Skills that share tags, products or a category with State Management: Opik Frontend Patterns (comet-ml/opik, 22k stars), React Expert (Jeffallan/claude-skills, 12k stars), React Web (alinaqi/maggy, 707 stars) and State Management (cohen-liel/hivemind, 110 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains State Management?

emanueleielo (a GitHub user) maintains it in emanueleielo/deepagents-open-lovable, which has 111 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 5, 2026.

Source: emanueleielo/deepagents-open-lovable on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.