Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Build consistent, accessible UI with shadcn/ui components, Tailwind tokens, and composable primitives. Use whenever selecting, installing, composing, or customizing shadcn/ui in this repo, including registry items, themes, and component wrappers. Prefer the base-ui skill when the UI is intentionally built only with Base UI primitives.
.claude/skills/asymmetric-al-moai-library-shadcn/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | -24% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 43% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 26% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 13% | 0% |
Name: moai-library-shadcn Purpose: Build consistent, accessible UI using shadcn/ui components, tokens, and composable primitives. Use this skill whenever selecting, installing, composing, or customizing shadcn/ui in this repo.
Applies when: Working with shadcn/ui components, Tailwind tokens/themes, registry items, or component wrappers. Do not use when: The UI is intentionally built only with Base UI primitives (use base-ui first).
components/ui/* as owned project code with stable conventions.render prop intentionally (no asChild here), and avoid boolean-prop explosion.components/ui/*.components/ui/*.cn() and variants are consistent with existing patternsrender prop and composition semantics are correctcomponents/ui/*tsximport { Button } from "@/components/ui/button"; export function Actions() { return ( <div className="flex gap-2"> <Button>Save</Button> <Button variant="secondary">Cancel</Button> </div> ); }
tsximport { Button } from "@/components/ui/button"; type LoadingButtonProps = React.ComponentProps<typeof Button> & { loading?: boolean; }; export function LoadingButton({ loading, children, ...props }: LoadingButtonProps) { return ( <Button disabled={loading} {...props}> {children} </Button> ); }
docs/ai/skills/base-ui/SKILL.mddocs/ai/skills/base-ui/reference-links.md| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | pass→pass | 17,773 | 12,254 | -31% | 1 | 1 | 0% | 3,200 | 3,164 | -1% | 0 | 0 | — |
case-01 | fail→fail | 16,294 | 22,182 | +36% | 1 | 1 | 0% | 3,390 | 5,382 | +59% | 0 | 0 | — |
case-02 | fail→fail | 21,078 | 13,833 | -34% | 1 | 1 | 0% | 4,551 | 3,693 | -19% | 0 | 0 | — |
case-03 | fail→pass | 18,738 | 10,424 | -44% | 1 | 1 | 0% | 3,824 | 2,913 | -24% | 0 | 0 | — |
case-05 | pass→pass | 9,424 | 6,629 | -30% | 1 | 1 | 0% | 1,704 | 2,042 | +20% | 0 | 0 | — |
case-06 | pass→pass | 14,567 | 13,684 | -6% | 1 | 1 | 0% | 2,787 | 3,771 | +35% | 0 | 0 | — |
case-07 | fail→pass | 12,789 | 4,675 | -63% | 1 | 1 | 0% | 2,362 | 1,700 | -28% | 0 | 0 | — |
case-08 | pass→pass | 11,930 | 5,891 | -51% | 1 | 1 | 0% | 2,135 | 1,999 | -6% | 0 | 0 | — |
case-17 | pass→pass | 9,529 | 2,666 | -72% | 1 | 1 | 0% | 1,606 | 1,307 | -19% | 0 | 0 | — |
case-09 | pass→pass | 11,523 | 8,284 | -28% | 1 | 1 | 0% | 2,202 | 2,331 | +6% | 0 | 0 | — |
case-10 | pass→pass | 14,800 | 6,648 | -55% | 1 | 1 | 0% | 2,493 | 1,988 | -20% | 0 | 0 | — |
case-11 | pass→pass | 9,726 | 3,786 | -61% | 1 | 1 | 0% | 1,649 | 1,504 | -9% | 0 | 0 | — |
case-12 | pass→pass | 12,938 | 9,178 | -29% | 1 | 1 | 0% | 2,268 | 2,504 | +10% | 0 | 0 | — |
case-13 | pass→pass | 18,255 | 13,094 | -28% | 1 | 1 | 0% | 3,243 | 3,468 | +7% | 0 | 0 | — |
case-14 | pass→pass | 10,559 | 8,515 | -19% | 1 | 1 | 0% | 1,972 | 2,369 | +20% | 0 | 0 | — |
case-15 | pass→pass | 9,709 | 6,071 | -37% | 1 | 1 | 0% | 1,815 | 2,123 | +17% | 0 | 0 | — |
case-16 | pass→pass | 13,198 | 9,588 | -27% | 1 | 1 | 0% | 2,642 | 2,761 | +5% | 0 | 0 | — |
case-18 | fail→pass | 5,295 | 2,025 | -62% | 1 | 1 | 0% | 834 | 1,192 | +43% | 0 | 0 | — |
case-19 | fail→pass | 6,354 | 2,357 | -63% | 1 | 1 | 0% | 1,066 | 1,343 | +26% | 0 | 0 | — |
case-20 | pass→pass | 10,484 | 5,944 | -43% | 1 | 1 | 0% | 1,790 | 1,965 | +10% | 0 | 0 | — |
case-21 | pass→pass | 10,176 | 3,930 | -61% | 1 | 1 | 0% | 1,838 | 1,556 | -15% | 0 | 0 | — |
case-22 | fail→pass | 7,292 | 3,131 | -57% | 1 | 1 | 0% | 1,300 | 1,475 | +13% | 0 | 0 | — |
case-23 | fail→fail | 8,085 | 2,955 | -63% | 1 | 1 | 0% | 1,263 | 1,337 | +6% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +22 percentage points is the difference between those two pass rates over the 23 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.