zustand 是做什么的?
LobeHub Zustand 存储约定。适用于编辑 src/store、store slices、内部/外部 actions、dispatch actions、flattenActions、乐观更新、selectors、maps 或类 action 迁移。
LobeHub Zustand 存储约定。适用于编辑 src/store、store slices、内部/外部 actions、dispatch actions、flattenActions、乐观更新、selectors、maps 或类 action 迁移。
该技能为 LobeHub 项目提供一套标准的 Zustand 存储约定,帮助开发者高效管理状态。它定义了在编辑 `src/store`、store slices、公共/内部 actions、dispatch actions、flattenActions、乐观更新、selectors、maps 以及类 action 迁移时的最佳实践。支持在 Claude Code、Cursor、Codex 等 AI 编码代理中使用,确保状态管理代码的一致性和可维护性。通过遵循这些约定,可以减少样板代码,提升团队协作效率。
npx skills add https://github.com/lobehub/lobe-chat/tree/main/skills/zustandInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
LobeHub Zustand 存储约定。适用于编辑 src/store、store slices、内部/外部 actions、dispatch actions、flattenActions、乐观更新、selectors、maps 或类 action 迁移。
This repo contains 4 individual skills — each has its own dedicated page.
LobeHub Drizzle ORM schema and query style. Use for pgTable schemas, indexes, joins, inferred types, db.select/db.query, schema fields, foreign keys, junction tables, or postgres query patterns.
LobeHub i18n with react-i18next. Use for user-facing strings, locale keys, namespaces, useTranslation, t(), interpolation, zh-CN/en-US previews, hardcoded UI copy, or pnpm i18n.
LobeHub React component conventions. Use when editing TSX UI, choosing base-ui vs @lobehub/ui vs antd, styling with antd-style, routing, desktop variants, layouts, or component state.
LobeHub TypeScript style and type-safety guide. Use when editing TS/TSX/MTS, fixing types, choosing interface vs type, avoiding any/object, import type, async flow, or ts-expect-error.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.