Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guards the pnpm shadcn add workflow in Shade by protecting existing components and swapping raw colours for semantic tokens.
45% 86%+41 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 10 of 22 without it.
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
20 agent runs
Most new Shade components start from a ShadCN install. The CLI is destructive by default — follow these guardrails.
pnpm dlx shadcn@latest add <component-name>
(Use pnpm, not npx / yarn / bunx. Ghost is pnpm.)
clients/shade/src/components/ui/. If it does, do not run the CLI against the repo — generate into a scratch repo and manually port the parts you want. The CLI will offer to overwrite, and you'd lose Shade customisations.@/.Raw ShadCN output is not Shade-quality yet. Do all of these:
bg-white, border-gray-200, text-zinc-500. Replace with bg-surface-elevated, border-border-default, text-muted-foreground, etc. See the shade-tokens-not-hex skill for the inventory.dark: colour variants. Semantic tokens flip automatically. See shade-no-dark-variants.@/ alias for internal imports (@/lib/utils, @/components/ui/...) — not relative paths.focus-visible: only — never focus:.)isMembersPage, layoutMode), it doesn't belong on a generic Component — extract a Pattern instead.inputSurface recipe instead of duplicating the chrome. See shade-input-surface-recipe.<name>.stories.tsx if one isn't already there. Copy useful examples from https://ui.shadcn.com/docs/components/<name> into stories. See shade-new-component.cn() — both are required.| ShadCN default | Shade convention |
|---|---|
bg-background dark:bg-background | bg-background (token already flips) |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.