Guides component selection, theming/tokens, SSR, a11y, performance, routing/CRUD, AI/chat UI, local API lookup, debugging, and migration for antd 6.x, Ant Design Pro 5/ProComponents, Ant Design X v2, and @ant-design/cli.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ant-design-antd-skill:ant-designThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Target: `antd@^6` + React 18-19, with `ant-design-pro@^5` / `@ant-design/pro-components` and `@ant-design/x@^2` when needed.
antd@^6 + React 18-19, with ant-design-pro@^5 / @ant-design/pro-components and @ant-design/x@^2 when needed.@ant-design/cli for offline component metadata, demos, changelogs, migrations, linting, doctor checks, and usage analysis..ant-* coupling.classNames/styles; avoid global overrides.ConfigProvider unless strict isolation is required.antd info <Component> --format json. Do not rely on memory when the CLI can answer it offline.--format json with antd CLI commands.--version <x.y.z> or let the CLI auto-detect from local node_modules.antd lint <changed-path> --format json.antd CLI command crashes, returns wrong data, or violates its documented behavior, prepare an antd bug-cli preview for user confirmation instead of silently working around it.{components} (lowercase kebab-case, e.g. TreeSelect -> tree-select, Button -> button), then request docs in this order (CN first, EN fallback):
https://ant.design/components/{components}-cnhttps://ant.design/components/{components}tree-select-cn -> tree-select, button-cn -> button..ant-* selectors.@ant-design/cli should be the primary lookup path.@ant-design/cli first for structured lookup:
antd info for props/APIantd demo for a working baselineantd doc for full docsantd token / antd semantic for theming and styling hooksantd doctor, antd lint, antd usage, antd migrate, antd changelog when debugging or upgrading-cn first, EN fallback) when narrative docs or cross-checking are needed.ConfigProvider; SSR -> ConfigProvider + StyleProvider.classNames/styles.| File | Use when |
|---|---|
references/antd-cli.md | You need the exact offline CLI workflow for API lookup, demos, linting, doctor checks, migration, changelog review, usage analysis, or bug reporting. |
ConfigProvider; SSR style order/hydration verified..ant-* overrides.rowKey; sort/filter/pagination entry is unified.antd CLI was used, commands ran with --format json and any CLI defect was escalated via antd bug-cli preview.npx claudepluginhub joshuarweaver/cascade-code-general-misc-2 --plugin ant-design-antd-skillQueries Ant Design component APIs, props, tokens, demos, and docs via an offline CLI. Debugs antd issues, analyzes project usage, and guides version migrations (v4/v5/v6).
Use when operating in a codebase that employs an existing design system (shadcn/ui, Material UI, Ant Design, Chakra, etc.), when you need to identify which system a project uses, or when setting up a design system for a project that lacks one
Provides shadcn/ui expert guidance on CLI init/add, component installation, composition patterns, custom registries, theming, Tailwind CSS integration, and UI design. Use for setup, customization, or troubleshooting.