
State Management
by asyrafhussin1aa0ff717c10MIT86 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 6 weeks ago
React Query and Zustand patterns for state management. Use when implementing data fetching, caching, mutations, or client-side state. Triggers on tasks involving useQuery, useMutation, Zustand stores, caching, or state management.
Add to a SourceWeft workspace
- Open the skill in your dashboard and add it to a workspace.
- Enable it for the chats that should use it.
This skill is instructions only: it ships no scripts to execute.
Add to SourceWeftYou will be asked to sign in first, then taken straight to this skill.
Ask your agent to install it
Paste this prompt into Claude Code, Codex, Cursor or another agent that can run commands — or into SourceWeft chat. The agent reads this skill's install guide, shows you its source, license and scripts, and installs it with the SourceWeft CLI once you agree.
Read https://sourceweft.com/skills/gh-asyrafhussin-agent-skills-state-management/install.md and install the skill it describes. Before installing, show me its source, license and whether it ships scripts, and wait for my OK. Ask me before changing anything else on my machine.Install it yourself from a terminal
For Claude Code, Codex, Cursor and other local agents. The SourceWeft CLI fetches the skill from its source repository at the commit scanned here, and verifies every file against the hashes recorded when the skill was scanned. If anything differs, nothing is written.
npx @sourceweft/cli skills install gh-asyrafhussin-agent-skills-state-managementAdd --agent claude-code, codex, cursor or universal to choose which agent gets it (Claude Code by default).
Upstream installer — not verified by SourceWeft
The open-source skills installer fetches the same pinned commit, but does not check the files against the hashes SourceWeft recorded.
npx skills add https://github.com/asyrafhussin/agent-skills/tree/1aa0ff717c10309226c9e678f00873976450fd76/skills/state-managementSource and attribution
Source:asyrafhussin/agent-skillsinskills/state-managementat commit1aa0ff7
License: MIT
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from asyrafhussin/agent-skills

Web Design Guidelines
asyrafhussin
Audits web UI code for WCAG accessibility, form usability, motion and performance best practices.

Typescript React Patterns
asyrafhussin
Provides 33 TypeScript rules for typing React components, hooks, events, refs, generics, and context.

Tailwind Best Practices
asyrafhussin
Provides Tailwind CSS v3.4 and v4 patterns for responsive design, dark mode, components, config, and migration.

Prd Writing
asyrafhussin
Guides an agent through a six-step workflow for writing Product Requirements Documents.

Php Best Practices
asyrafhussin
Reference rules for reviewing PHP 8.x code against type safety, PSR standards, SOLID principles, error handling, performance and security.

Laravel Testing
asyrafhussin
Guidance for writing Laravel 13 tests with Pest PHP 4 or PHPUnit 12, covering HTTP, factories, database assertions, fakes and auth.
More in Software Development

Playground
anthropics
Builds self-contained interactive HTML playgrounds with controls, live preview, and copyable prompt output.

M5 Onboard
anthropics
Provisions M5Stack ESP32 boards by detecting them on USB, flashing UIFlow 2.0 firmware, and installing a MicroPython app bundle.

Cardputer Buddy
anthropics
Guides iterating on a Cardputer-Adv MicroPython app bundle: adding apps, pushing files over USB-serial, tailing logs, and running REPL commands.

Web Design Guidelines
vercel-labs
Reviews UI code against Web Interface Guidelines fetched from a remote source and reports findings as file:line entries.

Vercel React Native Skills
vercel-labs
React Native and Expo best-practice rules covering list performance, animation, navigation, UI patterns, state, and monorepo setup.

Vercel React Best Practices
vercel-labs
Vercel's React and Next.js performance guidelines, organized as 70 rules for writing, reviewing, and refactoring code.