pick-ui-library
emilkowalski/skills · Agent Skill
Scegliere una libreria con un'opinione degna di fiducia per compiti frontend generici, inclusi componenti, movimento, grafici, interazione, stato e stile.
Vai all'installazione ↓Panoramica
| Autore | |
|---|---|
| Repository | emilkowalski/skills ↗ |
| Cartella dello skill | pick-ui-library |
| Stelle | 49.875 |
| Fork | 2906 |
| File inclusi | 1 |
| Licenza | MIT |
| Aggiornato | 11 ottobre 2026 |
| Link | Sorgente dello skill ↗ · Repository ↗ |
Verifica Mozgi
Cosa abbiamo trovato nei file dello skill. I dettagli con l’abbonamento.
Installazione
Uno skill è una cartella con un file SKILL.md. Scegli il tuo agente ed esegui i comandi in un terminale (macOS, Linux o Git Bash su Windows) dalla radice del progetto.
Incolla il prompt in Claude, Codex o un altro assistente: controllerà lo skill e lo installerà.
Install the “pick-ui-library” skill from mozgi.io (https://mozgi.io/skills/emilkowalski-pick-ui-library/) for me. 1. Download the archive: https://mozgi.io/skills/emilkowalski-pick-ui-library/download If it fails, take the skill folder from the source: https://github.com/emilkowalski/skills/tree/main/skills/pick-ui-library 2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me. 3. Put the “pick-ui-library” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.). 4. Make sure <skills folder>/pick-ui-library/SKILL.md exists. 5. Briefly tell me what this skill does and offer to try it on my task. If you cannot do a step yourself, tell me what to click or type.
git clone --depth 1 --branch main https://github.com/emilkowalski/skills.git /tmp/skills mkdir -p .claude/skills cp -r /tmp/skills/skills/pick-ui-library .claude/skills/pick-ui-library
Riavvia Claude Code: lo skill compare nell'elenco; per richiamarlo a mano usa /pick-ui-library. Per tutti i progetti: ~/.claude/skills.
git clone --depth 1 --branch main https://github.com/emilkowalski/skills.git /tmp/skills mkdir -p .agents/skills cp -r /tmp/skills/skills/pick-ui-library .agents/skills/pick-ui-library
Codex cerca gli skill in .agents/skills dalla cartella corrente fino alla radice del repo; richiamalo con /skills o $pick-ui-library. Per tutti i progetti: ~/.agents/skills.
git clone --depth 1 --branch main https://github.com/emilkowalski/skills.git /tmp/skills mkdir -p .cursor/skills cp -r /tmp/skills/skills/pick-ui-library .cursor/skills/pick-ui-library
Cursor carica lo skill all'avvio; richiamalo con “/” nella chat Agent. Cursor legge anche .claude/skills e .agents/skills. Per tutti i progetti: ~/.cursor/skills.
git clone --depth 1 --branch main https://github.com/emilkowalski/skills.git /tmp/skills mkdir -p .gemini/skills cp -r /tmp/skills/skills/pick-ui-library .gemini/skills/pick-ui-library
Gemini CLI propone di attivare lo skill quando il compito corrisponde: tu confermi. Per tutti i progetti: ~/.gemini/skills.
Leggi SKILL.md e i file correlati prima di installare. Clicca un file per l'anteprima.
Contenuto di SKILL.md
Testo originale dell'autore · sola letturaPicking The Right Library
Initial Response
When this skill is first invoked without a specific question, respond only with:
> I'm ready to pick the right library for your task, my picks come from Emil Kowalski's curated list.
Do not provide any other information until the user asks a question.
A lookup skill. When invoked with a task ("I need toasts", "what should I use for drag and drop?"), match the task to the curated list below and recommend the library. These are deliberate, taste-driven picks — don't substitute alternatives outside this list unless the user asks for one or the task genuinely isn't covered.
How to use this
1. Identify the task, not the library the user named. "I need to show a dropdown" is a UI-primitives task (base-ui), even if they asked about something else.
2. Check what's already installed. Look at package.json first. If the project already uses a listed library, use it. If it uses a competitor (e.g. react-window instead of Virtuoso), flag the recommendation but don't churn the dependency without being asked.
3. Recommend one library, state what it's for in one sentence, and install/wire it up if that's part of the request. Don't present a menu of options when the list has a clear answer.
4. If the task isn't covered by the list, say so explicitly and recommend from your own knowledge — but be clear you've left the curated list.
The list
UI components & primitives
| Task | Library |
| --- | --- |
| Unstyled, accessible UI components (dialogs, popovers, menus, selects…) | base-ui ↗ |
| Command menus (⌘K palettes) | cmdk ↗ |
| Toasts / notifications | Sonner ↗ |
| One-time password / verification code inputs | input-otp ↗ |
| Customizable GUIs / control panels | Leva ↗ — dialkit ↗ is an alternative |
Motion & visuals
| Task | Library |
| --- | --- |
| General-purpose animation (springs, layout animations, enter/exit) | motion ↗ (Framer Motion) |
| Animating numbers (counters, prices, stats) | NumberFlow ↗ |
| Animated text components | torph ↗ |
| 3D globes | Cobe ↗ |
| Dynamic OG images (HTML/CSS → SVG/PNG) | Satori ↗ |
| Syntax highlighting | shiki ↗ |
Reach for motion when you need springs, layout animations, exit animations, or gesture-driven values. A simple hover or fade doesn't need it — plain CSS transitions are the right tool there.
Charts
| Task | Library |
| --- | --- |
| Real-time / streaming charts | Liveline ↗ |
| General charts (static or interactive dashboards) | recharts ↗ |
The split: if data points arrive live and the chart scrolls with time, use Liveline. Everything else is recharts.
Interaction & performance
| Task | Library |
| --- | --- |
| Drag and drop | dnd kit ↗ |
| Virtualization (long lists, large tables) | Virtuoso ↗ |
State & styling
| Task | Library |
| --- | --- |
| State management | zustand ↗ |
| Constructing className strings conditionally | clsx ↗ |
| Type-safe, variant-driven styling for Tailwind | cva ↗ |
| Theme switching / dark mode (no flash on load) | next-themes ↗ |
The styling split: clsx for ad-hoc conditional classes; cva when a component has real variants (size, intent, state) that deserve a typed API. They compose — cva uses clsx-style inputs internally.
Common mismatches to catch
- Toasts built by hand or with a modal library → Sonner exists for exactly this.
- A
<div>-based dropdown/dialog with manual focus handling → base-ui, which handles accessibility, focus trapping, and dismissal. - Animating a number by re-rendering text → NumberFlow handles digit transitions properly.
- Rendering a 1,000+ row list directly → Virtuoso before reaching for pagination hacks.
- A
useState-per-component web of props for shared state → zustand. - Template-literal className ternaries three conditions deep → clsx (or cva if it's variant-shaped).
Domande frequenti
Che cosa fa lo skill pick-ui-library?
Scegliere una libreria con un'opinione degna di fiducia per compiti frontend generici, inclusi componenti, movimento, grafici, interazione, stato e stile.
Come si installa pick-ui-library?
Apri il blocco “Installazione” in questa pagina e scegli il tuo agente — Claude Code, Codex, Cursor o Gemini CLI — per i comandi pronti che copiano la cartella dello skill nel posto giusto. Oppure copia il prompt dalla scheda “Con l'assistente” e lascia che sia l'assistente a controllare e installare lo skill.
Con quali modelli AI funziona pick-ui-library?
Gli skill sono semplici istruzioni in Markdown (formato Agent Skills), quindi pick-ui-library funziona con qualsiasi agente che legge SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode e altri. Il modello carica le istruzioni solo quando il compito corrisponde alla descrizione dello skill.
pick-ui-library è gratuito?
Lo skill è pubblicato apertamente da emilkowalski con licenza MIT. Lo skill in sé non costa nulla: paghi solo il tuo fornitore AI per i token usati.
È sicuro installare gli skill?
Uno skill è un insieme di istruzioni che il tuo agente seguirà: leggi SKILL.md e i file correlati prima di installarlo. Gli script nella cartella dello skill vengono eseguiti solo se li esegue l'agente: controlla cosa fa e non concedere permessi superflui.
In cosa differisce uno skill da un server MCP o da un plugin?
Un server MCP o un plugin danno al modello nuovi strumenti: codice che viene eseguito e restituisce un risultato. Uno skill fornisce conoscenza e metodo: come affrontare il compito, quali passi seguire e com'è un buon risultato. Non servono server né chiavi API.