This gives Claude access to the Ant Design CLI, a local tool with bundled metadata for antd v4, v5, and v6. It's designed for when you're writing antd components and need to look up props or grab a working demo instead of guessing from memory, debugging version-specific issues, or migrating between major versions. The workflow is practical: query the API with `antd info`, pull a demo as a starting point, then write your code. It also handles project analysis, linting for deprecated usage, and can file bug reports directly to the antd repo after preview. All the component knowledge is offline, so no network calls. If you work with antd regularly and want Claude to stop hallucinating component APIs, this is the skill to enable.

skills.sh installs
6.4K
GitHub stars
261
last updated
Aug 21, 2026

Install

$ npx -y skills add ant-design/ant-design-cli --skill antd --agent claude-code

Installs into .claude/skills of the current project.

Files

Ant Design CLI

You have access to @ant-design/cli — a local CLI tool with bundled antd metadata for v4/v5/v6 (plus migration guides for v3 → v4, v4 → v5, v5 → v6). Use it to query component knowledge, analyze projects, and guide migrations. All data is offline, no network needed.

Setup

Before first use, check if the CLI is installed. If not, install it automatically:

which antd || npm install -g @ant-design/cli

After running any command, if the output contains an "Update available" notice, run antd upgrade to update before continuing.

Always use --format json for structured output you can parse programmatically.

Scenarios

1. Writing antd component code

Before writing any antd component code, look up its API first — don't rely on memory.

# Check what props are available
antd info Button --format json

# Get a working demo as starting point
antd demo Button basic --format json

# Check semantic classNames/styles for custom styling
antd semantic Button --format json

# Check component-level design tokens for theming
antd token Button --format json

Sponsors

Details

Repository
github.com/ant-design/ant-design-cli
Categories
Documentation, Debugging, Design & UI/UX, CLI & Terminal
First seen
Apr 16, 2026
1conardli avatarweb-video-presentationconardli/garden-skills把一篇文章或口播稿,做成"看起来像视频"的点击驱动 16:9 网页演示,可选合成口播音频。流程:原始文章 → **一次产出**口播稿 + outline 开发计划 → 用户**一次对齐** 5 件事(稿子 / outline / 主题 / 素材 / 开发模式)→ 网页开发(逐章 / 顺序 / 并行)→ 可选音频合成(p6.3Kskills.sh installs
2trailofbits avatarspec-to-code-compliancetrailofbits/skillsCheck code against the documentation that specifies it - which requirements hold, which the code contradicts, which are absent, and what the code does that no d6.3Kskills.sh installs
3testdino-hq avatarplaywright-skilltestdino-hq/playwright-skillBattle-tested Playwright patterns for writing, debugging, and scaling reliable test suites. Use when you need guidance for E2E, API, component, visual, accessib6.2Kskills.sh installs
4vinvcn avatarsetup-matt-pocock-skillsvinvcn/mattpocock-skills-zh-cn为此仓库配置 engineering skills——设置其 issue tracker、triage labels 词汇与 domain docs 布局。在首次使用其他 engineering skills 前运行一次。6.2Kskills.sh installs
5trailofbits avatarsemgrep-rule-creatortrailofbits/skillsCreates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Use when writing Semgrep rules or building custom static a6.2Kskills.sh installs
6trailofbits avataraudit-prep-assistanttrailofbits/skillsPrepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead6.1Kskills.sh installs