Agent skill

Component Bubble

by antdigital-ai in antdigital-ai/agentic-ui

Develop and extend Bubble components (AIBubble, UserBubble, Bubble list) for AI chat messages in @ant-design/agentic-ui.

MITAuto-check passed

Install Component Bubble

skills CLI
$ npx skills add antdigital-ai/agentic-ui --skill component-bubble -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install antdigital-ai/agentic-ui component-bubble --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ 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-bubble .claude/skills/component-bubble && rm -rf skills-src

Use ~/.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/

Facts

Skill name
component-bubble
GitHub stars
224
Token cost
~283 tokens
SKILL.md length
42 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Develop and extend Bubble components (AIBubble, UserBubble, Bubble list) for AI chat messages in @ant-design/agentic-ui.

  • Building chat bubbles
  • SKILL.md covers 源码位置, 主要导出, 开发规范 and 常用能力
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Message content

What it does

Component Bubble is an agent skill from antdigital-ai/agentic-ui. Develop and extend Bubble components (AIBubble, UserBubble, Bubble list) for AI chat messages in @ant-design/agentic-ui. Use when building chat bubbles, message content, streaming display, thought chain in bubble, or voice/copy actions. Triggers on bubble, chat message, AIBubble, UserBubble, message list.

Its SKILL.md is about 280 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.

When your agent uses it

  • Building chat bubbles
  • Message content
  • Streaming display
  • Thought chain in bubble

Example prompts

  • “/component-bubble”

What it can do on your machine

Read from SKILL.md and the folder at commit d0aed66. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Component Bubble loads about 283 tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 42 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~283

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from antdigital-ai/agentic-ui at commit d0aed66, republished under its MIT licence (© antdigital-ai). 42 words, ~283 tokens.

Download SKILL.mdSave it as .claude/skills/component-bubble/SKILL.md (or your agent's skills folder).
name
component-bubble
description
Develop and extend Bubble components (AIBubble, UserBubble, Bubble list) for AI chat messages in @ant-design/agentic-ui. Use when building chat bubbles, message content, streaming display, thought chain in bubble, or voice/copy actions. Triggers on bubble, chat message, AIBubble, UserBubble, message list.

Bubble 组件开发

聊天气泡相关组件的开发与扩展,包括 AI 消息气泡、用户消息气泡和气泡列表。

源码位置

  • 主入口与导出:src/Bubble/index.tsx
  • AI 气泡:src/Bubble/AIBubble
  • 用户气泡:src/Bubble/UserBubble
  • 通用容器:src/Bubble/Bubble.tsx
  • 列表:src/Bubble/List
  • 类型:src/Bubble/type.ts、src/Bubble/types/

主要导出

ts
AIBubble, UserBubble, Bubble, runRender
PureAIBubble, PureUserBubble, PureBubble, PureBubbleList
BubbleConfigProvide 及相关 context

开发规范

  • 样式使用 @ant-design/cssinjs 的 createStyles,颜色/间距使用 token。
  • 事件回调使用 on 前缀(如 onClick、onCopy)。
  • 支持 classNames、styles 做 Semantic 样式扩展。
  • 参考项目根目录 AGENTS.md 的命名与 API 规范。

常用能力

  • AIBubble:流式内容、思维链折叠、状态(success/error/loading)、工具调用展示。
  • UserBubble:用户头像、多模态内容、操作按钮。
  • List:气泡列表、自动滚动、空状态。

开发或修改气泡相关功能时,优先查阅上述源码与 AGENTS.md,并保持与现有 API 兼容。

© 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

Files

Just SKILL.md in .cursor/skills/component-bubble of antdigital-ai/agentic-ui.

Open the folder on GitHubat commit d0aed66

Compare with similar skills

Component Bubble 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.

Component Bubble compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Component Bubble this skillantdigital-ai/agentic-ui224—~283Automated safety check: PassMIT
LobeHub Interactive Prototypelobehub/lobehub83k—~1.6kAutomated safety check: PassCustom licence
Version ReleaseNG-ZORRO/ng-zorro-antd9.2k—~3.1kAutomated safety check: PassMIT
Ant Design Mobile Releaseant-design/ant-design-mobile12k—~497Automated safety check: PassMIT
Building With Lobe UIlobehub/lobe-ui2.2k—~2kAutomated safety check: PassMIT
Feature SyncNG-ZORRO/ng-zorro-antd9.2k—~840Automated safety check: PassMIT

Similar skills

  • 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.

    83k GitHub stars~1.6k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Version Release

    NG-ZORRO/ng-zorro-antd

    NG-ZORRO/ng-zorro-antd repository release workflow. An agent skill from NG-ZORRO/ng-zorro-antd.

    9.2k GitHub stars~3.1k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Ant Design Mobile Release

    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.

    12k GitHub stars~497 tokensUpdated 23 days ago
    DevelopmentAuto-check passed
  • Building With Lobe UI

    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…

    2.2k GitHub stars~2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Feature Sync

    NG-ZORRO/ng-zorro-antd

    Sync an Ant Design React component or feature into NG-ZORRO.

    9.2k GitHub stars~840 tokensUpdated 7 days ago
    Frontend & DesignAuto-check passed
  • Ant Design Vue UI

    lazzyfu/goInsight

    Build, refactor, or review production-grade admin interfaces with Vue 3 + JavaScript + Ant Design Vue 4.x.

    730 GitHub stars~2k tokensUpdated 6 mo ago
    DatabasesAuto-check passed

More from antdigital-ai/agentic-ui

All 22 skills in this repo
  • Markdown Syntax Guide

    antdigital-ai/agentic-ui

    指导用户使用 @ant-design/agentic-ui 的 Markdown Editor / Renderer 扩展语法。图表场景优先使用内置 chart(HTML 注释 chartType + 表格),只有当内置 chartType 都不能表达诉求时才回退 Mermaid。Triggers on keywords like 表格, 视频, 图表, 卡片, 提示块, 流程图, 语法…

    224 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • Agentic UI Usage

    antdigital-ai/agentic-ui

    Guides how to use @ant-design/agentic-ui in applications (install, import, layout, chat, editor, i18n).

    224 GitHub stars~691 tokensUpdated yesterday
    Auto-check passed
  • Component Schema

    antdigital-ai/agentic-ui

    Develop SchemaForm, SchemaEditor, SchemaRenderer and validator in @ant-design/agentic-ui for low-code and JSON Schema.

    224 GitHub stars~247 tokensUpdated yesterday
    Auto-check passed
  • Agentic UI Development

    antdigital-ai/agentic-ui

    Guides development workflow, design system, scripts, and component inventory for @ant-design/agentic-ui.

    224 GitHub stars~555 tokensUpdated yesterday
    Auto-check passed
  • Component Agentic Layout

    antdigital-ai/agentic-ui

    Develop AgenticLayout (left-center-right layout with header) in @ant-design/agentic-ui.

    224 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Gh Create PR

    antdigital-ai/agentic-ui

    使用 GitHub CLI (gh) 推送当前分支并创建或更新 PR。在用户说「提 PR」「新建 PR」「用 gh 建 PR」「submit PR」「create pull request」时使用。

    224 GitHub stars~416 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Component Bubble

What does Component Bubble do?

Develop and extend Bubble components (AIBubble, UserBubble, Bubble list) for AI chat messages in @ant-design/agentic-ui. Component Bubble is an agent skill from antdigital-ai/agentic-ui. Develop and extend Bubble components (AIBubble, UserBubble, Bubble list) for AI chat messages in @ant-design/agentic-ui.

When should I use Component Bubble?

Component Bubble fits situations like: building chat bubbles; message content; streaming display; thought chain in bubble.

How do I install Component Bubble in Claude Code?

Run `npx skills add antdigital-ai/agentic-ui --skill component-bubble -a claude-code`. Or copy the skill folder (.cursor/skills/component-bubble in antdigital-ai/agentic-ui) into .claude/skills/component-bubble in your project. Claude Code loads it when a task matches its description.

How do I install Component Bubble in Codex?

Run `npx skills add antdigital-ai/agentic-ui --skill component-bubble -a codex`. Or copy the skill folder (.cursor/skills/component-bubble in antdigital-ai/agentic-ui) into .agents/skills/component-bubble in your project. Codex loads it when a task matches its description.

Can I use Component Bubble in Cursor, Gemini CLI or GitHub Copilot?

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-bubble -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-bubble, .gemini/skills/component-bubble, .github/skills/component-bubble and .opencode/skills/component-bubble in your project.

What does Component Bubble need to run?

SKILL.md names no scripts, command-line tools or credentials: Component Bubble is instructions for the agent only.

Does Component Bubble access the network?

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.

Is Component Bubble safe to install?

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.

What licence does Component Bubble use?

Component Bubble is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Component Bubble use?

About 283 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Component Bubble?

Skills that share tags, products or a category with Component Bubble: 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.

Who maintains Component Bubble?

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.