Registry / terminalskills

terminalskills/skills/zustand

Zustand is a small state-management library for React: a store is a hook, components subscribe to slices of it with selectors, and no context provider is needed. Use when a user asks to "add a Zustand store", "share state between components without Redux", "persist state to localStorage", "fix Maximum update depth exceeded after upgrading to Zustand v5", "use Zustand with Next.js", or wants the persist, devtools, immer or subscribeWithSelector middleware. Covers the v5 API: typed stores, useShal

Agent skill · version 0.0.0-main.1795731570.g4228905 · from TerminalSkills/skills

Install

npx yarkr-cli add skill:terminalskills/skills/zustand

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:terminalskills/skills/zustand
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:terminalskills/skills/zustand

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:terminalskills/skills/zustand

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.