akillness avatar

State Management

This forces you to name the state packet before picking a library. Instead of jumping straight to "Zustand vs Redux Toolkit," it walks you through classifying whether you're dealing with local UI toggles, shared subtree data, URL filters, form lifecycle, server cache, or actual cross-page workflow state. Then it recommends the smallest owner that fits: local state, Context, search params, TanStack Query, or only then a client store like Zustand or RTK. The real value is in the anti-pattern check that calls out common mistakes like mirroring server data into a global store or hiding shareable filters outside the URL. Best for React and Next.js projects where the team keeps reaching for heavyweight solutions when simpler ownership would work.

skills.sh installs
165
GitHub stars
22
last updated
Jun 3, 2026

Install

$ npx -y skills add akillness/oh-my-skills --skill state-management --agent claude-code

Installs into .claude/skills of the current project.

Files

State Management

Use this skill when the real question is:

What packet is this state, who should own it, and what tempting wrong owner should we avoid?

Do not start with a library debate. Start by naming one primary packet, then choose the smallest owner that matches its lifecycle.

Read references/ownership-packets-and-route-outs.md before handling a mixed or ambiguous request. Read references/decision-matrix.md when the packet is clear and you need to compare likely owners. Read references/handoff-boundaries.md when the request may actually belong to react-best-practices, api-design, debugging, design-system, design-system, or responsive-design.

Sponsors

Details

Repository
github.com/akillness/oh-my-skills
First seen
Jun 3, 2026

More from akillness/oh-my-skills

All 81

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs