Design skill preview

Ant design skill for AI agents

Overview

The Ant design skill is a comprehensive, implementation-ready design system guideline built for AI agents. It encodes the entire visual identity, component specifications, and interaction standards of a structured, enterprise-focused design system into a single SKILL.md file that any AI coding assistant can follow.

Ant Design follows an enterprise-focused philosophy that emphasizes clarity, consistency, and efficiency in complex web applications. Built for data-dense interfaces where users manage large volumes of information, it prioritizes scannability, predictable patterns, and professional restraint over visual flair. Every rule in this skill file is anchored to a concrete token, threshold, or example — no ambiguous adjectives.

Style foundations

The Ant design system is built on a data-dense, enterprise visual style with carefully defined foundations.

Typography

The system uses Plus Jakarta Sans as both the primary body and display font, providing a modern geometric sans-serif that stays highly legible at small sizes — critical for data-dense layouts. JetBrains Mono is used for code and monospaced elements. The scale follows a progression of 12 / 14 / 16 / 20 / 24 / 32 pixels, and all nine font weights (100–900) are available for precise typographic control. The single-family approach keeps complex interfaces visually consistent across tables, forms, and dashboards.

Color palette

Token Hex Usage
Primary #1677FF Primary actions, links, and key UI accents
Secondary #8B5CF6 Secondary actions and complementary highlights
Success #16A34A Positive states, validations, and confirmations
Warning #D97706 Cautionary states and threshold alerts
Danger #DC2626 Error states, validation failures, and destructive actions
Surface #FFFFFF Page backgrounds, card surfaces, and panels
Text #111827 Body text, headings, and content

The system uses semantic tokens across five palettes — primary, neutral, success, warning, and danger — so components reference tokens rather than raw hex values. The clean blue primary on a white surface creates the signature enterprise look: trustworthy, professional, and built for extended use.

Spacing

All spacing follows a 4 / 8 / 12 / 16 / 24 / 32 pixel scale to maintain a consistent vertical and horizontal rhythm across every component.

Component families

The Ant skill covers a wide range of component families, organized into logical groups:

  • Inputs and forms — buttons, inputs, textareas, selects/comboboxes, checkboxes, radios, switches, date/time pickers, file uploaders
  • Data display — cards, tables, data lists, data grids, charts, stats/metrics, badges/chips, avatars
  • Navigation — breadcrumbs, pagination, steppers, sidebars, top bars/headers, tabs, command palette
  • Overlays — modals, drawers/sheets, tooltips, popovers/menus
  • Feedback — alerts/toasts, notifications center, progress indicators, skeletons, empty states
  • Pages — authentication screens, settings pages, onboarding, documentation layouts, pricing blocks, search
  • Visualization — data visualization wrappers, carousels, accordions

Each component family includes defined states (default, hover, focus-visible, active, disabled, loading, error), interaction behavior for keyboard, pointer, and touch, explicit token usage, and responsive behavior with edge cases.

Accessibility

This skill targets WCAG 2.2 AA compliance with keyboard-first interactions and visible focus states. Every accessibility statement in the file is testable in implementation. When conflicts arise between aesthetics and accessibility, accessibility wins.

How to use this skill with AI agents

Pull the skill file into your project with a single command:

npx typeui.sh pull ant

This saves the SKILL.md file directly into your project. The skill file is a structured markdown document that tells any AI agent exactly how to build interfaces following the Ant design system — which colors to use, how typography should scale, what states every component needs, and how spacing should behave.

Once the file is in your project, you can use it with any AI coding tool — Claude, ChatGPT, Cursor, Windsurf, Copilot, or any other agent that accepts context files, system prompts, or knowledge documents. Copy it into a project knowledge base, reference it as context in a prompt, upload it as a knowledge file, or drop it into a rules directory. The structured format ensures consistent results regardless of which AI platform you use.

Design principles

The Ant skill enforces these core rules:

  1. Prefer semantic tokens over raw values — always reference design tokens instead of hardcoded colors, sizes, or spacing
  2. Preserve visual hierarchy — maintain clear distinctions between headings, body text, and supporting elements
  3. Keep interaction states explicit — every interactive element must define its full state set
  4. Design for every state — empty, loading, and error states are first-class concerns, not afterthoughts
  5. Ensure responsive behavior by default — components must adapt gracefully across screen sizes
  6. Document accessibility rationale — every accessibility decision should be traceable and testable

And six strict anti-patterns to avoid:

  1. No low contrast text — all text must meet WCAG AA contrast ratios
  2. No inconsistent spacing rhythm — every measurement must align to the spacing scale
  3. No decorative motion without purpose — animation should communicate, not distract
  4. No ambiguous labels — interactive elements must have clear, descriptive labels
  5. No mixed visual metaphors — stick to the enterprise language, don't blend competing styles
  6. No inaccessible hit areas — touch targets must be large enough for comfortable interaction

Writing tone

All content generated with this skill follows a concise, confident, helpful, clear, friendly, professional, and action-oriented tone with minimal jargon. Labels are direct. Instructions guide the user toward the next step. There is no unnecessary decoration.

Comments

Sign in to join the conversation.

How do these design skills work?

1

All of these design skills are handcrafted by the creators of typeui.sh as optimized skill.md files that can be plugged into your agentic tools to then instruct the AI LLMs to create websites with this specific design.

2

Use the command npx typeui.sh pull [name] to pull the design skill file or just copy-paste or download the file from our website.

3

You or your agents (can be OpenClaw too) start building websites based on these handpicked designs.