Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Decides which Shade layer (Token, Primitive, Component, Recipe, Pattern) new UI belongs in, and whether to add it to Shade.
27% 86%+59 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 6 of 22 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.8-flash yet.
3 of 3 safety checks passed
Not used yet
Before adding anything to Shade, walk the decision flow and the promotion checklist. The default is keep code local first — premature design system additions lock in the wrong API.
| Layer | Lives in | Examples |
|---|---|---|
| Token | theme-variables.css, tailwind.theme.css | --background, --text-base, --radius-md |
| Primitive | src/components/primitives/ | Stack, Inline, Box, Grid, Container, Text |
| Component | src/components/ui/ | Button, Input, Dialog, Tabs, Card |
| Recipe | src/components/ui/<name>.ts (no JSX) | inputSurface |
| Pattern | src/components/patterns/ | PageHeader, KpiCard, Filters, GhAreaChart |
Plus one additional barrel:
page-templates/ (@tryghost/shade/page-templates) — top-level page wrappers (ListPage today). Composes Patterns + Components + Primitives. If you're building a new shape that wraps a whole admin page, this is where it goes. See shade-page-templates.theme-variables.css (semantic) or tailwind.theme.css (raw @theme).src/components/ui/.Quick gut check: generic name → Component; Ghost-shaped name → Pattern. Button is web-y; KpiCard is Ghost-y.
Each layer can use anything below it. The reverse is forbidden.
<MembersTable> that's just <Table> with three preset columns belongs in the app, not Shade.Next to this one in the catalogue, plus more from the same author.