ant-design-skillSkill for efficiently building React UIs using Ant Design v5+ with layouts, forms, tables, modals, theming via ConfigProvider, and consistent component patte...
Install via ClawdBot CLI:
clawdbot install FelipeOFF/ant-design-skillUse this skill when you are building a React UI with Ant Design (antd) and want consistent, non-ugly screens fast.
1) Confirm stack: React + antd version (v5+ assumed).
2) Choose page pattern:
3) Build layout skeleton first:
Layout + Sider + Header + ContentMenu4) Build the main interaction component:
Form, Form.Item, Input, Select, DatePicker, SwitchTable + column definitions + row actions5) Add feedback loop:
message, notification, Modal.confirm6) Apply theming/tokens via ConfigProvider (global) and component-level overrides.
7) Verify:
Layout with Sider (collapsible), Header for top actions, Content scroll.Flex (or Space) row.Form + Form.Item rules for validation; avoid custom validation unless necessary.Form.useForm() and form.setFieldsValue() for edit flows.rowKey always.Ant Design v5 uses Design Tokens and CSS-in-JS.
Wrap your app in ConfigProvider:
import { ConfigProvider, theme } from 'antd';
export function AppProviders({ children }: { children: React.ReactNode }) {
return (
<ConfigProvider
theme={{
algorithm: theme.defaultAlgorithm,
token: {
colorPrimary: '#1677ff',
borderRadius: 10,
fontSize: 14,
},
components: {
Button: { controlHeight: 40 },
Layout: { headerBg: '#ffffff' },
},
}}
>
{children}
</ConfigProvider>
);
}
Use theme.darkAlgorithm and keep tokens consistent:
const isDark = true;
<ConfigProvider
theme={{
algorithm: isDark ? theme.darkAlgorithm : theme.defaultAlgorithm,
token: { colorPrimary: '#7c3aed' },
}}
/>
Use components. for specific tweaks (Button, Input, Table, etc.).
protocols/ when you want LLM-first contracts (describe UIs as data, then generate code deterministically).references/tokens.md for a tokens cookbook.references/components.md for practical page recipes (CRUD, Settings, Wizard).examples/ when you want ready-to-copy AntD screens.starter/ when you need a runnable Vite + React + AntD skeleton.Generated Mar 1, 2026
Building a dashboard for SaaS administrators to monitor user activity, manage subscriptions, and view analytics. This involves using Ant Design's Layout, Table, and Card components to display data in a grid, with Modals for editing user details and ConfigProvider for consistent theming across the platform.
Creating a CRUD interface for e-commerce managers to add, edit, and delete products, with Forms for input, Tables for listing items, and Drawers for detailed editing. The skill ensures responsive design and uses Ant Design's Form validation and Pagination for handling large product catalogs efficiently.
Developing a wizard-based registration form for healthcare providers to collect patient information step-by-step using Ant Design's Steps and Form components. It includes validation, Modal confirmations for data submission, and ConfigProvider for a clean, accessible theme that meets industry standards.
Implementing a dashboard for financial analysts to visualize reports with charts, tables, and filters. This leverages Ant Design's Layout for structure, Table for data display, and ConfigProvider for dark mode support to reduce eye strain during long analysis sessions.
Designing a portal for educators to manage courses, assignments, and student data using Ant Design's Tabs for navigation, Forms for input, and Tables for listings. The skill applies theming tokens to maintain a consistent brand look and ensures mobile responsiveness for on-the-go access.
Offering the skill as part of a SaaS platform where users pay a monthly fee for access to UI components and design patterns. Revenue is generated through tiered subscriptions based on usage levels, such as basic vs. premium features like advanced theming or priority support.
Providing consulting services to help businesses integrate Ant Design into their React projects, with revenue from hourly rates or fixed project fees. This includes customizing components, optimizing workflows, and ensuring best practices for scalability and performance.
Distributing the skill as a free open-source package with basic features, while offering premium add-ons like pre-built templates, advanced protocols, or dedicated support for revenue. This model attracts a wide user base and monetizes through upgrades for enterprise needs.
π¬ Integration Tip
Start by wrapping your React app in ConfigProvider to set global themes, then follow the default workflow to build layout and components incrementally, avoiding custom CSS unless necessary.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Expert frontend design guidelines for creating beautiful, modern UIs. Use when building landing pages, dashboards, or any user interface.
Use when building UI with shadcn/ui components, Tailwind CSS layouts, form patterns with react-hook-form and zod, theming, dark mode, sidebar layouts, mobile navigation, or any shadcn component question.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when building web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui β no mockups needed. Generates bold, memorable designs from plain text requirements with anti-AI-slop aesthetics, mobile-first responsive patterns, and single-file bundling. Use when building landing pages, marketing sites, portfolios, dashboards, or any static web UI. Supports both Vite (pure static) and Next.js (Vercel deploy) workflows.
AI skill for automated UI audits. Evaluate interfaces against proven UX principles for visual hierarchy, accessibility, cognitive load, navigation, and more. Based on Making UX Decisions by Tommy Geoco.