Agent skill · Frontend

unocss

UnoCSS instant atomic CSS engine, superset of Tailwind CSS. Use when configuring UnoCSS, writing utility rules, shortcuts, or working with presets like Wind, Icons, Attributify.

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

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

Facts
Files in the skill folder: 25
SKILL.md size: 4 KB
Bundled scripts: none
Version: 2026.1.28
Declared author: Anthony Fu
Path: skills/unocss/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

UnoCSS is an instant atomic CSS engine designed to be flexible and extensible. The core is un-opinionated - all CSS utilities are provided via presets. It's a superset of Tailwind CSS, so you can reuse your Tailwind knowledge for basic syntax usage. **Important:** Before writing UnoCSS code, agents should check for `uno.config.*` or `unocss.config.*` files in the project root to understand what presets, rules, and shortcuts are available. If the project setup is unclear, avoid using attributify mode and other advanced features - stick to basic `class` usage. > The skill is based on UnoCSS 66.x, generated at 2026-01-28. ## Core | Topic | Description | Reference | |-------|-------------|-----------| | Configuration | Config file setup and all configuration options | [core-config](references/core-config.md) | | Rules | Static and dynamic rules for generating CSS utilities | [core-rules](references/core-rules.md) | | Shortcuts | Combine multiple rules into single shorthands | [core-shortcuts](references/core-shortcuts.md) | | Theme | Theming system for colors, breakpoints, and design tokens | [core-theme](references/core-theme.md) | | Variants | Apply variations like hover:, dark:, res

What's inside
Steps it walks through
  1. Core
  2. Presets
  3. Main Presets
  4. Feature Presets
  5. Transformers
  6. Integrations
Ships with 24 files
  • GENERATION.md
  • references/core-config.md
  • references/core-extracting.md
  • references/core-layers.md
  • references/core-rules.md
  • references/core-safelist.md
  • references/core-shortcuts.md
  • references/core-theme.md
  • references/core-variants.md
  • references/integrations-nuxt.md
  • references/integrations-vite.md
  • references/preset-attributify.md
  • references/preset-icons.md
  • references/preset-mini.md
  • references/preset-rem-to-px.md
  • references/preset-tagify.md
  • references/preset-typography.md
  • references/preset-web-fonts.md
  • references/preset-wind3.md
  • references/preset-wind4.md
  • references/transformer-attributify-jsx.md
  • references/transformer-compile-class.md
  • references/transformer-directives.md
  • references/transformer-variant-group.md
first 24 of 25
More from skills
All skills →
About this skill
What does the unocss skill do?

UnoCSS instant atomic CSS engine, superset of Tailwind CSS. Use when configuring UnoCSS, writing utility rules, shortcuts, or working with presets like Wind, Icons, Attributify.

How do I install it?

Run `npx skills add antfu/skills --skill unocss --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