← All skills
Tencent SkillHub Β· Developer Tools

Ant Design Skill

Skill for efficiently building React UIs using Ant Design v5+ with layouts, forms, tables, modals, theming via ConfigProvider, and consistent component patte...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Skill for efficiently building React UIs using Ant Design v5+ with layouts, forms, tables, modals, theming via ConfigProvider, and consistent component patte...

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md, examples/README.md, examples/crud-users/README.md, examples/crud-users/UsersPage.tsx, examples/crud-users/mockServer.ts

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 13 sections Open source page

Ant Design (React) β€” Practical Front-end Design Skill

Use this skill when you are building a React UI with Ant Design (antd) and want consistent, non-ugly screens fast.

When to use

The project uses React + Ant Design You need to design/implement pages with: Layout, Menu, Form, Table, Modal, Drawer, Steps, Tabs, Pagination You need to implement theme tokens (colors, radius, typography, spacing) You want predictable UI patterns (CRUD screens, dashboards, settings pages)

Default workflow (do this order)

Confirm stack: React + antd version (v5+ assumed). Choose page pattern: CRUD list (Table) + filters (Form) + actions (Modal/Drawer) Wizard (Steps) Settings (Form + Cards) Dashboard (Grid + Cards + Charts) Build layout skeleton first: Layout + Sider + Header + Content Navigation with Menu Build the main interaction component: Forms: Form, Form.Item, Input, Select, DatePicker, Switch Tables: Table + column definitions + row actions Add feedback loop: message, notification, Modal.confirm Apply theming/tokens via ConfigProvider (global) and component-level overrides. Verify: Empty states Loading states Error states Mobile responsiveness (at least: 360px layout sanity)

Layout

Use Layout with Sider (collapsible), Header for top actions, Content scroll. Put page title + primary CTA in a Flex (or Space) row.

Forms

Keep forms vertical; align labels consistently. Use Form + Form.Item rules for validation; avoid custom validation unless necessary. Use Form.useForm() and form.setFieldsValue() for edit flows.

Tables (CRUD)

Columns: left: identifier/name middle: important attributes right: actions (Edit/Delete) Use rowKey always. Use server-side pagination for real apps.

Modals/Drawers

Modal for short forms. Drawer for longer forms or when you want context kept.

Theming / Tokens (AntD v5)

Ant Design v5 uses Design Tokens and CSS-in-JS.

Global theme

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> ); }

Dark mode

Use theme.darkAlgorithm and keep tokens consistent: const isDark = true; <ConfigProvider theme={{ algorithm: isDark ? theme.darkAlgorithm : theme.defaultAlgorithm, token: { colorPrimary: '#7c3aed' }, }} />

Component-level overrides

Use components.<ComponentName> for specific tweaks (Button, Input, Table, etc.).

References

Read README.md for the full β€œhow-to” (setup + patterns + examples). Use protocols/ when you want LLM-first contracts (describe UIs as data, then generate code deterministically). Read references/tokens.md for a tokens cookbook. Read references/components.md for practical page recipes (CRUD, Settings, Wizard). Use examples/ when you want ready-to-copy AntD screens. Use starter/ when you need a runnable Vite + React + AntD skeleton.

Guardrails

Assume Ant Design v5+ (tokens). If project is v4 (Less variables), stop and ask. Prefer built-in components and patterns over custom CSS. Avoid over-theming: set a small set of tokens and only override components when needed.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
4 Docs1 Scripts1 Files
  • SKILL.md Primary doc
  • examples/crud-users/README.md Docs
  • examples/README.md Docs
  • README.md Docs
  • examples/crud-users/mockServer.ts Scripts
  • examples/crud-users/UsersPage.tsx Files