What it does
Manage application state using Redux, MobX, Zustand, and Context API
Skills ZICQ category:Agent Workflows frontend-state-management
Manage application state using Redux, MobX, Zustand, and Context API. Use when centralizing state for complex applications with multiple components.
Official URL:skills.sh
Intro in this page language first. The official description stays in its original wording; we do not rewrite SKILL.md.
Manage application state using Redux, MobX, Zustand, and Context API
](#when-to-use)
Per Agent Skills progressive disclosure: name and description load at startup (~100 tokens); the full SKILL.md body loads when the skill activates; scripts/, references/, and assets/ load only as needed. This file's sections: Frontend State Management; Table of Contents; Overview; When to Use; Quick Start; Reference Guides.
File analysis: besides SKILL.md, the body references references/redux-with-redux-toolkit-react.md, references/zustand-lightweight-state-management.md, references/context-api-usereducer.md, references/mobx-observable-state.md. Those resources load on demand.
Frontend State ManagementTable of ContentsOverviewWhen to UseQuick StartReference GuidesBest Practices✅ DO❌ DON'T
Source category:skills.sh agent-skill
namefrontend-state-managementdescriptionreferences/redux-with-redux-toolkit-react.mdreferences/zustand-lightweight-state-management.mdreferences/context-api-usereducer.mdreferences/mobx-observable-state.mdThese paths are extracted from the text. Check the upstream package to verify the files exist.
Invocation syntax and available tools depend on your Agent client. Client integration guide ↗
Choose the target agent and installation scope, keep referenced package files, then verify the skill appears in the client's catalog.
This skill references supporting files. Retrieve the complete directory from the source; copying SKILL.md alone may leave missing dependencies.
Copy these instructions to a compatible agent and confirm the target directory matches your client.
Install the agent skill "frontend-state-management" into my project. The full SKILL.md and official description are at https://zicq.com/en/skills/skl-ecc5d2a9a4a783f3-Frontend-State-Management.html Save it as .cursor/skills/frontend-state-management/SKILL.md or .claude/skills/frontend-state-management/SKILL.md and keep the frontmatter name and description exactly as-is. This skill also ships scripts/, references/, or assets/ — fetch the whole folder from https://github.com/aj-geddes/useful-ai-prompts instead of creating only a SKILL.md.
Requires Node.js and npx. First inspect the repository's skill list to confirm the name.
npx skills add 'https://github.com/aj-geddes/useful-ai-prompts' --list
npx skills add 'https://github.com/aj-geddes/useful-ai-prompts' --skill 'frontend-state-management'
The CLI lets you choose the agent interactively. The default scope is the project; use -g for user scope. Confirm package availability with the discovery command, then use npx skills list to inspect installed skills.
Implement scalable state management solutions using modern patterns and libraries to handle application state, side effects, and data flow across components.
Minimal working example:
// store/userSlice.ts
import { createSlice, createAsyncThunk, PayloadAction } from '@reduxjs/toolkit';
interface User {
id: number;
name: string;
email: string;
}
interface UserState {
items: User[];
loading: boolean;
error: string | null;
}
const initialState: UserState = {
items: [],
loading: false,
error: null
};
export const fetchUsers = createAsyncThunk(
'users/fetchUsers',
async (_, { rejectWithValue }) => {
try {
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents | |---|---| | Redux with Redux Toolkit (React) | Redux with Redux Toolkit (React) | | Zustand (Lightweight State Management) | Zustand (Lightweight State Management) | | Context API + useReducer | Context API + useReducer | | MobX (Observable State) | MobX (Observable State) |
Agent Workflows
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that exte…
Agent Workflows
Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fl…
Agent Workflows
Orchestrate multi-agent teams with defined roles, task lifecycles, handoff protocols, and review workflows. Use when: (1) Setting up a team …
Agent Workflows
Spec-first, TDD, subagent-driven software development workflow. Use when: (1) building any new feature or app — triggers brainstorm → plan →…