LobeHub Interactive Prototype
lobehub/lobehub
Builds single-file interactive HTML prototypes rendered with the real LobeHub UI components and written as production-style React, so they can later be split into files.
Develop AgenticLayout (left-center-right layout with header) in @ant-design/agentic-ui.
$ npx skills add antdigital-ai/agentic-ui --skill component-agentic-layout -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install antdigital-ai/agentic-ui component-agentic-layout --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/antdigital-ai/agentic-ui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/component-agentic-layout .claude/skills/component-agentic-layout && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "component-agentic-layout" agent skill from https://github.com/antdigital-ai/agentic-ui/tree/main/.cursor/skills/component-agentic-layout into .claude/skills/component-agentic-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-agentic-layout", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/antdigital-ai/agentic-ui/tree/main/.cursor/skills/component-agentic-layoutType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add antdigital-ai/agentic-ui --skill component-agentic-layout -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install antdigital-ai/agentic-ui component-agentic-layout --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/antdigital-ai/agentic-ui.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/component-agentic-layout .agents/skills/component-agentic-layout && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "component-agentic-layout" agent skill from https://github.com/antdigital-ai/agentic-ui/tree/main/.cursor/skills/component-agentic-layout into .agents/skills/component-agentic-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-agentic-layout", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add antdigital-ai/agentic-ui --skill component-agentic-layout -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install antdigital-ai/agentic-ui component-agentic-layout --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/antdigital-ai/agentic-ui.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/component-agentic-layout .cursor/skills/component-agentic-layout && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "component-agentic-layout" agent skill from https://github.com/antdigital-ai/agentic-ui/tree/main/.cursor/skills/component-agentic-layout into .cursor/skills/component-agentic-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-agentic-layout", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/antdigital-ai/agentic-ui.git --path .cursor/skills/component-agentic-layout--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add antdigital-ai/agentic-ui --skill component-agentic-layout -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install antdigital-ai/agentic-ui component-agentic-layout --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/antdigital-ai/agentic-ui.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/component-agentic-layout .gemini/skills/component-agentic-layout && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "component-agentic-layout" agent skill from https://github.com/antdigital-ai/agentic-ui/tree/main/.cursor/skills/component-agentic-layout into .gemini/skills/component-agentic-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-agentic-layout", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install antdigital-ai/agentic-ui component-agentic-layoutInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add antdigital-ai/agentic-ui --skill component-agentic-layout -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/antdigital-ai/agentic-ui.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/component-agentic-layout .github/skills/component-agentic-layout && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "component-agentic-layout" agent skill from https://github.com/antdigital-ai/agentic-ui/tree/main/.cursor/skills/component-agentic-layout into .github/skills/component-agentic-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-agentic-layout", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add antdigital-ai/agentic-ui --skill component-agentic-layout -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install antdigital-ai/agentic-ui component-agentic-layout --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/antdigital-ai/agentic-ui.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/component-agentic-layout .opencode/skills/component-agentic-layout && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "component-agentic-layout" agent skill from https://github.com/antdigital-ai/agentic-ui/tree/main/.cursor/skills/component-agentic-layout into .opencode/skills/component-agentic-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-agentic-layout", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
component-agentic-layoutDevelop AgenticLayout (left-center-right layout with header) in @ant-design/agentic-ui.
Component Agentic Layout is an agent skill from antdigital-ai/agentic-ui. Develop AgenticLayout (left-center-right layout with header) in @ant-design/agentic-ui. Use when building app shell, sidebar layout, or three-column layout. Triggers on AgenticLayout, layout, left center right, header, sidebar.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with Ant Design. The licence is MIT.
Read from SKILL.md and the folder at commit d0aed66. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Component Agentic Layout loads about 1.2k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 283 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from antdigital-ai/agentic-ui at commit d0aed66, republished under its MIT licence (© antdigital-ai). 283 words, ~1,179 tokens.
.claude/skills/component-agentic-layout/SKILL.md (or your agent's skills folder).智能体应用主布局:左-中-右三栏 + 头部,用于应用外壳与侧栏布局。修改布局或头部时,按本技能内的 API 与规范直接实现,无需再查源码。
| 属性 | 说明 | 类型 | 默认 |
|---|---|---|---|
left | 左侧内容 | ReactNode | - |
center | 中间内容(必填) | ReactNode | - |
right | 右侧内容 | ReactNode | - |
header | 头部配置,见下 | LayoutHeaderConfig | - |
style | 自定义样式,会透传到根节点(可含 minHeight 等) | React.CSSProperties | - |
className | 自定义类名,与根节点 prefixCls、hashId 一起拼接 | string | - |
leftWidth | 左侧宽度(px) | number | 256 |
rightWidth | 右侧宽度(px),可被用户拖拽改变,会受最小/最大限制 | number | 540 |
minHeight | 最小高度(类型已声明,实现上可用 style.minHeight 覆盖样式默认值) | string | number | - |
children | 子元素(兼容用,内容建议用 center) | ReactNode | - |
说明:根节点最小高度由样式固定为 600px;需自定义时传 style={{ minHeight: '...' }}。当前未从 props 的 minHeight 读到根节点,与类型保持一致即可。
| 属性 | 说明 | 类型 | 默认 |
|---|---|---|---|
title | 标题,支持文本或 React 节点 | ReactNode | 'AI 助手' |
showShare | 是否显示分享按钮 | boolean | false |
leftCollapsible | 左侧是否可折叠(未传时由 AgenticLayout 按是否有 left 推断) | boolean | - |
rightCollapsible | 右侧是否可折叠(未传时由 AgenticLayout 按是否有 right 推断) | boolean | - |
leftCollapsed | 左侧折叠状态(受控) | boolean | - |
rightCollapsed | 右侧折叠状态(受控) | boolean | - |
leftDefaultCollapsed | 左侧默认折叠(非受控) | boolean | false |
rightDefaultCollapsed | 右侧默认折叠(非受控) | boolean | false |
onLeftCollapse | 左侧折叠回调 | (collapsed: boolean) => void | - |
onRightCollapse | 右侧折叠回调 | (collapsed: boolean) => void | - |
onShare | 分享点击 | () => void | - |
leftExtra | 头部左侧额外内容,渲染在标题同侧 | ReactNode | - |
rightExtra | 头部右侧额外内容,渲染在分享/折叠按钮同侧 | ReactNode | - |
className | 头部根节点自定义类名 | string | - |
折叠状态:有 leftCollapsed/rightCollapsed 时为受控;否则用 leftDefaultCollapsed/rightDefaultCollapsed 作初始值,由内部 useMergedState + onLeftCollapse/onRightCollapse 更新。LayoutHeader 内部用 I18n 的 locale['chatFlow.collapseLeft']、locale['chatFlow.collapseRight']、locale['chatFlow.share'] 等做文案与 aria-label。
export { AgenticLayout },类型 export interface AgenticLayoutPropsexport { LayoutHeader },类型 export type { LayoutHeaderConfig, LayoutHeaderProps }(LayoutHeaderProps 与 LayoutHeaderConfig 相同)从 @ant-design/agentic-ui 可解构:AgenticLayout、AgenticLayoutProps、LayoutHeader、LayoutHeaderConfig、LayoutHeaderProps。
prefixCls(默认 ant-agentic-layout)${prefixCls}-body(flex 容器)${prefixCls}-sidebar、${prefixCls}-sidebar-left,折叠时加 ${prefixCls}-sidebar-left-collapsed${prefixCls}-main,内容包裹在 ${prefixCls}-main-content;头部渲染在 main 内、content 前;main-content 高度为 calc(100% - 48px) 以预留头部${prefixCls}-sidebar-wrapper-right,内为拖拽手柄 + 右侧栏${prefixCls}-resize-handle、${prefixCls}-resize-handle-right(宽度 6px,hover 时高亮)${prefixCls}-sidebar、${prefixCls}-sidebar-right,折叠时加 ${prefixCls}-sidebar-right-collapsed${prefixCls}-sidebar-content样式通过 useAgenticLayoutStyle(prefixCls) 注册,使用项目内 genStyleHooks 与 token(如 componentCls)。根节点在样式中设 minHeight: 600px。
prefixCls(默认 ant-layout-header)${prefixCls}-left(含折叠按钮、分隔线、标题、leftExtra)${prefixCls}-left-title${prefixCls}-left-separator(在折叠按钮与标题之间)${prefixCls}-right(含分享按钮、折叠按钮、rightExtra)${prefixCls}-right-share-btn样式通过 useLayoutHeaderStyle(prefixCls) 注册;头部高度 48px(minHeight),与 main-content 的 48px 对应。
MIN_RIGHT_WIDTH = 400(px),最大宽度 window.innerWidth * 0.7;rightWidth 变化会同步到内部 state;折叠时宽度为 0。leftWidth 控制,默认 DEFAULT_LEFT_WIDTH = 256(px),无拖拽;折叠时宽度为 0。DEFAULT_RIGHT_WIDTH = 540(px)。LayoutHeader(来自 Components/LayoutHeader),传入 header 并补充 leftCollapsible/rightCollapsible(未传时由是否有 left/right 决定)。头部高度 48px;拖拽手柄宽度 6px。minHeight: 600px,无 prefixCls/classNames/styles 等 Semantic 透传,仅 style、className。useAgenticLayoutStyle,支持主题与响应式;样式用 createStyles/token,避免硬编码颜色与尺寸。clsx 拼接;支持 classNames/styles 时按项目 Semantic 规范命名。Config 后缀,事件用 on 前缀;布尔用 showXxx、xxxCollapsible、xxxCollapsed。React.memo 包装导出组件;保持向下兼容,不破坏已有 props。按上述 API、DOM 结构和规范修改布局或头部即可,无需依赖源码路径。
© antdigital-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .cursor/skills/component-agentic-layout of antdigital-ai/agentic-ui.
Open the folder on GitHubat commit d0aed66
Component Agentic Layout next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Component Agentic Layout this skillantdigital-ai/agentic-ui | 224 | — | ~1.2k | Automated safety check: Pass | MIT | |
| LobeHub Interactive Prototypelobehub/lobehub | 83k | — | ~1.6k | Automated safety check: Pass | Custom licence | |
| Version ReleaseNG-ZORRO/ng-zorro-antd | 9.2k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Ant Design Mobile Releaseant-design/ant-design-mobile | 12k | — | ~497 | Automated safety check: Pass | MIT | |
| Building With Lobe UIlobehub/lobe-ui | 2.2k | — | ~2k | Automated safety check: Pass | MIT | |
| Feature SyncNG-ZORRO/ng-zorro-antd | 9.2k | — | ~840 | Automated safety check: Pass | MIT |
lobehub/lobehub
Builds single-file interactive HTML prototypes rendered with the real LobeHub UI components and written as production-style React, so they can later be split into files.
NG-ZORRO/ng-zorro-antd
NG-ZORRO/ng-zorro-antd repository release workflow. An agent skill from NG-ZORRO/ng-zorro-antd.
ant-design/ant-design-mobile
Prepares an npm release of ant-design-mobile up to the version commit, then tags and publishes the GitHub Release after you run the publish command yourself.
lobehub/lobe-ui
Build UI with the LobeHub design ecosystem — @lobehub/ui (plus its base-ui, chat, mobile, awesome, brand, mdx, i18n namespaces), @lobehub/icons, @lobehub/charts, @lobehub/fluent-emoji and…
NG-ZORRO/ng-zorro-antd
Sync an Ant Design React component or feature into NG-ZORRO.
lazzyfu/goInsight
Build, refactor, or review production-grade admin interfaces with Vue 3 + JavaScript + Ant Design Vue 4.x.
antdigital-ai/agentic-ui
指导用户使用 @ant-design/agentic-ui 的 Markdown Editor / Renderer 扩展语法。图表场景优先使用内置 chart(HTML 注释 chartType + 表格),只有当内置 chartType 都不能表达诉求时才回退 Mermaid。Triggers on keywords like 表格, 视频, 图表, 卡片, 提示块, 流程图, 语法…
antdigital-ai/agentic-ui
Guides how to use @ant-design/agentic-ui in applications (install, import, layout, chat, editor, i18n).
antdigital-ai/agentic-ui
Develop and extend Bubble components (AIBubble, UserBubble, Bubble list) for AI chat messages in @ant-design/agentic-ui.
antdigital-ai/agentic-ui
Develop SchemaForm, SchemaEditor, SchemaRenderer and validator in @ant-design/agentic-ui for low-code and JSON Schema.
antdigital-ai/agentic-ui
Guides development workflow, design system, scripts, and component inventory for @ant-design/agentic-ui.
antdigital-ai/agentic-ui
使用 GitHub CLI (gh) 推送当前分支并创建或更新 PR。在用户说「提 PR」「新建 PR」「用 gh 建 PR」「submit PR」「create pull request」时使用。
Works with
Develop AgenticLayout (left-center-right layout with header) in @ant-design/agentic-ui. Component Agentic Layout is an agent skill from antdigital-ai/agentic-ui. Develop AgenticLayout (left-center-right layout with header) in @ant-design/agentic-ui.
Component Agentic Layout fits situations like: building app shell; three-column layout; left center right.
Run `npx skills add antdigital-ai/agentic-ui --skill component-agentic-layout -a claude-code`. Or copy the skill folder (.cursor/skills/component-agentic-layout in antdigital-ai/agentic-ui) into .claude/skills/component-agentic-layout in your project. Claude Code loads it when a task matches its description.
Run `npx skills add antdigital-ai/agentic-ui --skill component-agentic-layout -a codex`. Or copy the skill folder (.cursor/skills/component-agentic-layout in antdigital-ai/agentic-ui) into .agents/skills/component-agentic-layout in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add antdigital-ai/agentic-ui --skill component-agentic-layout -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/component-agentic-layout, .gemini/skills/component-agentic-layout, .github/skills/component-agentic-layout and .opencode/skills/component-agentic-layout in your project.
SKILL.md names no scripts, command-line tools or credentials: Component Agentic Layout is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Component Agentic Layout is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Component Agentic Layout: LobeHub Interactive Prototype (lobehub/lobehub, 83k stars), Version Release (NG-ZORRO/ng-zorro-antd, 9.2k stars), Ant Design Mobile Release (ant-design/ant-design-mobile, 12k stars) and Building With Lobe UI (lobehub/lobe-ui, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
antdigital-ai (a GitHub organization) maintains it in antdigital-ai/agentic-ui, which has 224 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 6, 2026.
Source: antdigital-ai/agentic-ui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.