Skip to main content
在 Manus 中运行任何 Skill
一键导入

llui-add-component

星标7
分支0
更新时间2026年7月16日 22:46

Follow this exact procedure when adding a NEW headless component to @llui/components (packages/components) — a behavior+state+a11y module in the family of dialog/tabs/ select/menu/tree-view/accordion, exposing init/update/connect (+ overlay for overlay components). Use it whenever you're building a new interactive widget inside the LLui components package: the connect() part-bag contract, the overlay engine, ARIA/id wiring, i18n via LocaleContext, value-based list identity, the shared utils to reuse, and the THREE export edits are all easy to get wrong. This is framework-internals work on the component library (NOT app code — that's llui-app-dev — and NOT a runtime primitive). Load it before writing the component.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly