跳到正文
TakoAPI
返回技能列表

ant-design-skill

由 felipeoff 提供

Web & Frontend Development
1.3k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Front-end design skill for building React UIs with Ant Design (antd): component patterns, layout, forms, tables.

描述

该技能的功能

A design skill for building React UIs with Ant Design v5. Covers component patterns for forms, tables, modals, and layouts, plus theming via ConfigProvider and design tokens.

Using built-in antd patterns and tokens avoids reinventing validation logic, layout scaffolding, and state management that the library already handles.

何时使用

  • Building a CRUD admin dashboard with filterable data tables
  • Adding a multi-step form wizard to an onboarding flow
  • Theming an existing antd app with custom brand colors
  • Implementing a settings page with validation and edit flows
  • Adding dark mode support to a React app using antd

示例工作流

输入

User asks: Build a user management page with a searchable table and an edit modal

智能体
  1. 1

    Confirm React + antd v5 stack

  2. 2

    Scaffold Layout with Sider, Header, and Content

  3. 3

    Add a Table component with name, email, and role columns plus an actions column

  4. 4

    Wire a Form inside a Modal for the edit flow using Form.useForm() and form.setFieldsValue()

  5. 5

    Apply global tokens via ConfigProvider for primary color and border radius

输出

A functional user management page with server-side pagination, inline edit modal, and form validation

安装

clawhub install felipeoff/ant-design-skill

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接