Ant Design CLI for offline antd v4/v5/v6 component lookup, debugging, migration guides, and project usage analysis.

CCM score
56 of 100
skills.sh installs
6.7K
GitHub stars
263
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers component API lookup, full docs, demos, design tokens, semantic classNames, and the design.md design language
  • Includes antd info, antd demo, antd migrate, antd changelog, antd lint, antd usage, antd env, and antd doctor for diagnosis and migration
  • Enforces a preview-then-confirm step before submitting any bug report through antd bug or antd bug-cli
  • Designed for agents writing, debugging, or upgrading antd code, with an optional MCP server mode for IDE integration

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/ant-design/ant-design-cli
Categories
Frontend & UI Code, Design & UI/UX
First seen
Apr 16, 2026