Agent skill

Component Plugins

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

Develop chart, code, mermaid, katex, formatter plugins for MarkdownEditor in @ant-design/agentic-ui.

MITAuto-check passedDevelopment

Install Component Plugins

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

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

GitHub CLI
$ gh skill install antdigital-ai/agentic-ui component-plugins --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-plugins .claude/skills/component-plugins && 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-plugins
GitHub stars
224
Token cost
~236 tokens
SKILL.md length
37 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Develop chart, code, mermaid, katex, formatter plugins for MarkdownEditor in @ant-design/agentic-ui.

  • Customizing chart/code/mermaid/formula rendering
  • SKILL.md covers 源码位置, 主要能力 and 开发规范
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Diagrams

What it does

Component Plugins is an agent skill from antdigital-ai/agentic-ui. Develop chart, code, mermaid, katex, formatter plugins for MarkdownEditor in @ant-design/agentic-ui. Use when adding or customizing chart/code/mermaid/formula rendering or code format. Triggers on plugin, chart, mermaid, code highlight, katex, formatter, LineChart, BarChart, Mermaid, CodeBlock.

Its SKILL.md is about 240 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Diagrams and Linting and formatting. It works with Mermaid and Ant Design. The licence is MIT.

When your agent uses it

  • Customizing chart/code/mermaid/formula rendering
  • Tasks that involve Diagrams
  • Tasks that involve Linting and formatting

Example prompts

  • “/component-plugins”

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.

    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 Plugins loads about 236 tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 37 words of instructions outside code blocks.

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

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). 37 words, ~236 tokens.

Download SKILL.mdSave it as .claude/skills/component-plugins/SKILL.md (or your agent's skills folder).
name
component-plugins
description
Develop chart, code, mermaid, katex, formatter plugins for MarkdownEditor in @ant-design/agentic-ui. Use when adding or customizing chart/code/mermaid/formula rendering or code format. Triggers on plugin, chart, mermaid, code highlight, katex, formatter, LineChart, BarChart, Mermaid, CodeBlock.

Markdown 插件开发

为 MarkdownEditor 提供图表、代码高亮、Mermaid、公式与格式化等插件能力。

源码位置

  • 图表:src/Plugins/chart/(LineChart、BarChart、AreaChart、DonutChart、RadarChart、ScatterChart、FunnelChart 等)
  • 代码:src/Plugins/code/(CodeBlock 等)
  • Mermaid:src/Plugins/mermaid/
  • KaTeX:src/Plugins/katex/
  • 格式化:src/Plugins/formatter/
  • 默认插件注册:src/Plugins/defaultPlugins 等

主要能力

  • 图表:Chart.js 等,支持多种图表类型与配置
  • 代码:ACE 等,语言高亮与主题
  • Mermaid:流程图、时序图等
  • KaTeX:数学公式
  • Formatter:代码格式化

开发规范

  • 插件接口与 MarkdownEditor 的 plugins 约定一致;样式使用 token。
  • 新增插件时在 defaultPlugins 或文档中注册,并补充类型。

修改或新增插件时,参考 src/Plugins/ 与 AGENTS.md。

© 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-plugins of antdigital-ai/agentic-ui.

Open the folder on GitHubat commit d0aed66

Compare with similar skills

Component Plugins 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 Plugins compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Component Plugins this skillantdigital-ai/agentic-ui224—~236Automated safety check: PassMIT
X Componentskqcoxn/MaaPipelineEditor408—~1.6kAutomated safety check: PassMIT
Docs CIjh941213/my-cc-harness126—~989Automated safety check: NotesNone
Docs CIjh941213/my-cc-harness126—~740Automated safety check: NotesNone
SVG Technical Infographic Authormodu-ai/moai-adk1.2k—~5.2kAutomated safety check: NotesApache-2.0
Archify Diagramstt-a1i/archify79k—~2.9kAutomated safety check: PassMIT

Similar skills

  • X Components

    kqcoxn/MaaPipelineEditor

    使用 @ant-design/x 组件库构建 AI 对话 UI 时使用 —— 涵盖 Bubble、Sender、Conversations、Prompts、ThoughtChain、Actions、Welcome、Attachments、Sources、Suggestion、Think、FileCard、CodeHighlighter、Mermaid、Folder、XProvider 和…

    408 GitHub stars~1.6k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Docs CI

    jh941213/my-cc-harness

    Scaffold a docs-as-code CI/CD pipeline + docs drift detection — link check, OpenAPI lint/breaking gate, mermaid validation, docs freshness check, CHANGELOG automation, docs.yaml manifest.

    126 GitHub stars~989 tokensUpdated 2 mo ago
    DevelopmentAuto-check: notes
  • Docs CI

    jh941213/my-cc-harness

    docs-as-code CI/CD 파이프라인 스캐폴딩 + 문서 드리프트 감지 — 링크 체크, OpenAPI lint/breaking 게이트, mermaid 검증, 문서 신선도 검사, CHANGELOG 자동화, docs.yaml 매니페스트.

    126 GitHub stars~740 tokensUpdated 2 mo ago
    DevelopmentAuto-check: notes
  • Builds hand-editable SVG diagrams from computed layout coordinates, lints the source and renders a 2x PNG, with rules for when mermaid is the better choice.

    1.2k GitHub stars~5.2k tokensUpdated today
    Media & CreativeAuto-check: notes
  • Archify Diagrams

    tt-a1i/archify

    Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.

    79k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    44k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-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 today
    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 today
    Auto-check passed
  • Component Bubble

    antdigital-ai/agentic-ui

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

    224 GitHub stars~283 tokensUpdated today
    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 today
    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 today
    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 today
    Auto-check passed

Categories

Questions about Component Plugins

What does Component Plugins do?

Develop chart, code, mermaid, katex, formatter plugins for MarkdownEditor in @ant-design/agentic-ui. Component Plugins is an agent skill from antdigital-ai/agentic-ui. Develop chart, code, mermaid, katex, formatter plugins for MarkdownEditor in @ant-design/agentic-ui.

When should I use Component Plugins?

Component Plugins fits situations like: customizing chart/code/mermaid/formula rendering; tasks that involve Diagrams; tasks that involve Linting and formatting.

How do I install Component Plugins in Claude Code?

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

How do I install Component Plugins in Codex?

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

Can I use Component Plugins 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-plugins -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-plugins, .gemini/skills/component-plugins, .github/skills/component-plugins and .opencode/skills/component-plugins in your project.

What does Component Plugins need to run?

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

Does Component Plugins 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 Plugins 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 Plugins use?

Component Plugins 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 Plugins use?

About 236 tokens (SKILL.md is roughly 944 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 Plugins?

Skills that share tags, products or a category with Component Plugins: X Components (kqcoxn/MaaPipelineEditor, 408 stars), Docs CI (jh941213/my-cc-harness, 126 stars), Docs CI (jh941213/my-cc-harness, 126 stars) and SVG Technical Infographic Author (modu-ai/moai-adk, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Component Plugins?

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.