pick-ui-library

Recommends one curated frontend library for a specific UI capability from a bundled list.

2|Updated Aug 15, 2026
One-click install
npx skills add https://github.com/Jensen-Yao/agents-skills --skill pick-ui-library-jensen-yao
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pick-ui-library
Source: https://github.com/Jensen-Yao/agents-skills/tree/main/skills/pick-ui-library
Command: npx skills add https://github.com/Jensen-Yao/agents-skills --skill pick-ui-library-jensen-yao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Frontend developers waste time comparing dozens of competing npm packages for common needs like toasts, drag and drop, or charts. This Skill removes decision fatigue by mapping a UI task directly to one opinionated, taste-driven library pick. ## Core Features & Use Cases - Task-to-library lookup: Matches a described task (e.g. "I need toasts") to a curated recommendation such as Sonner, dnd kit, or zustand. - Existing dependency awareness: Checks package.json first and respects libraries already installed instead of churning dependencies. - Mismatch detection: Flags common anti-patterns like hand-built toasts, div-based dropdowns, or rendering 1,000+ row lists without virtualization. - Use Case: You ask "what should I use for drag and drop?" and get a single answer — dnd kit — plus wiring guidance, instead of a menu of options. ## Quick Start Ask which library to use for a specific frontend capability, such as "pick a library for animated number counters in my React app".

Frequently Asked Questions about pick-ui-library

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

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

Use dnd kit for drag and drop in React. It is the curated pick for that task, covering sortable lists, droppable zones, and draggable elements without needing to compare alternatives.

What library for toast notifications in React?▼

Use Sonner for toasts and notifications. Building toasts by hand or with a modal library is a common mismatch, since Sonner exists for exactly this purpose.

recharts vs Liveline for charts, which should I pick?▼

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 charts.

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

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

When should I use clsx vs 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. They compose, since cva accepts clsx-style inputs internally.

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

The skill says so explicitly and recommends from general knowledge instead, while making clear it has left the curated list. It does not silently substitute an unlisted library.