[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E8XE1R9XNKS4ZX4ZP671QT":3,"skill-same:01M7E8XE1R9XNKS4ZX4ZP671QT":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":30,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M7E8XE1R9XNKS4ZX4ZP671QT","pick-ui-library",null,"Pick the right library for a given frontend task from a curated, opinionated list — numbers, OTP inputs, charts, command menus, virtualization, drag and drop, toasts, state, styling, and more. Only runs when explicitly invoked; it does not trigger on its own.","caudra\u002Fcaudra","caudra","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F323451438?v=4","01M7E8TXZKWCW4S2EPW520718N","Caudra","01M7E8TY09J7AVFRE6S2179890",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-emil\u002Ftranslated\u002Fskills\u002Fpick-ui-library\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pick-ui-library\ndescription: Pick the right library for a given frontend task from a curated, opinionated list — numbers, OTP inputs, charts, command menus, virtualization, drag and drop, toasts, state, styling, and more. Only runs when explicitly invoked; it does not trigger on its own.\ndisable-model-invocation: true\n---\n\n# Picking The Right Library\n\n## Initial Response\n\nWith no task, ask what to work on through `question`, or plain text if it is unavailable or has no answer channel. A deferred, skipped, or dismissed answer stays unresolved. With a task, start.\n\nIn Plan mode, put any intended installation or code change in the session plan. The main agent reads it with `plan`, preserves unrelated sections, and saves the complete revised content. Tasks return drafts to the parent instead. Installing or wiring a library needs Build mode and authorization for that work. The user switches modes with Tab.\n\nA 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.\n\n## How to use this\n\n1. **Identify the task and respect the user's choice.** If they chose a library, help them use it. If they asked for a recommendation, match the task to the list below.\n2. **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.\n3. **Recommend one library**, state what it's for in one sentence, and install\u002Fwire it up in Build mode if that's part of the request. Don't present a menu of options when the list has a clear answer. Never upgrade existing dependencies unasked.\n4. 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.\n5. When maintenance or compatibility affects the choice, check release history, official documentation, and supported framework versions with `websearch` and `webfetch`. Cite what you checked. The curated list is a starting point, not proof that a library is still maintained.\n6. After installation or wiring, run the project's typecheck, lint, tests, and build through `shell`. Report completed results, not admission receipts.\n\n## The list\n\n### UI components & primitives\n\n| Task | Library |\n| --- | --- |\n| Unstyled, accessible UI components (dialogs, popovers, menus, selects…) | [base-ui](https:\u002F\u002Fbase-ui.com) |\n| Command menus (⌘K palettes) | [cmdk](https:\u002F\u002Fcmdk.paco.me) |\n| Toasts \u002F notifications | [Sonner](https:\u002F\u002Fsonner.emilkowal.ski) |\n| One-time password \u002F verification code inputs | [input-otp](https:\u002F\u002Finput-otp.rodz.dev) |\n| Customizable GUIs \u002F control panels | [Leva](https:\u002F\u002Fgithub.com\u002Fpmndrs\u002Fleva) — [dialkit](https:\u002F\u002Fjoshpuckett.me\u002Fdialkit) is an alternative |\n\n### Motion & visuals\n\n| Task | Library |\n| --- | --- |\n| General-purpose animation (springs, layout animations, enter\u002Fexit) | [motion](https:\u002F\u002Fmotion.dev) (Framer Motion) |\n| Animating numbers (counters, prices, stats) | [NumberFlow](https:\u002F\u002Fnumber-flow.barvian.me) |\n| Animated text components | [torph](https:\u002F\u002Ftorph.lochie.me\u002F) |\n| 3D globes | [Cobe](https:\u002F\u002Fcobe.vercel.app) |\n| Dynamic OG images (HTML\u002FCSS → SVG\u002FPNG) | [Satori](https:\u002F\u002Fgithub.com\u002Fvercel\u002Fsatori) |\n| Syntax highlighting | [shiki](https:\u002F\u002Fshiki.style) |\n\nReach 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.\n\n### Charts\n\n| Task | Library |\n| --- | --- |\n| Real-time \u002F streaming charts | [Liveline](https:\u002F\u002Fgithub.com\u002Fbenjitaylor\u002Fliveline) |\n| General charts (static or interactive dashboards) | [recharts](https:\u002F\u002Frecharts.org) |\n\nThe split: if data points arrive live and the chart scrolls with time, use Liveline. Everything else is recharts.\n\n### Interaction & performance\n\n| Task | Library |\n| --- | --- |\n| Drag and drop | [dnd kit](https:\u002F\u002Fdndkit.com) |\n| Virtualization (long lists, large tables) | [Virtuoso](https:\u002F\u002Fvirtuoso.dev) |\n\n### State & styling\n\n| Task | Library |\n| --- | --- |\n| State management | [zustand](https:\u002F\u002Fzustand.docs.pmnd.rs) |\n| Constructing `className` strings conditionally | [clsx](https:\u002F\u002Fgithub.com\u002Flukeed\u002Fclsx) |\n| Type-safe, variant-driven styling for Tailwind | [cva](https:\u002F\u002Fcva.style) |\n| Theme switching \u002F dark mode (no flash on load) | [next-themes](https:\u002F\u002Fgithub.com\u002Fpacocoursey\u002Fnext-themes) |\n\nThe 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.\n\n## Common mismatches to catch\n\n- **Toasts built by hand or with a modal library** → Sonner exists for exactly this.\n- **A `\u003Cdiv>`-based dropdown\u002Fdialog with manual focus handling** → base-ui, which handles accessibility, focus trapping, and dismissal.\n- **Animating a number by re-rendering text** → NumberFlow handles digit transitions properly.\n- **Rendering a 1,000+ row list directly** → Virtuoso before reaching for pagination hacks.\n- **A `useState`-per-component web of props for shared state** → zustand.\n- **Template-literal className ternaries three conditions deep** → clsx (or cva if it's variant-shaped).\n","# Picking The Right Library\n\n## Initial Response\n\nWith no task, ask what to work on through `question`, or plain text if it is unavailable or has no answer channel. A deferred, skipped, or dismissed answer stays unresolved. With a task, start.\n\nIn Plan mode, put any intended installation or code change in the session plan. The main agent reads it with `plan`, preserves unrelated sections, and saves the complete revised content. Tasks return drafts to the parent instead. Installing or wiring a library needs Build mode and authorization for that work. The user switches modes with Tab.\n\nA 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.\n\n## How to use this\n\n1. **Identify the task and respect the user's choice.** If they chose a library, help them use it. If they asked for a recommendation, match the task to the list below.\n2. **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.\n3. **Recommend one library**, state what it's for in one sentence, and install\u002Fwire it up in Build mode if that's part of the request. Don't present a menu of options when the list has a clear answer. Never upgrade existing dependencies unasked.\n4. 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.\n5. When maintenance or compatibility affects the choice, check release history, official documentation, and supported framework versions with `websearch` and `webfetch`. Cite what you checked. The curated list is a starting point, not proof that a library is still maintained.\n6. After installation or wiring, run the project's typecheck, lint, tests, and build through `shell`. Report completed results, not admission receipts.\n\n## The list\n\n### UI components & primitives\n\n| Task | Library |\n| --- | --- |\n| Unstyled, accessible UI components (dialogs, popovers, menus, selects…) | [base-ui](https:\u002F\u002Fbase-ui.com) |\n| Command menus (⌘K palettes) | [cmdk](https:\u002F\u002Fcmdk.paco.me) |\n| Toasts \u002F notifications | [Sonner](https:\u002F\u002Fsonner.emilkowal.ski) |\n| One-time password \u002F verification code inputs | [input-otp](https:\u002F\u002Finput-otp.rodz.dev) |\n| Customizable GUIs \u002F control panels | [Leva](https:\u002F\u002Fgithub.com\u002Fpmndrs\u002Fleva) — [dialkit](https:\u002F\u002Fjoshpuckett.me\u002Fdialkit) is an alternative |\n\n### Motion & visuals\n\n| Task | Library |\n| --- | --- |\n| General-purpose animation (springs, layout animations, enter\u002Fexit) | [motion](https:\u002F\u002Fmotion.dev) (Framer Motion) |\n| Animating numbers (counters, prices, stats) | [NumberFlow](https:\u002F\u002Fnumber-flow.barvian.me) |\n| Animated text components | [torph](https:\u002F\u002Ftorph.lochie.me\u002F) |\n| 3D globes | [Cobe](https:\u002F\u002Fcobe.vercel.app) |\n| Dynamic OG images (HTML\u002FCSS → SVG\u002FPNG) | [Satori](https:\u002F\u002Fgithub.com\u002Fvercel\u002Fsatori) |\n| Syntax highlighting | [shiki](https:\u002F\u002Fshiki.style) |\n\nReach 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.\n\n### Charts\n\n| Task | Library |\n| --- | --- |\n| Real-time \u002F streaming charts | [Liveline](https:\u002F\u002Fgithub.com\u002Fbenjitaylor\u002Fliveline) |\n| General charts (static or interactive dashboards) | [recharts](https:\u002F\u002Frecharts.org) |\n\nThe split: if data points arrive live and the chart scrolls with time, use Liveline. Everything else is recharts.\n\n### Interaction & performance\n\n| Task | Library |\n| --- | --- |\n| Drag and drop | [dnd kit](https:\u002F\u002Fdndkit.com) |\n| Virtualization (long lists, large tables) | [Virtuoso](https:\u002F\u002Fvirtuoso.dev) |\n\n### State & styling\n\n| Task | Library |\n| --- | --- |\n| State management | [zustand](https:\u002F\u002Fzustand.docs.pmnd.rs) |\n| Constructing `className` strings conditionally | [clsx](https:\u002F\u002Fgithub.com\u002Flukeed\u002Fclsx) |\n| Type-safe, variant-driven styling for Tailwind | [cva](https:\u002F\u002Fcva.style) |\n| Theme switching \u002F dark mode (no flash on load) | [next-themes](https:\u002F\u002Fgithub.com\u002Fpacocoursey\u002Fnext-themes) |\n\nThe 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.\n\n## Common mismatches to catch\n\n- **Toasts built by hand or with a modal library** → Sonner exists for exactly this.\n- **A `\u003Cdiv>`-based dropdown\u002Fdialog with manual focus handling** → base-ui, which handles accessibility, focus trapping, and dismissal.\n- **Animating a number by re-rendering text** → NumberFlow handles digit transitions properly.\n- **Rendering a 1,000+ row list directly** → Virtuoso before reaching for pagination hacks.\n- **A `useState`-per-component web of props for shared state** → zustand.\n- **Template-literal className ternaries three conditions deep** → clsx (or cva if it's variant-shaped).\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","0f03370f86af943c19c2069f7e1d5d43e73ffbd2","caudra-emil\u002Ftranslated\u002Fskills\u002Fpick-ui-library",1,"https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra","https:\u002F\u002Fcaudra.ai","https:\u002F\u002Fgithub.com\u002Fcaudra","The complete coding agent for your terminal.","2026-11-04 22:18:53",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":24},[36,39,42],{"tool":37,"command":38},"npx","npx skills add caudra\u002Fcaudra --skill pick-ui-library",{"tool":40,"command":41},"bunx","bunx skills add caudra\u002Fcaudra --skill pick-ui-library",{"tool":43,"command":44},"pnpm","pnpm dlx skills add caudra\u002Fcaudra --skill pick-ui-library","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-emil\u002Ftranslated\u002Fskills\u002Fpick-ui-library\u002FSKILL.md",[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7E9CBRVDFYTA5GBY8F1XQQE","caudra-workflow-dev","Write, validate, run, and debug Caudra workflows. A workflow is a durable Rhai script that fans work out to subagents in phases, checks what comes back, and keeps a journal so it can resume. Load this before writing a workflow file, before calling the workflow tool, or when a repeatable multi-agent plan would serve the user better than doing the steps by hand.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-workflow\u002Fskill\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7E9C6YC8R09DS8DP8XZ23YN","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-pstack\u002Fupstream\u002Fpstack\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7E9C5KHAJY5TY81E04XMJBN","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-pstack\u002Fupstream\u002Fpstack\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7E9C3TZ3KJS5HE7PQPQ70DF","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-pstack\u002Fupstream\u002Fpstack\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7E9C0FK9PPRYWRM7451053P","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for \u002Ftechnical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-pstack\u002Fupstream\u002Fpstack\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7E9BWAVMA3BD4B63QV635RQ","teach","Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-pstack\u002Fupstream\u002Fpstack\u002Fskills\u002Fteach\u002FSKILL.md",[],[]]