viarotel-org/skillx/antfu-antfu-design
Claude Code and agent skill by viarotel-org/skillx
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install viarotel-org/skillx/antfu-antfu-designSKILL.md
The same SKILL.md was published earlier as viarotel-org/skillx/antfu-antfu-design.
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-includewhen needed). - Use
font-mono+tabular-numsfor 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-dash and en-dash characters in any user-facing text (best-practices-anti-slop).
Starter shortcuts
A minimal semantic core. See core-starter-kit for the full uno.config.ts and base styles.
Core References
| Topic | Description | Reference | |
|---|---|---|---|
| Core Principles | Semantic tokens, dark mode parity, z-index naming, class-first output | core-principles | |
| Starter Kit | Copy-paste UnoCSS starter config and base light/dark styles | core-starter-kit | |
| Tokens and Combos | Token families, reusable class combinations, mobile-safe shell tokens | core-tokens-and-combinations | |
| Design Read and Dials | Read the brief, declare a design read, set variance/motion/density dials | core-design-read |
Best Practices
| Topic | Description | Reference | |
|---|---|---|---|
| Strict Rules and Pre-Flight | Do/don't checklist and the consolidated pre-flight | best-practices-strict-rules | |
| Class over Attributify | Why generated code uses class utilities, with conversions | best-practices-class-utilities-over-attributify | |
| Anti-Slop Hygiene | The dash ban and the AI-tell forbidden patterns | best-practices-anti-slop | |
| Bias Correction | Typography, color, layout, and materiality defaults to override | best-practices-bias-correction |
Features
| Topic | Description | Reference | |
|---|---|---|---|
| Data Presentation | Paths, icons, time, date, numbers, badges, buttons | features-data-presentation | |
| Micro-Interactions | Radius, alignment, shadows, animation, numbers, outlines, hit areas | features-micro-interactions | |
| Floating Vue Overrides | Shared Floating Vue setup and popper styling | features-floating-vue-overrides |
Advanced
| Topic | Description | Reference | |
|---|---|---|---|
| Pattern Vocabulary | Named UI patterns to recognize and reach for | advanced-pattern-vocabulary | |
| Redesign Protocol | Detect mode, audit first, preserve IA and SEO | advanced-redesign-protocol |
<!-- Source references:
- https://github.com/antfu/node-modules-inspector
- https://github.com/vitejs/devtools/tree/main/packages/rolldown
- https://github.com/eslint/config-inspector
- https://github.com/antfu/vite-plugin-inspect
- https://github.com/antfu/agent-container
- https://github.com/Leonxlnx/taste-skill
- https://github.com/jakubkrehel/make-interfaces-feel-better
-->
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/antfu-antfu-design/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/viarotel-org/skillx/antfu-antfu-design)