react 是做什么的?
LobeHub React 组件约定。在编辑 TSX UI、选择 base-ui 与 @lobehub/ui 与 antd、使用 antd-style 进行样式设计、路由、桌面变体、布局或组件状态时使用。
LobeHub React 组件约定。在编辑 TSX UI、选择 base-ui 与 @lobehub/ui 与 antd、使用 antd-style 进行样式设计、路由、桌面变体、布局或组件状态时使用。
本技能定义了 LobeHub 项目中 React 组件开发的约定规范。它指导开发者在编辑 TSX UI 时做出正确的技术选择,例如在 base-ui、@lobehub/ui 和 antd 之间选择适当的 UI 库,使用 antd-style 进行样式管理,并遵循特定的路由、布局和组件状态管理方式。该技能适用于 LobeHub 生态系统中的所有 React 项目,特别是需要处理桌面变体和复杂组件状态的应用场景。通过遵循这些约定,开发者可以确保代码的一致性、可维护性和团队协作效率。
npx skills add https://github.com/lobehub/lobe-chat/tree/main/skills/reactLobeHub React 组件约定。在编辑 TSX UI、选择 base-ui 与 @lobehub/ui 与 antd、使用 antd-style 进行样式设计、路由、桌面变体、布局或组件状态时使用。
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 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.
LobeHub Zustand store conventions. Use when editing src/store, store slices, public/internal actions, dispatch actions, flattenActions, optimistic updates, selectors, maps, or class action migration.
ElevenLabs text-to-speech with mac-style say UX.
Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.
Capture and automate macOS UI with the Peekaboo CLI.
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".