unocss
antfu/skills
UnoCSS를 구성하고 사용하세요. 프리셋, 규칙, 단축키, 그리고 Vite 및 Nuxt용 통합 기능을 갖춘 즉각적인 원자 CSS 엔진입니다.
...모든 것을 확장하십시오UnoCSS는 유연하고 확장 가능하도록 설계된 즉석형 원자 CSS 엔진입니다. 핵심은 의견 개입을 배제하며, 모든 CSS 유틸리티는 프리셋을 통해 제공됩니다. 이는 Tailwind CSS의 상위 집합이므로 기본 구문 사용에 Tailwind CSS 지식을 재사용할 수 있습니다.
중요: UnoCSS 코드를 작성하기 전에 에이전트는 프로젝트 루트에 uno.config.* 또는 unocss.config.* 파일이 있는지 확인하여 사용 가능한 프리셋, 규칙 및 단축키를 파악해야 합니다. 프로젝트 설정이 명확하지 않다면 속성 모드 및 기타 고급 기능 사용을 피하고 기본 class 사용에 집중하십시오.
이 스킬은 2026-01-28에 생성된 UnoCSS 66.x를 기반으로 합니다.
핵심
| 주제 | 설명 | 참조 |
|---|---|---|
| 구성 | 설정 파일 설정 및 모든 구성 옵션 | core-config |
| 규칙 | CSS 유틸리티 생성을 위한 정적 및 동적 규칙 | core-rules |
| 단축키 | 여러 규칙을 단일 축약형으로 결합 | core-shortcuts |
| 테마 | 색상, 브레이크포인트 및 디자인 토큰을 위한 테마 시스템 | core-theme |
| 변형 | hover:, dark:, 반응형 등 규칙에 변형 적용 | core-variants |
| 추출 | UnoCSS가 소스 코드에서 유틸리티를 추출하는 방법 | core-extracting |
| 안전 목록 및 차단 목록 | 특정 유틸리티의 강제 포함 또는 제외 | core-safelist |
| 레이어 및 사전 실행 | CSS 레이어 순서 및 원시 CSS 주입 | core-layers |
프리셋
주요 프리셋
| 주제 | 설명 | 참조 |
|---|---|---|
| Preset Wind3 | Tailwind CSS v3 / Windi CSS 호환 프리셋 (가장 일반적) | preset-wind3 |
| Preset Wind4 | 현대적 CSS 기능을 갖춘 Tailwind CSS v4 호환 프리셋 | preset-wind4 |
| Preset Mini | 사용자 지정 빌드를 위한 필수 유틸리티를 포함한 최소 프리셋 | preset-mini |
기능 프리셋
| 주제 | 설명 | 참조 |
|---|---|---|
| Preset Icons | 어떤 아이콘 세트든 사용할 수 있는 Iconify 기반 순수 CSS 아이콘 | preset-icons |
| Preset Attributify | class 대신 HTML 속성 내에 유틸리티 그룹화 | preset-attributify |
| Preset Typography | 타이포그래피 기본값을 위한 Prose 클래스 | preset-typography |
| Preset Web Fonts | Google Fonts 및 기타 웹 폰트 통합의 용이성 | preset-web-fonts |
| Preset Tagify | HTML 태그 이름으로 유틸리티 사용 | preset-tagify |
| Preset Rem to Px | 유틸리티를 위해 rem 단위를 px로 변환 | preset-rem-to-px |
변환기
| 주제 | 설명 | 참조 |
|---|---|---|
| 변형 그룹 | 공통 접두사가 있는 유틸리티 그룹화를 위한 축약형 | transformer-variant-group |
| 지시문 | CSS 지시문: @apply, @screen, theme(), icon() | transformer-directives |
| 클래스 컴파일 | 여러 클래스를 하나의 해시된 클래스로 컴파일 | transformer-compile-class |
| 속성 JSX | JSX/TSX에서 값 없는 속성 지원 | transformer-attributify-jsx |
통합
| 주제 | 설명 | 참조 |
|---|---|---|
| Vite 통합 | Vite 및 프레임워크별 팁과 함께 UnoCSS 설정 | integrations-vite |
| Nuxt 통합 | Nuxt 애플리케이션용 UnoCSS 모듈 | integrations-nuxt |
---
name: unocss
description: Configure and use UnoCSS, an instant atomic CSS engine with presets, rules, shortcuts, and integrations for Vite and Nuxt.
---
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:, responsive to rules | [core-variants](references/core-variants.md) |
| Extracting | How UnoCSS extracts utilities from source code | [core-extracting](references/core-extracting.md) |
| Safelist & Blocklist | Force include or exclude specific utilities | [core-safelist](references/core-safelist.md) |
| Layers & Preflights | CSS layer ordering and raw CSS injection | [core-layers](references/core-layers.md) |
## Presets
### Main Presets
| Topic | Description | Reference |
|-------|-------------|-----------|
| Preset Wind3 | Tailwind CSS v3 / Windi CSS compatible preset (most common) | [preset-wind3](references/preset-wind3.md) |
| Preset Wind4 | Tailwind CSS v4 compatible preset with modern CSS features | [preset-wind4](references/preset-wind4.md) |
| Preset Mini | Minimal preset with essential utilities for custom builds | [preset-mini](references/preset-mini.md) |
### Feature Presets
| Topic | Description | Reference |
|-------|-------------|-----------|
| Preset Icons | Pure CSS icons using Iconify with any icon set | [preset-icons](references/preset-icons.md) |
| Preset Attributify | Group utilities in HTML attributes instead of class | [preset-attributify](references/preset-attributify.md) |
| Preset Typography | Prose classes for typographic defaults | [preset-typography](references/preset-typography.md) |
| Preset Web Fonts | Easy Google Fonts and other web fonts integration | [preset-web-fonts](references/preset-web-fonts.md) |
| Preset Tagify | Use utilities as HTML tag names | [preset-tagify](references/preset-tagify.md) |
| Preset Rem to Px | Convert rem units to px for utilities | [preset-rem-to-px](references/preset-rem-to-px.md) |
## Transformers
| Topic | Description | Reference |
|-------|-------------|-----------|
| Variant Group | Shorthand for grouping utilities with common prefixes | [transformer-variant-group](references/transformer-variant-group.md) |
| Directives | CSS directives: @apply, @screen, theme(), icon() | [transformer-directives](references/transformer-directives.md) |
| Compile Class | Compile multiple classes into one hashed class | [transformer-compile-class](references/transformer-compile-class.md) |
| Attributify JSX | Support valueless attributify in JSX/TSX | [transformer-attributify-jsx](references/transformer-attributify-jsx.md) |
## Integrations
| Topic | Description | Reference |
|-------|-------------|-----------|
| Vite Integration | Setting up UnoCSS with Vite and framework-specific tips | [integrations-vite](references/integrations-vite.md) |
| Nuxt Integration | UnoCSS module for Nuxt applications | [integrations-nuxt](references/integrations-nuxt.md) |
모든 파일
0개 파일unocss 설치
스킬 파일을 다운로드하여 .claude/skills/ 디렉토리에 추출하세요.
ZIP 다운로드저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.
git clone https://github.com/antfu/skills/tree/main/skills/unocss # Copy SKILL.md to your .claude/skills/ directory
복사





집
