pick-ui-library

Recommends curated frontend libraries for UI, animation, charts, state, and styling tasks.

Updated Aug 28, 2026
One-click install
npx skills add https://github.com/trobias/portfolio-nextjs-v2 --skill pick-ui-library-trobias
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pick-ui-library
Source: https://github.com/trobias/portfolio-nextjs-v2/tree/main/.agents/skills/pick-ui-library
Command: npx skills add https://github.com/trobias/portfolio-nextjs-v2 --skill pick-ui-library-trobias

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing the right frontend library is time-consuming and error-prone; this Skill maps a described task to a curated, opinionated library list so you get one deliberate recommendation instead of a menu of options. ## Core Features & Use Cases - Task-to-library matching: Covers UI primitives (base-ui, cmdk, Sonner, input-otp), motion (motion, NumberFlow, Cobe, shiki), charts (Liveline, recharts), drag and drop (dnd kit), virtualization (Virtuoso), state (zustand), and styling (clsx, cva, next-themes). - Existing-dependency awareness: Checks package.json first and flags conflicts with already-installed competitor libraries without churning dependencies. - Mismatch detection: Catches common anti-patterns like hand-built toasts, div-based dropdowns, re-rendered number animations, and unvirtualized thousand-row lists. - Use Case: You ask "what should I use for drag and drop?" and receive dnd kit as the single recommendation, with wiring guidance if requested. ## Quick Start Ask the skill which library to use for a specific frontend task such as toasts, charts, or drag and drop.

Frequently Asked Questions about pick-ui-library

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What library should I use for drag and drop in React?▼

Use dnd kit for drag and drop in React. It is the curated pick for sortable lists, draggable elements, and drop targets, and the skill recommends it as the single answer rather than listing alternatives.

How do I choose between recharts and Liveline for charts?▼

Use Liveline when data points arrive live and the chart scrolls with time, such as streaming dashboards. Use recharts for everything else, including static or interactive general-purpose charts.

What is the difference between clsx and cva for Tailwind styling?▼

Use clsx for ad-hoc conditional className strings. Use cva when a component has real variants like size, intent, or state that deserve a typed API; cva composes with clsx-style inputs internally.

Does this skill replace existing libraries already in package.json?▼

No. It checks package.json first and uses a listed library if already installed. If a competitor is installed, such as react-window instead of Virtuoso, it flags the recommendation but does not change the dependency unless asked.

When should I use Virtuoso instead of pagination for long lists?▼

Use Virtuoso when rendering lists or tables with roughly a thousand rows or more. Virtualizing the list avoids the performance cost of rendering every row and is preferred before reaching for pagination workarounds.

What happens if my task is not covered by the curated list?▼

The skill states explicitly that the task falls outside the curated list, then recommends a library from general knowledge while making clear the pick is no longer from the opinionated list.