Skip to content
Agents tracked: 504 Releases (7d): 733 Agent status: 2 with issuesSince last limit reset: Claude 12d · Codex 10d For AI agents: Markdown Updated Nov 23, 2026

@antfu/design: a Vue design system guide for agents

antfu/design

A design guide for your AI assistant that comes with a ready Vue component kit. It is for screens of developer tools built in Vue. Your assistant uses the kit's named colours, its ready parts for badges, buttons, file paths and dialogs, and a few strict taste rules. The aim is a calm, dense look that works in light and dark.

Pack description by its author: “A design guide for your AI assistant that comes with a ready Vue component kit. It is for screens of developer tools built in Vue. Your assistant uses the kit's named colours, its ready parts for badges, buttons, file paths and dialogs, and a few strict taste rules. The aim is a calm, dense look that works in light and dark.”

Design and frontendKnowledge and rules for your assistant

GitHub

Checked against the pack's files at commit 2df66b0, on Nov 22, 2026. Tap a verdict to see its source.How we checkedReport an error

Knowledge and rules for your assistant

Good for you if

  • You build developer tool screens (dashboards, inspectors, panels) in Vue 3
  • Your project uses, or will use, the @antfu/design kit and UnoCSS
  • You want your assistant to reuse ready parts instead of inventing new buttons and colours each time

Probably not for you if

  • Your app is in React, Svelte or plain HTML: the guide is about this Vue kit
  • You want a marketing or landing page look: the kit is made for devtools style screens

What you'll notice

  • Named colours instead of raw ones: bg-base, color-muted, border-base, the same in light and dark
  • Ready parts first: numbers, sizes, dates and paths shown with the kit's display parts
  • Numbers and paths in a monospace font with aligned digits
  • Short labels with no long dashes in the text (the author calls it the dash ban)

What you need

  • Any assistant that reads skill folders
  • Free, MIT license
  • Add the @antfu/design package to your project, then share its skill with skills-npm
  • The guide only pays off in a Vue 3 project that uses the @antfu/design package with UnoCSS
Words on this page
Skill
A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
Repository
A project folder on GitHub with its files and history.
Repositoryantfu/design
GitHub stars89
Skills1
CategoryDesign and frontend
LicenseMIT
Last updatedNov 18, 2026 · card checked Nov 22, 2026 at commit 2df66b0
Install countsantfu/design on skills.sh, Vercel's skills directory, which shows installs and security audits per skill

antfu/design popularity over time

Most starred skill packs

antfu/design: GitHub starstotal over time 89
antfu/design: new stars per weekGitHub 1

What @antfu/design does

  • Own the tokens, not the colors: use the named colour and surface classes, never a raw hex value
  • Light and dark parity: every surface and text token has a dark version, so one-off colours count as dark mode bugs
  • No slop: technical values in mono with aligned digits, no em dash prose, one obvious action per screen
  • Reuse before you build: check the kit's catalog of parts before making a new one
  • Redesign protocol for old screens: map colours to tokens, swap raw elements for kit parts, run the contrast scan, tune density, hierarchy and affordance

From the pack's SKILL.md files, summarised by AgentGid.

The skill, explained

antfu-design

Guides your assistant to build or restyle Vue devtools screens with the kit's tokens and parts

You give

  • A Vue 3 project with @antfu/design and UnoCSS
  • The screen to build or the existing screen to restyle
  • Your primary colour, if not the default green

You get

  • Screens made of the kit's parts (Display, Form, Overlay, Layout, Action, Feedback)
  • Colours through named tokens that work in light and dark
  • A setup for the UnoCSS preset, styles and named z-index layers
  • A line added to your project's AGENTS.md about reusing kit parts
  • For restyles: a step by step move onto the kit with a contrast scan
Say: “Restyle this settings panel with @antfu/design and keep light and dark in parity”

Its rules, in pictures

The page it plans

1 Glass toolbar with a search field and icon buttons
2 Stat rows: muted label, mono value, optional badge
3 Panels: a card with collapsible sections
4 Detail lists: file paths or package names with badges
5 Empty state when there is nothing to show

Fonts it uses

DM Sansuses
DM Monouses

Default primary green and the dark background in the setup example

#49833E
#111

Each visual acts out what it does

In your designThe story it plays
A count, size, duration or dateShown with a display part, in mono with aligned digits
Fresh to stale, fast to slow, small to largeOne five step colour ramp: neutral, low, medium, high, critical
A file or module pathTruncated, folders dimmed, full path on hover
A nested card or inputA see-through raised surface, so layers stay visible inside glass panels

Drawn by AgentGid from the values in the skill's files. This is not output of the skill; sample text is ours.

See it in action

The skill defines what its answer looks like. Its own example:

Compose `ActionIconButton` with VueUse's `useDark`/`useToggle`:

From skills/antfu-design/references/recipes.md.

When to reach for it

You wantUse
Show a count, size, duration or dateDisplayNumber, DisplayBytes, DisplayDuration, DisplayDate
A status, type or tagDisplayBadge or DisplayLabel
A file or module pathDisplayFilePath
A dialog or side panelOverlayModal or OverlayDrawer
Move an old screen onto the kitThe redesign protocol in references/advanced-patterns.md
Try it. In a Vue 3 project with @antfu/design set up, ask: "Build a panel that lists packages with their version, size and last update, using @antfu/design." It works if the result uses DisplayPackageName, DisplayVersion, DisplayBytes and DisplayDate with named colour tokens and no raw hex values.

Skills in antfu/design

SkillIn plain wordsChanges files?What it does (author)
antfu-design Guides your assistant to build or restyle Vue devtools screens with the kit's tokens and partsYes Use when building or restyling devtools-style Vue 3 UIs with @antfu/design — wiring the composable UnoCSS preset, using the semantic token vocabulary (bg-base, color-base, badge-color-*, color-scale-*), choosing prefixed primitives (DisplayBadge, ActionButton, DisplayFilePath, OverlayModal, …),…
npx skills add antfu/design --skill antfu-design

The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.

Good to know before you install

  • It edits a file outside the screen you asked about: the skill tells your assistant to add a reuse rule to your project's AGENTS.md if it is not there yet.
  • It is tied to one kit: the guide assumes the @antfu/design package is in your project.
  • The kit is not self-contained: you add the base UnoCSS preset, icons, fonts and a style reset yourself.
  • Dark mode is yours to wire: the kit ships no dark mode switch; the guide shows how to build one with VueUse.
  • The author calls the whole thing an experiment in steering agents toward one person's design taste.

Before you start

Works in

  • Any assistant that reads skill folders: skills folder via skills-npm
  • Any assistant that reads skill folders: skills folder via the skills CLI

You will need

  • Vue 3: The kit's parts are Vue components
  • UnoCSS with a base preset and transformer-directives: The design layer is a UnoCSS preset that is not self-contained
  • Playwright and @axe-core/playwright (optional): Only for the contrast scan

Mistakes to avoid

  • Install the skill in a React or plain HTML project
    Use it in a Vue 3 project that depends on @antfu/design
    Every rule refers to this kit's tokens and Vue parts
  • Add only presetAnthonyDesign to uno.config.ts
    Also add a base preset (presetWind4, presetWind3 or presetMini) and the directives transformer
    Without a base preset the shortcuts have nothing to expand into, and without the transformer overlay styles are dropped
  • Write plain z-50 on an overlay
    Define named layers (z-nav, z-dropdown, z-modal-content …) in your own UnoCSS shortcuts
    The preset blocks plain z-index and ships no z-index values
  • Use bg-base on a card nested in a glass panel
    Use bg-raised or bg-sunken for nested layers; bg-base only for things that must hide what is behind
    The opaque surfaces punch a solid rectangle through a translucent parent

Which one to pick

If you needPick
You build Vue devtools screens on the @antfu/design kit and want the agent to reuse its parts and tokensThis pack
You want design vocabulary and review commands for any interface, not tied to one component kitpbakaus/impeccable
You want art direction and taste rules for any stack, checked in a browserLeonxlnx/taste-skill
You only want rules that filter out generic AI looking UI and textmiqdadbadjuber/anti-slop

Works well with

  • unocss: The kit is a UnoCSS preset; the skill wires it into uno.config.ts
  • vueuse-core: The skill's dark mode recipe uses VueUse's useDark and useToggle
  • storybook: references/storybook.md documents the kit's parts in Storybook with a theme synced toggle
  • axe-core-playwright: The contrast scan in the redesign protocol runs axe-core through Playwright

May I use it like this?

UseAnswerCondition
In a commercial app YesMIT
Work for clients YesMIT
Passing the files on With conditionsMIT: keep the copyright and permission notice in copies
Shipped inside your app YesMIT: keep the notice

What leaves your machine

  • The page at the URL you scan → A local headless Playwright browser (the URL you pass), Only when the contrast scan is run during the redesign protocol. Opt out: Skip the scan
  • Icon names requested by your app's users → api.iconify.design, Only if your app uses DisplayIconifyRemoteIcon. Opt out: Use UnoCSS icon classes from an installed icon set instead

Install @antfu/design

Official commands from the repository

pnpm add @antfu/design unocss

Then share the package's bundled skill with your assistant through skills-npm (see that tool's own docs). The published package ships the skills folder.

Remove: remove the @antfu/design package and the shared skill folder

Or with the open-source skills CLI: npx skills add antfu/design. Skills are instructions your agent follows: read them before installing.

What it installs and runs on your machine

Read in the code at commit 2df66b0, Nov 22, 2026

WhenWhat happens
InstallOne SKILL.md and eight reference markdown files. No hooks, no scripts in the skill folder.
Installing the cloned repository (contributors only)The root prepare script points git hooks at .githooks, sets up a pre-commit hook that runs the linter with fixes, and runs skills-npm.
SetupThe guide tells your assistant to add the package from the npm registry and wire it into uno.config.ts.
First use in a projectYour assistant appends a reuse rule to the project's AGENTS.md if it is missing.
Redesign protocolA contrast scan opens a URL you give in a headless Playwright browser, in light and dark, and prints violations.
Your app shows DisplayIconifyRemoteIconThat one component fetches icon SVGs from api.iconify.design at run time.

Settings

  • primary: Primary colour, a string or a full colour scale (default antfu green)
  • darkBackground: Near black for dark surfaces
  • blocklists.plainZIndex: Set to false to allow plain z-index utilities

Quick answers

Does it work without the @antfu/design package?
Only as reading material. The guide is about this kit's tokens and parts and expects the package in your project.
Does it work with React?
No. The kit and the guide are for Vue 3 devtools style apps.
Will it change my brand colour?
No. The primary colour is a setting; the default is a green, and you pass your own.
Does it pick my fonts?
No. The preset has no font option; the repository's own apps use DM Sans and DM Mono through UnoCSS web fonts.
Can I use it in a paid product?
Yes. MIT license; keep the copyright notice in copies.

Checked by AgentGid on Nov 22, 2026 against commit 2df66b0 of the pack's own files. Related: antfu/skills-npm. agent.md for AI agents · Report a mistake

More design and frontend skill packs

All design and frontend skills

# Install
1
nextlevelbuilder/ui-ux-pro-max-skill CheckedRuns scripts

Gets a local design library: UI styles, colour palettes, font pairings and UX rules for many product types. Before it builds a page, it looks up a matching style, colours and fonts and follows a checklist. Extra skills make logos, banners, slides and brand files; logos, mockups and icons need your own key for an outside image service.

153K +13.9K 7
2
Leonxlnx/taste-skill CheckedRuns scripts

Stops building the average landing page. It picks one of 20 researched design directions, finds real, credited pictures in open archives, then checks the page in a real browser and fixes what looks wrong. Dashboards and app screens get their own set of rules.

120K +18.7K 1
3
tt-a1i/archify CheckedRuns scripts

Turns a description, a Mermaid sketch or your project's code into an interactive diagram saved as one HTML file. It can also answer a question as a one-page explainer, with the conclusion first. The pack's own tools check every file before handing it to you.

98.7K +12.7K 5
4
cathrynlavery/diagram-design CheckedRuns scripts

Draws clean, editorial diagrams in your brand colours and fonts. You describe the diagram in plain words and get one HTML file you open with a double click. It can also redraw old draw.io, Mermaid or Excalidraw diagrams and export them as SVG or PNG.

70K +11.4K 1
5
Nutlope/hallmark CheckedRuns scripts

Builds web pages that look designed, not machine-made. It asks once for your real material and picks one of fifty visual themes. Then it builds the page and checks it against common AI design habits. Name it and it will also redesign or review a page you already have.

59.2K +25.2K 1
6

One large design playbook for your AI assistant, written in Chinese. It makes clickable app prototypes, web pages, slide decks, infographics and short animated videos as HTML, then exports them to PDF, PowerPoint, MP4 or GIF. Before any new design it shows you three real drafts to choose from and stops until you pick one.

30.3K +4,613 1