skills/antd-skills/ant-design-react/SKILL.md
Builds enterprise React UIs with Ant Design (antd) including 60+ components (Button, Form, Table, Select, Modal, Message), design tokens, TypeScript support, and ConfigProvider theming. Use when the user needs to create React applications with Ant Design, build forms with validation, display data tables, or customize the Ant Design theme.
npx skillsauth add teachingai/full-stack-skills ant-design-reactInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever the user wants to:
import { Button, Form, Input, Table, message } from 'antd';
const columns = [
{ title: 'Name', dataIndex: 'name', sorter: (a, b) => a.name.localeCompare(b.name) },
{ title: 'Email', dataIndex: 'email' },
{ title: 'Status', dataIndex: 'status', filters: [
{ text: 'Active', value: 'active' }, { text: 'Inactive', value: 'inactive' }
], onFilter: (value, record) => record.status === value },
];
function UserPage() {
const [form] = Form.useForm();
const onFinish = (values) => {
message.success(`Created user: ${values.name}`);
};
return (
<>
<Form form={form} layout="inline" onFinish={onFinish}>
<Form.Item name="name" rules={[{ required: true }]}>
<Input placeholder="Name" />
</Form.Item>
<Form.Item name="email" rules={[{ required: true, type: 'email' }]}>
<Input placeholder="Email" />
</Form.Item>
<Form.Item>
<Button type="primary" htmlType="submit">Add User</Button>
</Form.Item>
</Form>
<Table columns={columns} dataSource={[]} rowKey="id" pagination={{ pageSize: 10 }} />
</>
);
}
This skill is organized to match the Ant Design React official documentation structure (https://4x-ant-design.antgroup.com/docs/react/introduce-cn, https://4x-ant-design.antgroup.com/components/overview-cn/). When working with Ant Design React:
Identify the topic from the user's request:
examples/getting-started/installation.md or examples/getting-started/basic-usage.mdexamples/components/button.mdexamples/components/form.mdexamples/components/table.mdexamples/components/input.mdexamples/components/select.mdexamples/components/date-picker.mdexamples/components/modal.mdexamples/components/layout.mdexamples/components/menu.mdexamples/advanced/theme-customization.mdexamples/advanced/internationalization.mdexamples/advanced/typescript.mdLoad the appropriate example file from the examples/ directory:
Getting Started (快速开始) - examples/getting-started/:
examples/getting-started/installation.md - Installing Ant Design and basic setupexamples/getting-started/basic-usage.md - Basic component usageComponents (组件) - examples/components/:
examples/components/button.md - Button componentexamples/components/input.md - Input componentexamples/components/form.md - Form component with validationexamples/components/table.md - Table componentexamples/components/select.md - Select componentexamples/components/date-picker.md - DatePicker componentexamples/components/modal.md - Modal componentexamples/components/layout.md - Layout componentexamples/components/menu.md - Menu componentexamples/components/icon.md - Icon componentexamples/components/typography.md - Typography componentexamples/components/grid.md - Grid componentexamples/components/space.md - Space componentexamples/components/card.md - Card componentexamples/components/tabs.md - Tabs componentexamples/components/pagination.md - Pagination componentexamples/components/upload.md - Upload componentexamples/components/upload.md - Upload componentexamples/components/message.md - Message componentexamples/components/notification.md - Notification componentexamples/components/alert.md - Alert componentexamples/components/spin.md - Spin componentexamples/components/progress.md - Progress componentAdvanced (高级) - examples/advanced/:
examples/advanced/theme-customization.md - Customizing themeexamples/advanced/internationalization.md - Internationalization setupexamples/advanced/typescript.md - TypeScript supportFollow the specific instructions in that example file for syntax, structure, and best practices
Important Notes:
Reference API documentation in the api/ directory when needed:
api/components.md - Component API referenceapi/config-provider.md - ConfigProvider APIapi/design-tokens.md - Design tokens APIUse templates from the templates/ directory:
templates/project-setup.md - Project setup templatestemplates/component-template.md - Component usage templatesGuide (指南):
examples/guide/ or examples/getting-started/ → https://4x-ant-design.antgroup.com/docs/react/introduce-cnComponents (组件):
examples/components/ → https://4x-ant-design.antgroup.com/components/overview-cn/This skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).
To use examples:
To use templates:
templates/ directory for common scaffoldingDetailed API documentation is available in the api/ directory, organized to match the official Ant Design React API documentation structure:
api/components.md)api/config-provider.md)api/design-tokens.md)To use API reference:
api/ directoryexamples/ directoryAnt Design, Ant Design React, antd, React UI library, components, Button, Form, Table, Input, Select, DatePicker, Modal, Layout, Menu, theme, customization, internationalization, i18n, TypeScript, design system, 组件库, 按钮, 表单, 表格, 输入框, 选择器, 日期选择器, 对话框, 布局, 菜单, 主题, 国际化, 类型支持
tools
Automates browser interactions via CLI using agent-browser by Vercel Labs. Covers navigation, clicking, form filling, snapshots, refs-based selectors, agent mode with JSON output, session management, and CDP integration. Use when the user needs to automate web browsing, scrape pages, fill forms, or integrate browser automation into AI agent workflows.
testing
Creates museum-quality visual art as .png or .pdf by first generating a design philosophy manifesto, then expressing it on canvas with precise composition, color palettes, and typography. Use when the user asks to create a poster, art piece, visual design, or static creative piece. Outputs original designs using design-forward principles.
development
Applies Anthropic brand colors (dark #141413, orange #d97757, blue #6a9bcc, green #788c5d), Poppins headings, and Lora body text to artifacts such as presentations, documents, or visuals. Use when the user needs Anthropic brand styling, brand color application, corporate typography, or visual formatting following Anthropic design standards.
development
Creates gallery-quality algorithmic art using p5.js with seeded randomness, interactive parameter controls, and seed navigation, outputting a single self-contained HTML artifact with Anthropic branding. Use when the user requests generative art, algorithmic art, flow fields, particle systems, or code-based visual art using p5.js.