返回顶部
o

orbcafe-ui-component-usageORBCAFE UI组件使用

Route ORBCAFE UI requests to the correct module skill and enforce official examples-based integration baseline. Use when requests are ambiguous, cross-module, or when prior attempts had "no effect"; classify to StdReport, Graph+Detail+Agent, Layout+Navigation, Pivot+AINav, or AgentUI Chat and require install/startup/verification steps.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
270
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

orbcafe-ui-component-usage

ORBCAFE UI 路由

工作流程

  1. 1. 执行安装与接入基线(必须)。
  2. 使用 references/skill-routing-map.md 判定目标模块 skill。
  3. 使用 references/module-contracts.md 先确认目标模块的公共入口、hook 策略、标准示例与验证方式。
  4. 只加载目标模块所需 references,不加载无关内容。
  5. 使用 references/public-export-index.md 约束导入边界。
  6. 使用 references/integration-baseline.md 执行 Next.js 与 hydration 检查。
  7. 输出模块决策、最小可运行代码、验收步骤、排障步骤。

安装基线(必须)

每次都先给出可执行安装方式,不允许省略:

bash
npm install orbcafe-ui @mui/material @mui/icons-material @mui/x-date-pickers @emotion/react @emotion/styled dayjs

如果是本仓库联调(以 examples 为准):

bash

仓库根目录


npm run build

examples 应用

cd examples npm install npm run dev

Tailwind 项目必须包含:

js
// tailwind.config.js
content: [./node_modules/orbcafe-ui/dist//*.{js,mjs}]

输出契约

始终提供:

  1. 1. 决策:选择哪个模块 skill,并说明依据。
  2. 可直接粘贴的代码:仅从 orbcafe-ui 入口导入。
  3. 数据形状:最小必需字段结构。
  4. 验证:至少 3 条可执行验收步骤(启动、交互、持久化/回调)。
  5. 排障:至少 3 条没效果排查点。

在编写代码前,明确声明以下之一:

  • - Hook优先:该模块以公开 hook 为主入口。
  • 组件优先:该模块以公开组件 + callbacks 为主入口。

示例优先规则

  • - 先复用官方示例的骨架,再做业务改造。
  • 优先参考:
- examples/README.md
  • - examples/app/layout.tsx
  • examples/app/providers.tsx
  • examples/app/_components/*.tsx
  • 强制遵守 Next.js App Router 经验:
- 在 Server Page 解包 params/searchParams 后再传入 Client 组件。 - 首屏避免 Date.now()/Math.random()/window/localStorage/usePathname 直接决定结构。 - 必要时使用 mounted 防止 hydration 不匹配。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 orbcafe-ui-component-usage-1776160629 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 orbcafe-ui-component-usage-1776160629 技能

通过命令行安装

skillhub install orbcafe-ui-component-usage-1776160629

下载

⬇ 下载 orbcafe-ui-component-usage v1.0.2(免费)

文件大小: 9.93 KB | 发布时间: 2026-4-15 12:37

v1.0.2 最新 2026-4-15 12:37
- Added references/module-contracts.json and references/module-contracts.md to provide module-level entrypoint and contract details.
- Updated workflow to require checking module-contracts for public entry, hook/component usage, examples, and validation approach.
- Expanded module classification to include "AgentUI Chat".
- Before coding, now explicitly specify whether the module is "Hook-first" or "Component-first".
- Minor clarification and formatting improvements in documentation.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部