Agent skill · Design & Presentation

antfu-design

antfu-style design conventions, broadened. UnoCSS-first, class-based semantic tokens with dual light/dark for tooling and devtools UIs, plus design-read, anti-slop, and micro-interaction polish for landing pages and product surfaces. Use when building or refactoring any interface with UnoCSS.

antfugithub.com/antfuGitHub ↗
claude-codeMIT
Install
npx skills add antfu/skills --skill antfu-design --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 15
SKILL.md size: 5 KB
Bundled scripts: none
Version: 2026.06.22
Declared author: Anthony Fu
Path: skills/antfu-design/SKILL.md
Open the folder on GitHub →
Where it comes from
Source: antfu/skills
Stars: 5,709
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

Use this when building interfaces with UnoCSS in any framework (React, Vue, Svelte, Solid, or plain HTML), from dense devtools panels to landing pages. Read core-design-read first to set the direction, then apply the token system plus the polish and anti-slop rules. ## Core Rules - Use semantic shortcuts (`bg-base`, `border-base`, `color-active`, `btn-action`) instead of raw utility chains in markup. - Design light and dark mode together. Core tokens must work in both themes. - Name z-index layers (`z-top-nav`, `z-panel-content`, `z-drawer-content`). Do not use raw z values in templates. - Generate class-based utilities only (`class="..."`). Avoid Attributify syntax in generated code. - Keep icon/status class strings literal so UnoCSS can statically extract them (`// @unocss-include` when needed). - Use `font-mono` + `tabular-nums` for technical values (paths, SHAs, counters, timestamps, percentages). - For long paths and IDs, truncate visually but keep the full value in `title`. - Read the brief and set the three dials before choosing a look (core-design-read). - Borders for dense or structural surfaces, layered shadows for elevated ones (features-micro-interactions). - Zero em-da

What's inside
Steps it walks through
  1. Core Rules
  2. Starter shortcuts
  3. Core References
  4. Best Practices
  5. Features
  6. Advanced
Ships with 14 files
  • README.md
  • references/advanced-pattern-vocabulary.md
  • references/advanced-redesign-protocol.md
  • references/best-practices-anti-slop.md
  • references/best-practices-bias-correction.md
  • references/best-practices-class-utilities-over-attributify.md
  • references/best-practices-strict-rules.md
  • references/core-design-read.md
  • references/core-principles.md
  • references/core-starter-kit.md
  • references/core-tokens-and-combinations.md
  • references/features-data-presentation.md
  • references/features-floating-vue-overrides.md
  • references/features-micro-interactions.md
More from skills
All skills →
About this skill
What does the antfu-design skill do?

antfu-style design conventions, broadened. UnoCSS-first, class-based semantic tokens with dual light/dark for tooling and devtools UIs, plus design-read, anti-slop, and micro-interaction polish for landing pages and product surfaces. Use when building or refactoring any interface with UnoCSS.

How do I install it?

Run `npx skills add antfu/skills --skill antfu-design --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From antfu/skills, a repository with 5,709 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going