Component Libraries
Studio law decides how a component is built; this skill records and chooses
suppliers.
The task-first, one-recommendation selection posture is adapted from
Emil Kowalski's pick-ui-library.
For Sonner work (wiring the Toaster, picking a toast() call, styling, or
fixing toasts that don't appear, duplicate, or lose styles), read
references/sonner.md.
Save
- Read
references/catalog.md, then verify the library's canonical source,
license, delivery method, stack, and component focus.
- Add or update one entry using every field in the catalog's adding
instructions. Missing reuse permission requires
reference-only status.
Completion requires one co-located entry with no unknown represented as fact.
Browse or Choose
For a browse-only request, read references/catalog.md, return only entries
matching the stated interest, and stop.
For a project choice:
- Name the task before naming a supplier. Treat a requested library as a
candidate, not the requirement. Read the behavior-engine default in the
studio skill's
rules.md, then inspect the target project's
component configuration. Continue only when the project's engine and
delivery model are explicit.
- Search the project for an existing component that already satisfies the
need. Continue only when a library pull will not duplicate or unknowingly
overwrite project-owned behavior.
- Read
references/catalog.md and inspect only entries matching the stated
need. Recommend one supplier by default. Give a comparison only when two
candidates remain genuinely viable, or say clearly that none fits.
- Before installing or copying, verify the current upstream source, license,
dependencies, delivery method, and supported states. A missing reuse grant
makes the entry reference-only.
- Read and apply the
studio skill's
doctrine/component-intake.md. Completion requires
behavior, grammar, and skin to be separated; every relevant state verified;
and the project's build checks passing.
1---2name: component-libraries3description: UI component-library supply shelf, from foundations like shadcn/ui to motion kits like Torph and Fancy Components. Use when saving a UI library, asking what Cortex has, choosing a component supplier, or when Studio needs existing component anatomy before building. Also covers Sonner toast setup, styling, and troubleshooting.4author: Cortex, with selection guidance adapted from Emil Kowalski (https://github.com/emilkowalski/skills)5metadata:6 source: https://skillmd.com/skills/tommylower/component-libraries7---89# Component Libraries1011Studio law decides how a component is built; this skill records and chooses12suppliers.1314The task-first, one-recommendation selection posture is adapted from15[Emil Kowalski's `pick-ui-library`](https://github.com/emilkowalski/skills/tree/main/skills/pick-ui-library).1617For Sonner work (wiring the `Toaster`, picking a `toast()` call, styling, or18fixing toasts that don't appear, duplicate, or lose styles), read19`references/sonner.md`.2021## Save22231. Read `references/catalog.md`, then verify the library's canonical source,24 license, delivery method, stack, and component focus.252. Add or update one entry using every field in the catalog's adding26 instructions. Missing reuse permission requires `reference-only` status.2728Completion requires one co-located entry with no unknown represented as fact.2930## Browse or Choose3132For a browse-only request, read `references/catalog.md`, return only entries33matching the stated interest, and stop.3435For a project choice:36371. Name the task before naming a supplier. Treat a requested library as a38 candidate, not the requirement. Read the behavior-engine default in the `studio` skill's39 `rules.md`, then inspect the target project's40 component configuration. Continue only when the project's engine and41 delivery model are explicit.422. Search the project for an existing component that already satisfies the43 need. Continue only when a library pull will not duplicate or unknowingly44 overwrite project-owned behavior.453. Read `references/catalog.md` and inspect only entries matching the stated46 need. Recommend one supplier by default. Give a comparison only when two47 candidates remain genuinely viable, or say clearly that none fits.484. Before installing or copying, verify the current upstream source, license,49 dependencies, delivery method, and supported states. A missing reuse grant50 makes the entry reference-only.515. Read and apply the `studio` skill's52 `doctrine/component-intake.md`. Completion requires53 behavior, grammar, and skin to be separated; every relevant state verified;54 and the project's build checks passing.