Toolverse
All skills

unocss

by antfu

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.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
antfu
Category
Security
Views
22

About this skill

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 to use

  1. Zanim zaczniesz pisać kod UnoCSS, sprawdź katalog główny projektu – szukaj pliku uno.config.* lub unocss.config.*. Ten plik mówi Ci, które presety są dostępne i jakie reguły są już skonfigurowane. Jeśli projekt nie ma jasnej konfiguracji, przejdź do kroku 2.

  2. Jeśli plik konfiguracyjny istnieje, przeczytaj go, aby zrozumieć dostępne presety (np. Wind dla Tailwind-like klas, Icons dla ikon, Attributify dla atrybutów HTML). To określi, jak będziesz pisać style.

  3. Zacznij od podstawowych klas CSS – jeśli znasz Tailwind, składnia będzie podobna. Dodawaj klasy do atrybutu class w HTML. Unikaj zaawansowanych funkcji takich jak tryb attributify, jeśli nie jesteś pewny konfiguracji projektu.

  4. Jeśli chcesz tworzyć własne utility rules, otwórz plik konfiguracyjny i dodaj sekcję rules. Każda reguła mapuje nazwę klasy na właściwości CSS – na przykład ['m-\\d+', ([, num]) => ({ margin: ${num}px })] tworzy klasy typu m-10, m-20.

  5. Aby połączyć wiele reguł w jedną klasę, użyj shortcuts. Na przykład shortcuts: { 'btn': 'px-4 py-2 rounded bg-blue-500' } pozwala pisać class="btn" zamiast powtarzać wszystkie klasy.

  6. Jeśli potrzebujesz wariantów (hover, dark mode, responsive), zdefiniuj je w sekcji variants konfiguracji. UnoCSS obsługuje warianty takie jak hover:, dark: i media queries – możesz je stosować do swoich reguł i shortcutów.

Related skills

llama-cpp

by zechenzhangAGI

Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.

Security
11252

feishu-docs

by openclaw

飞书文档(Docx)API技能。用于创建、读取、更新和删除飞书文档。支持Markdown/HTML内容转换、文档权限管理。

Security
1574

python-expert

by Shubhamsaboo

Senior Python developer expertise for writing clean, efficient, and well-documented code.\nUse when: writing Python code, optimizing Python scripts, reviewing Python code for best practices,\ndebugging Python issues, implementing type hints, or when user mentions Python, PEP 8,

Security
2777

backend-security-coder

by sickn33

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

Security
1133

qmd

by tobi

Search personal markdown knowledge bases, notes, meeting transcripts, and documentation using QMD - a local hybrid search engine. Combines BM25 keyword search, vector semantic search, and LLM re-ranking. Use when users ask to search notes, find documents, look up information in

Security
1951

architect-review

by sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural

Security
2773