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-codeInstalls 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
