Skip to content
cccskills
FreePublished on GitHubEnglish overview

store-data-structures

Find guidance for shaping data in Zustand stores, including list and detail types, ID-keyed maps, reducers, and shared type sources. It also points to conventions for replica-backed domain data and clarifies that the zustand skill is the automatic entry for store work.

OriginalShow the original description

Explicit compatibility entry for Zustand data-shape guidance.

lobehub/lobehub83,504 stars(GitHub 83,504 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Choosing list and detail types for a Zustand store
  • Structuring records in ID-keyed maps
  • Finding guidance on reducers and shared types

Overview

What it does

This skill points to guidance for deciding how data should be structured in Zustand stores. For list and detail types, ID-keyed maps, reducers, and shared type sources, it directs you to the related zustand data structures guide. It also describes a convention for domains whose reads go through local-replica: use ID-keyed <domain>Map views, add a <domain>Replica field to track the replicated state of each view, and keep resources in a neighboring projection.ts file.

When it helps

Use it when considering how to represent list and detail data in a Zustand store, or when checking the structure of a domain that uses replicated data. For store work, the zustand skill is the automatic entry point; this skill is an explicit guide to the data-structure details.

Example requests

  • “Check the guide for separating list and detail data types in Zustand.”
  • “Find the convention for storing this store’s data in ID-keyed maps.”
  • “Review the data structure for a domain that uses local-replica.”

Notes

For details, see ../zustand/references/data-structures.md and the zustand skill section on “replica-backed server data.”

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Document check

AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).

SafetyAre sending data, deleting files, and running commands disclosed?
AGoodIt only provides references and data-structure conventions; no external or destructive operations are described.
Easy setupDoes it need few tools or API keys, and are they documented?
AGoodNo external service or credential prerequisites are stated; it only points to guides.

Not counted in the score. Rated by AI (OpenAI Codex) as of Oct 26, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (2)

  • SKILL.md678 B
  • agents/openai.yaml43 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Store Data Structures

Read Zustand data structures 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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

acceptance

FreeSummary

Use this skill to verify a delivery by exercising the real product through a suitable surface such as a CLI, web app, desktop app, or iOS Simulator. It helps create or find a verification plan, capture evidence, and publish an acceptance report.

  • Verifying a completed product change
  • Collecting screenshots or other evidence
  • Creating a verification plan and report
lobehub/lobehub83.5KUpdated Oct 26, 2026

Use this skill to add an AI model provider to LobeHub across runtime integration, model cards, settings, branding, documentation, and acceptance checks. It also covers provider documentation updates and distinguishes new providers from models added to an existing provider.

  • Integrating a new AI model provider into LobeHub
  • Updating setup or usage documentation for a provider
  • Checking whether a model needs a new provider integration
lobehub/lobehub83.5KUpdated Oct 26, 2026

add-setting-env

FreeSummary

Use this skill to add a server-side environment variable that sets a default for a user setting. It walks through validation, server configuration and store merging, plus updating the example environment file and self-hosting documentation.

  • Adding an environment variable for a setting default
  • Wiring a new setting domain into server config
  • Documenting a new variable for self-hosting
lobehub/lobehub83.5KUpdated Oct 26, 2026

Provides guidance for registering hooks around an agent’s execution steps, tool calls, human approvals, context compression, and sub-agent calls. Hooks can observe events, supply local mock tool results, or use webhooks to allow or deny tool results under configured policies.

  • Observing agent steps and tool errors
  • Mocking tool results during local execution
  • Requiring webhook decisions before or after a tool call
lobehub/lobehub83.5KUpdated Oct 26, 2026

agent-signal

FreeSummary

Build event-driven background workflows for agents by defining sources, interpreting them as signals, and running actions through policies. It also guides asynchronous handoffs, deduplication, scoped execution, completion receipts, and observability.

  • Adding a new event source to an agent workflow
  • Routing interpreted signals to concrete background actions
  • Enqueuing work for asynchronous processing
lobehub/lobehub83.5KUpdated Oct 26, 2026

Use this skill to run end-to-end acceptance checks for bot channels in real desktop chat apps. It drives apps such as Discord, Slack, Telegram, WeChat, Lark, and QQ to send a message, wait for a response, and capture the result.

  • Checking a bot response in a real Discord channel
  • Testing chat behavior through Slack or Telegram
  • Capturing a bot interaction in a native macOS app
lobehub/lobehub83.5KUpdated Oct 26, 2026

See all skills by lobehub

Report a problem with this skill