ant-design — community ant-design, basic-antd-vite, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Frontend Agents needing to build responsive and customizable UI components with React and antd v6 一个后台管理项目基础架构,基于react antd v6 vite

wtyang wtyang
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The ant-design skill by wtyang is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Frontend Agents needing to build responsive and customizable UI components with React and antd v6

Core Value

Empowers agents to create complex UI layouts using ant-design-pro and @ant-design/pro-components, with features like theming, tokens, CSS-in-JS, and Server-Side Rendering (SSR), while ensuring accessibility (a11y) and performance optimization

Capabilities Granted for ant-design

Building responsive dashboard layouts with Pro layouts and routing
Implementing CRUD operations with ant-design-pro components
Customizing UI themes and tokens for brand consistency

! Prerequisites & Limits

  • Requires React 18-19 and antd v6
  • Avoids undocumented APIs and internal `.ant-*` class coupling
  • Limited to specific versions of ant-design-pro and @ant-design/x
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

ant-design

Install ant-design, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Ant Design

S - Scope

  • Target: antd@^6 with React 18-19, plus ant-design-pro@^5 / @ant-design/pro-components and @ant-design/x@^2 when applicable.
  • Cover: core components, theming/tokens, css-in-js, SSR, a11y, performance, Pro layouts/routing/access/CRUD, and X (AI/chat UI) patterns.
  • Avoid: undocumented APIs, internal .ant-* class coupling, or cross-version mixing without explicit request.

Default assumptions (when not specified)

  • Language: TypeScript.
  • Styling: prefer tokens, classNames, and styles; avoid global overrides.
  • Provider: a single ConfigProvider at app root, unless isolation is required.
  • Dependencies: do not add new packages unless required or requested.

Scope rules (must follow)

  • Use only officially documented antd APIs and patterns.
  • Do not invent props, events, or component names.
  • Use only officially documented Pro/X APIs and patterns.
  • Assume v6 by default; do not mix v5 APIs unless explicitly requested.
  • Do not add global .ant-* overrides; prefer tokens and component tokens.
  • Keep examples short; no long, multi-screen samples in the main skill.
  • Do not rely on internal .ant-* classes or DOM details; if unavoidable, state risk and alternatives.
  • Theme priority is fixed: global tokens -> component tokens -> alias tokens.
  • For SSR, provide the minimal provider setup and verification points (hydration, style order, duplication).
  • Route complex issues to Reference files; main skill gives only decisions and entry points.

Complex triggers (must open a Reference)

  • More than 3 interaction states or cross-field linkage (Form).
  • Remote search, large data, or custom rendering (Select).
  • Server sorting/filtering/pagination, virtualization, fixed columns/headers (Table).
  • Async load, checkStrictly, or virtualization (Tree).
  • Controlled fileList, customRequest, preview/auth edge cases (Upload).
  • SSR style order, streaming/hydration errors, or performance bottlenecks.
  • Pro layouts, route-driven menus, or access control (Layout/Access).
  • ProTable/ProForm with request coupling, dynamic fields, or perf tuning.
  • X streaming, tool rendering, or Markdown extensions beyond the defaults.

Reference index (Chinese)

TopicDescriptionReference
Core v6Version scope, migration notes, theming/SSR overviewreferences/antd-v6.md
Legacy v5Existing v5 projects and migration guardrailsreferences/antd-v5.md
Form advancedDynamic forms, dependencies, validation perfreferences/form-advanced.md
Table advancedSorting/filtering/virtualization patternsreferences/table-advanced.md
Upload advancedControlled upload, customRequest, edge casesreferences/upload-advanced.md
Select advancedRemote search, tags, rendering and a11yreferences/select-advanced.md
Tree advancedAsync load, checkStrictly, virtualreferences/tree-advanced.md
Pro v5Pro 5 scope and baseline guidancereferences/pro-v5.md
Pro layoutLayouts, menus, access, multi-layout patternsreferences/pro-layout-advanced.md
ProTableQuery/table coupling, request patterns, perfreferences/protable-advanced.md
ProFormStep forms, dynamic fields, table linkagereferences/proform-advanced.md
X v2X v2 scope and baseline guidancereferences/x-v2.md
X componentsMessage/tool component patternsreferences/x-components-advanced.md
X SDKStreaming integration and state modelreferences/x-sdk-advanced.md
X MarkdownX Markdown extensions and renderingreferences/x-markdown-advanced.md

Reference routing rule

  • Do not expand advanced topics in the main skill.
  • Jump to a Reference if any condition matches:
    • More than 3 interaction states.
    • Async flows or large data sets.
    • Virtualization or performance tuning.
    • Complex accessibility requirements.

P - Process

1) Identify the layer first

  • Core antd UI, Pro admin app, or X chat/agent UI?
  • If Pro or X is involved, route to the relevant Reference when complexity triggers match.

2) Clarify context before advising

  • Framework and rendering: Next.js / Umi / Vite? CSR / SSR / streaming?
  • antd version: confirm v6 if unclear.
  • Theming depth: small token changes or component-level overrides?
  • Data scale: large lists/tables/trees/selects?
  • Interaction complexity: controlled state, linkage, async, auth, upload flows?

3) Provider minimal set

  • CSR: usually ConfigProvider only.
  • SSR or strict style order: add StyleProvider as per references/antd-v6.md.
  • One app, one root provider; local themes only for isolation needs.

4) Component selection rules (core antd)

  • Form: prefer Form as source of truth unless external state is required.
  • Overlay: Modal for blocking flows; Drawer for side context or long content.
  • Lists: structured data uses Table, light lists use List; Table needs stable rowKey.
  • Large data: use virtualization (see references/table-advanced.md).
  • Select: local filter uses filterOption; remote search uses showSearch + filterOption={false} + onSearch (see references/select-advanced.md).
  • Upload: controlled flow uses fileList; complex flow uses customRequest (see references/upload-advanced.md).

5) Pro decision shortcuts (when Pro is in scope)

  • Routes are the menu source of truth; avoid hand-built menus.
  • Access control is page-first; UI hides are secondary; backend still enforces.
  • CRUD uses ProTable/ProForm schemas as the source of truth (see Pro references).

6) X decision shortcuts (when X is in scope)

  • Model messages/tools as serializable data; JSX is a pure view.
  • Streaming needs stable keys, throttled updates, and scroll management (see X references).

7) Theming decision chain

  1. Use global tokens for most cases.
  2. Use component tokens or classNames/styles for differences.
  3. Only if unavoidable, use scoped CSS overrides and state the risk.
  4. Never rely on global .ant-* overrides.

8) Shunt complexity to Reference

  • If any complex trigger matches, provide decision + minimal skeleton + Reference path.
  • Details live in the corresponding references/*.md.

9) a11y and performance checks

  • a11y: keyboard access, focus management for overlays, icon buttons with aria-label, not color-only states.
  • perf: stable keys, memoized columns, avoid frequent setState, use virtualization and throttling as needed.

O - Output

Output should include (as needed)

  • Component and layout recommendations with 1-3 sentence rationale.
  • Minimal provider and theming strategy.
  • SSR, perf, and a11y risks with concrete mitigations.
  • Pro: route/layout plan, access model, and ProTable/ProForm schema when relevant.
  • X: message/tool schema and streaming state model when relevant.
  • A Reference path when complex triggers match.
  • Advice only (no code) when the request is selection or decision guidance.

Output forbidden

  • Inventing antd APIs, tokens, or relying on internal classes without calling out risk.
  • Replacing tokens with global CSS overrides.
  • Vague SSR/hydration advice without verification points.

Regression checklist (prefer 5-10 items)

  • Provider: one root ConfigProvider; SSR style order is controlled.
  • Theming: tokens first, no broad global .ant-* overrides.
  • Form: validation and linkage are within Form and reproducible.
  • Table: stable rowKey; pagination/sort/filter entry points are consistent.
  • Select: remote search disables local filter; a11y checks pass.
  • Upload: controlled vs uncontrolled mode is clear; failure and retry flows defined.
  • Overlays: close and destroy behavior is defined (destroyOnClose etc).
  • Performance: stable keys and memoization; virtualization or throttling when needed.
  • Pro: route-driven menus/access are consistent with backend enforcement.
  • X: streaming state, stop/retry, and tool rendering are deterministic.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is ant-design?

Ideal for Frontend Agents needing to build responsive and customizable UI components with React and antd v6 一个后台管理项目基础架构,基于react antd v6 vite

How do I install ant-design?

Run the command: npx killer-skills add wtyang/basic-antd-vite/ant-design. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for ant-design?

Key use cases include: Building responsive dashboard layouts with Pro layouts and routing, Implementing CRUD operations with ant-design-pro components, Customizing UI themes and tokens for brand consistency.

Which IDEs are compatible with ant-design?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for ant-design?

Requires React 18-19 and antd v6. Avoids undocumented APIs and internal `.ant-*` class coupling. Limited to specific versions of ant-design-pro and @ant-design/x.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add wtyang/basic-antd-vite/ant-design. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use ant-design immediately in the current project.

Related Skills

Looking for an alternative to ant-design or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI