
Description
antfu-design is an agent skill from the antfu skills collection, listed on skills.sh. It sets out design conventions for building interfaces with UnoCSS in React, Vue, Svelte, Solid or plain HTML, from dense developer tool panels to landing pages. Its core rules tell the agent to use semantic shortcuts, such as bg-base, border-base, color-active and btn-action, rather than long chains of raw utilities in the markup. Light and dark modes are designed together, so core tokens work in both themes. Z-index values get named layers, such as z-top-nav and z-panel-content, instead of raw numbers in templates. The skill asks for class-based utilities only, and it avoids Attributify syntax in generated code. Icon and status class strings are kept as literals so that UnoCSS can detect them at build time. The skill says to read a core design-read section first to set the direction, then apply the token system together with its polish and anti-slop rules. A skill is a SKILL.md file of instructions, sometimes with scripts and reference notes, that an AI agent loads only when a task calls for it. The skill is listed as free on skills.sh.…
Highlights
- Semantic shortcuts instead of raw utility chains
- Light and dark tokens designed together
- Named z-index layers
- Works with React, Vue, Svelte, Solid and HTML
Ratings & Reviews
No ratings yet
Be the first to rate antfu-design.
People also visit

frontend-design
Strict frontend design guardrails for building modern, minimal-visual-noise
antfu-design FAQ
What does the antfu-design skill do?
It sets design conventions for an AI agent building interfaces with UnoCSS, using semantic tokens and shortcuts.
How do I install it?
Run: npx skills add https://github.com/antfu/skills --skill antfu-design
Is it free?
Yes. The skill is listed as free on skills.sh.
Which frameworks does it cover?
React, Vue, Svelte, Solid or plain HTML, according to the skill's description.
Does it handle dark mode?
Yes. The skill says light and dark modes are designed together, so core tokens work in both themes.
What are the best antfu-design alternatives?
Popular alternatives to antfu-design include ui-styling, tailwind-design-system and frontend-design. See all antfu-design alternatives


















