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 partme-ai/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, 组件库, 按钮, 表单, 表格, 输入框, 选择器, 日期选择器, 对话框, 布局, 菜单, 主题, 国际化, 类型支持
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.