🎨
FrontendTypeScript

UnoCSS

by antfu

UnoCSS is a Frontend skill for Claude Code, published by antfu in skills.

5.8K stars317 forkson antfu/skillsAdded 2026/08/15Repository updated 2026/06/23
agent-skillsskills
Install in seconds
Install UnoCSS
Copy UnoCSS into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/antfu/skills/tree/main/skills/unocss ~/.claude/skills/unocss

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/antfu/skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/unocss/SKILL.md in antfu/skills
Installs to
~/.claude/skills/unocss
Collection
One of 19 skills cataloged from this repository
Category
Frontend567 skills

What UnoCSS does

UnoCSS generates atomic CSS utilities using a flexible engine with presets for rules, shortcuts, and themes. Use it when configuring UnoCSS, writing utility rules, or working with presets like Wind, Icons, and Attributify.

UnoCSS is cataloged under Frontend on DirSkills. UnoCSS comes from a repository tagged agent-skills and skills.

Documentation

README

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

This is the opening of the README. Read the full README on GitHub.

Frequently asked about UnoCSS

  • What else does antfu publish alongside UnoCSS?

    UnoCSS is one of 19 skills that DirSkills catalogs from antfu/skills, the repository it ships in. Its siblings there include Antfu Design, Anthony Fu Conventions and Nitro. Each one is a separate skill with its own page in this directory, installs the same way UnoCSS does, and is maintained by antfu in that same repository. The rest of the collection is listed on the antfu/skills page.

  • How does UnoCSS compare to other Frontend skills?

    UnoCSS ranks #137 by stars among the 567 Frontend skills in this catalog. The most-starred ones next to it are Angular Developer, Android Clean Architecture and Accessibility. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of UnoCSS against them. Open each page to compare what they document and how they install.

More from antfu/skills

UnoCSS is one of 19 skills cataloged on DirSkills from antfu/skills.

See all 19 skills
🎨
2w ago

Antfu Design

Antfu Design provides antfu-style design conventions for building interfaces with UnoCSS, using semantic tokens, light/dark parity, and micro-interaction polish. Use it when building or refactoring any interface with UnoCSS.
Frontend
5.8K317
🛠️
2w ago

Anthony Fu Conventions

Anthony Fu Conventions encodes Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use it when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.
Frontend
5.8K317
🚀
2w ago

Nitro

Nitro is a framework-agnostic server toolkit for building and deploying web servers anywhere. Use it when working with nitro.config, server routes/event handlers, route rules, caching, storage, tasks, websockets, or deploying to Node, Bun, Deno, Cloudflare, or Vercel.
DevOps
5.8K317
🟩
2w ago

Nuxt

Nuxt provides server-side rendering, auto-imports, and file-based routing for Vue apps. Use when building Nuxt apps, server routes, useFetch, middleware, or hybrid rendering.
Frontend
5.8K317
🍍
2w ago

Pinia

Pinia is the official Vue state management library, type-safe and extensible. Use when defining stores, working with state/getters/actions, or implementing store patterns in Vue apps.
Frontend
5.8K317
📦
2w ago

Pnpm

Pnpm manages Node.js dependencies with strict resolution and a content-addressable store. Use it when running pnpm-specific commands, configuring workspaces via pnpm-workspace.yaml, or managing catalogs, patches, overrides, and config dependencies.
DevOps
5.8K317