Skip to content

Opinionated Zustand guide of 43 rules covering store architecture, selectors, and re-render prevention for React apps.

CCM score
49 of 100
skills.sh installs
468
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers store architecture, selector optimization, re-render prevention, state updates, middleware, SSR hydration, TypeScript, and advanced patterns
  • Includes 43 rules across 8 prioritized categories, each linked to its own reference file with explanations and code examples
  • Enforces always-selective store subscriptions, atomic picks, stable selector returns, and separated actions and state
  • Designed for teams writing, reviewing, or refactoring Zustand stores in React and Next.js applications

Install

$ npx -y skills add pproenca/dot-skills --skill zustand -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Community Zustand Best Practices

Comprehensive performance and architecture guide for Zustand state management in React applications. Contains 43 rules across 8 categories, prioritized by impact from critical (store architecture, selector optimization) to incremental (advanced patterns).

When to Apply

Reference these guidelines when:

  • Creating new Zustand stores
  • Optimizing re-render performance with selectors
  • Implementing persistence or middleware
  • Integrating Zustand with SSR/Next.js
  • Reviewing code for state management patterns

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Store ArchitectureCRITICALstore-
2Selector OptimizationCRITICALselect-
3Re-render PreventionHIGHrender-
4State UpdatesMEDIUM-HIGHupdate-
5Middleware ConfigurationMEDIUMmw-
6SSR and HydrationMEDIUMssr-
7TypeScript PatternsLOW-MEDIUMts-
8Advanced PatternsLOWadv-

Quick Reference

1. Store Architecture (CRITICAL)

Details

Repository
github.com/pproenca/dot-skills
Category
Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the zustand skill help with?

The zustand skill gives best practices for writing, reviewing, and refactoring Zustand stores in React applications. It covers store architecture, selector optimization, re-render prevention, state updates, middleware, SSR and hydration, TypeScript patterns, and advanced patterns across 43 rules.

How do I install the zustand skill?

Run npx -y skills add pproenca/dot-skills --skill zustand -y in your project. Once installed, the agent can apply the Zustand guidelines when you create stores, optimize selectors, or review state management code.

Which other skills sit in the same category as zustand?

The zustand skill is in the Frontend & UI Code category on Claude Marketplaces, and it is listed alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns, and lark-apps. Its focus is narrower than those, centered on Zustand state management specifically.

More from pproenca/dot-skills

All 100

Similar to Zustand

More Frontend & UI Code