# Zustand Data Shapes

Points to Zustand data-shape guidance kept for older references.

- Repository: https://github.com/lobehub/lobehub (83676 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add lobehub/lobehub --skill store-data-structures -g -a claude-code -y`
Codex: `npx skills add lobehub/lobehub --skill store-data-structures -g -a codex -y`
Cursor: `npx skills add lobehub/lobehub --skill store-data-structures -g -a cursor -y`
Gemini CLI: `npx skills add lobehub/lobehub --skill store-data-structures -g -a gemini-cli -y`

## Description

Explicit compatibility entry for Zustand data-shape guidance.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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).

