🎨 Store Data Structures

This skill helps you design efficient Zustand stores by separating list and detail data, using maps for details, and defining clear type boundaries.

QUICK INSTALL
npx playbooks add skill lobehub/lobehub --skill store-data-structures

Store Data Structures instructions

Store Data Structures

Read [Zustand data structures](../zustand/references/data-structures.md) for
list/detail types, maps, reducers and shared type sources. The zustand skill
is the automatic entry for store work.

A domain whose reads go through local-replica keeps its data in the same
id-keyed <domain>Map views, plus one <domain>Replica bookkeeping field per
view; its resources live in a sibling projection.ts. See
[replica-backed server data](../zustand/SKILL.md#replica-backed-server-data).

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.