Agent skill

Component Markdown Editor

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

Develop MarkdownEditor and BaseMarkdownEditor in @ant-design/agentic-ui for rich text and streaming markdown.

MITAuto-check passedDocuments & Office

Install Component Markdown Editor

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

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

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

At a glance

Develop MarkdownEditor and BaseMarkdownEditor in @ant-design/agentic-ui for rich text and streaming markdown.

  • Building editor
  • SKILL.md covers 源码位置, 主要能力 and 开发规范
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Markdown parse/serialize

What it does

Component Markdown Editor is an agent skill from antdigital-ai/agentic-ui. Develop MarkdownEditor and BaseMarkdownEditor in @ant-design/agentic-ui for rich text and streaming markdown. Use when building editor, toolbar, slate, plugins, table, code block, or markdown parse/serialize. Triggers on markdown editor, BaseMarkdownEditor, slate, toolbar, plugin, table editor.

Its SKILL.md is about 290 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 Documents & Office, covering Markdown. It works with Ant Design. The licence is MIT.

When your agent uses it

  • Building editor
  • Markdown parse/serialize
  • Markdown editor
  • BaseMarkdownEditor

Example prompts

  • “/component-markdown-editor”

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 Markdown Editor loads about 292 tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 47 words of instructions outside code blocks.

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

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). 47 words, ~292 tokens.

Download SKILL.mdSave it as .claude/skills/component-markdown-editor/SKILL.md (or your agent's skills folder).
name
component-markdown-editor
description
Develop MarkdownEditor and BaseMarkdownEditor in @ant-design/agentic-ui for rich text and streaming markdown. Use when building editor, toolbar, slate, plugins, table, code block, or markdown parse/serialize. Triggers on markdown editor, BaseMarkdownEditor, slate, toolbar, plugin, table editor.

MarkdownEditor 组件开发

基于 Slate 的 Markdown 编辑器,支持流式输入、工具栏、插件与多种块级/行内元素。

源码位置

  • 入口:src/MarkdownEditor/index.tsx
  • 基类:src/MarkdownEditor/BaseMarkdownEditor.tsx
  • 编辑器核心:src/MarkdownEditor/editor/
  • 元素:src/MarkdownEditor/editor/elements/(Table、Code、Image、Card 等)
  • 解析/序列化:src/MarkdownEditor/editor/parser/
  • 插件:src/MarkdownEditor/plugins/、src/Plugins/(chart、code、mermaid、katex 等)
  • 类型:src/MarkdownEditor/types.ts

主要能力

  • 流式编辑、只读模式、editorRef
  • plugins、markdownRenderConfig、toolbar 配置
  • 表格、代码块、公式、图表等通过插件或内置元素支持
  • Jinja 模板插件:createJinjaPlugin、jinjaPlugin

开发规范

  • 新增元素或插件时,遵循现有 elements/ 与 plugins/ 结构。
  • 样式使用 createStyles 与 token;类型完整,避免 any。
  • 参考 AGENTS.md 的 Props 命名(如 defaultValue、onChange)与 API 文档规范。

开发或修改编辑器、工具栏、插件、表格时,优先查阅 src/MarkdownEditor/ 与 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-markdown-editor of antdigital-ai/agentic-ui.

Open the folder on GitHubat commit d0aed66

Compare with similar skills

Component Markdown Editor 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 Markdown Editor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Component Markdown Editor this skillantdigital-ai/agentic-ui224—~292Automated safety check: PassMIT
X Markdownkqcoxn/MaaPipelineEditor408—~862Automated safety check: PassMIT
Using Docs Kitlobehub/lobe-ui2.2k—~2.8kAutomated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills26k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • X Markdown

    kqcoxn/MaaPipelineEditor

    当任务涉及 @ant-design/x-markdown 的 Markdown 渲染、流式输出、自定义组件映射、插件、主题或聊天富内容展示时使用。

    408 GitHub stars~862 tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Using Docs Kit

    lobehub/lobe-ui

    Set up and author a documentation site with @lobehub/docs-kit (the lobedocs CLI, React Router + Vite static docs used by ui.lobehub.com).

    2.2k GitHub stars~2.8k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    26k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-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 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 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

Works with

Questions about Component Markdown Editor

What does Component Markdown Editor do?

Develop MarkdownEditor and BaseMarkdownEditor in @ant-design/agentic-ui for rich text and streaming markdown. Component Markdown Editor is an agent skill from antdigital-ai/agentic-ui. Develop MarkdownEditor and BaseMarkdownEditor in @ant-design/agentic-ui for rich text and streaming markdown.

When should I use Component Markdown Editor?

Component Markdown Editor fits situations like: building editor; markdown parse/serialize; markdown editor; baseMarkdownEditor.

How do I install Component Markdown Editor in Claude Code?

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

How do I install Component Markdown Editor in Codex?

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

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

What does Component Markdown Editor need to run?

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

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

Component Markdown Editor 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 Markdown Editor use?

About 292 tokens (SKILL.md is roughly 1.2k 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 Markdown Editor?

Skills that share tags, products or a category with Component Markdown Editor: X Markdown (kqcoxn/MaaPipelineEditor, 408 stars), Using Docs Kit (lobehub/lobe-ui, 2.2k stars), Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars) and Markitdown (ImCa0/just-laws, 781 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Component Markdown Editor?

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.