/boxel-skills:design-reviewfrom boxel-skills
Score the taste and coherence of a built Boxel screen, card or whole app against its brief and an aesthetic bar, from captures. Runs only when asked (`/design-review`, optionally as a mode, `set`, `card <CardDef>` or `refine`, scoped with `--layout`, `--typo`, `--colour` or `--coherence`, anchored with `--benchmark`, cut to the numbers with `--score`, or `--redesign` for a bigger rebuild from existing parts). Use it when someone points at a card or app they already have and wants it reviewed or scored, or asks for a critique ("how does this look", "is this good enough", "why does this feel off"), when all screens exist and need checking as a set, and for linked CardDefs whose embedded, fitted and atom views were written in passing. It reports first and edits nothing until they choose a fix. The basics (hit areas, contrast, phone overflow, wired actions) are not scored here: the build check owns them and runs automatically after every design build.
Ships in boxel-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Score what was built, from what it looks like.
| Contract | |
|---|---|
| Reads | Captures of the built thing, and the unit's brief card when it has one: its spec, the acceptance lines and anti-patterns in a designDirection field when an earlier brief carries them, and what its motion field asks for, where that is filled |
| Writes | Never the brief card: it records decisions, not scores. The build itself only after the user picks a fix or a redesign, or asks for refine (which authorises its one fix round) |
| Stops when | The report is given and the next step (a fix round, --redesign, review another surface, revisit a decision, or stop) is offered in the choice UI |
Everywhere below, ## Design direction means the brief card's designDirection field and
## Motion its motion field. boxel-design's Look check writes only a Look:, a Surface: and a Real details: line into
designDirection: score the colour against Look:, the shell against Surface:, and
check that no proof was invented beyond Real details:. With no Surface: line, infer the surface the way
surface-types.md does and name it in the report. A brief from earlier work, or one written by hand, may carry a full direction. Every rule below
that reads ## Design direction acceptance lines, its Views table or its Width line applies only when that
field holds them. Without them, score each format against the design-playbook's Stage 0f content matrix where one
was written (otherwise against what the isolated view shows), and prefersWideFormat against what
the isolated capture needs. With no brief at all, what was decided is
the build's own hand-off line, or, for existing work, what the screens show.
You review a built thing against two standards: what was decided for it, and an
aesthetic bar that a competent-but-generic result does not clear. Where they conflict, ## Design direction
wins on what was decided and you judge only how well it was executed.
Visual scores come only from captures. The rendered DOM and running the controls may confirm controls, focus, hover and behaviour. Source code is never evidence that something looks right.
Modes. set reviews every screen of an app together; reach for it whenever more than one screen
exists, because coherence across screens is the thing no single-screen review can see.
card <CardDef> reviews one card's formats as a family, and is the mode nobody remembers to run: in an
app, the cards behind the links are the surfaces that get built in passing and scored by nothing.
Asked for by hand on one screen, it reviews that screen. refine is review, then one fix round, then the user decides: asking for
refine is what authorises that one round (see
references/benchmark-and-refine.md).
boxel-design and the design-playbook decide and build; the last step is the build check
(references/build-check.md), which is pass/fail and shows no score. It
owns the basics: hit areas, text size and contrast, phone overflow, container-query breakpoints, a
wired main action, pseudo-controls, blank regions, and fitted/embedded carrying the key fact. When a
build of an app, a card family or a page finishes, the builder captures its own work, fixes
every failing line, re-checks the views the fix touched, and reports "what I fixed / what is still
open". No scorecard, no 8.5 verdict, no invitation to a review.
This skill does not run after a build. It runs when the user asks for it: /design-review, a
critique request, or a scoped flag (Flags). A fix after a review is a build like any other, so a
review never chains into a second round on its own.
A review may note a missed basic once, as a note. It is a defect for the build check, not a score.
When an independent reviewer is available (a subagent with a fresh context), it scores the captures and names the gaps from them; the main agent routes each gap (Gap routes) and applies the fixes. Otherwise mark the scores provisional. Never print an internal score that a rule needed but the user did not ask for.
/design-review [set | card <CardDef> | refine] [unit] [--layout] [--typo] [--colour] [--coherence] [--benchmark] [--score] [--redesign]
The modes (set, card, refine) are words, not flags; see Modes above.
--layout: composition only. Name the surface first (the Surface: line, or inferred from
surface-types.md and said in one line). On an admin,
dashboard or back-office surface with no fixed sidebar, "no app shell" is the first layout gap,
ahead of tile weights. Then: does something dominate, is the reading order legible from the
capture, can the main action be found, does prefersWideFormat fit, does the shell match the
brief's Surface: line, does the signature treatment survive into embedded and fitted. One score,
evidence, gaps. When nothing dominates, name the move from
layout-vocabulary.md that would (Gap routes).--typo: typography only: size and ladder in real use (including phone), role clarity, tracking on
micro-labels, weights against the named look in
style-families.md, and suitability for this
specific app: what it is for and who reads it. If the pairing looks unsuitable, explain why in plain words for this app and let the
user decide in the choice UI: keep as is / adjust sizes or weights through theme tokens / switch to a
named pairing, with the reason. Never auto-fix. A font change edits the Theme card, so it routes
through boxel-theme-development, never card CSS. If the
review disagrees with a decided direction, say so once as a note, not a score.--colour: colour roles and restraint against the look's colour strategy, and library defaults
beside themed controls.--coherence: the same gesture, accent role, type family and voice across screens (set) or across a
card's formats (card).--benchmark: anchor the scoped dimension with
references/benchmark-and-refine.md; otherwise say the scores
are unanchored.--score: show the scores and nothing else. The review still captures and scores as usual (never
from source), then prints only the score lines: the per-dimension scores, and for a no-flag run the
scorecard row and the verdict. No gap list, changelog, evidence prose or fix choice. Read-only; it
edits nothing and offers no fix round. Combines with any dimension flag and with --benchmark. Ask
for the same review without --score to see why a score is what it is.--redesign: see below. User-triggered only; never part of a scoped run.When the user points at a card or app that already exists, nothing was just built and nothing is fixed.
Pick the unit. One card: card <CardDef>. An app or several screens: set, plus each CardDef the
screens link to. If it is unclear which they mean, ask in the choice UI.
Find the brief. If the unit has a brief card, score against it. If not, skip Phase 1 and open with one line: "Reviewed without a brief: judged against what the screens show, doing
." Read both from the UI; if you cannot name them, that is a finding. Do not create a brief. Name the surface type and the shell you see in the same line ("Surface: Admin / dashboard. Shell: none"), the surface inferred the way [`surface-types.md`](../boxel-design/references/surface-types.md) does (read that file now). `Shell:` is `fixed sidebar` only when the capture shows a left sidebar of the app's destinations; a header over stacked sections is `none`. Never scope the shell out as "a card-only review": in Boxel the app is made of cards, so a card whose isolated view is the screen its user works in (`prefersWideFormat`, or a Home or dashboard card) owns its shell. Only a card that is one record shown inside another screen (a deal, a contact) has none of its own: write `Shell: n/a (record card)`. Every layout judgment below is made against that surface and shell.Capture (realm.capture in a run-realm-code script in the app, npx boxel screenshot from a
terminal; references/capture.md).
Run the build check silently, without editing, and report it as ONE pass/fail Basics block ("9 of 14 basics fail"). If most basics fail, give no taste scores: they would be provisional until the basics are fixed. Offer to fix the basics first, then review, and stop there.
Otherwise score with the flags asked for (Flags). Reviewing work in progress does not apply.
Report causes, not instances. A gap is a cause: six failures from one missing theme block are one
gap. Expect two or three root causes. Check the shell against the surface named in step 2: when the surface is Admin / dashboard
or Back-office / data tool and Shell: is none, G1 is "no app shell → Pret UI app shell". It
comes first, ahead of tile weights and phone fixes, and is never folded into another gap. Order
fixes by leverage: theme tokens first (one change restyles colour, type and radius), then the shell
and lead element, then component swaps. Say in one line what
already works, so a round does not rewrite what nobody objected to.
Patch or redesign (starting thresholds, tunable): once the basics pass, if the taste score is below
about 5, or most dimensions are below 6, recommend --redesign; otherwise a fix round.
Ask, in the choice UI. Edit nothing before the user picks:
--redesign)", only in addition to the two layout options above,
never in place of themA layout option, when the layout calls for one. The two required layout options above are separate lines of the list, never a clause inside "Fix the top gaps", and a bare "Redesign" never stands in for them (Gap routes → Standout in a row of equals).
The list is a list: the choice UI, or lettered options in chat ending with "Something else". A prose line such as "fix this, review another dimension, or stop" is not a choice.
Each fix option names what it swaps in. When the user cannot write to the realm the unit lives in (a catalog card, someone else's workspace), offer only "Also review the linked cards" and "Stop here, change nothing", and say why.
A fix round fixes at most three gaps, on the failing screens or cards alone, each by its route. A fix is
a build: before the first write, take the index.md pre-flight reads, and load
boxel-ui-component-discovery for a component gap and
catalog-reuse for a catalog gap, however small the fix looks. A gap fixed
by hand-rolling what the catalog or a component covers is not fixed. Only a named blocker (a read-only
realm, a Spec that does not load, a component that cannot carry the card's data) skips a gap, and it stays
open. Then run the build check on every view the fix touched, at desktop and phone width, re-capture, and
re-score what changed. Report what changed and what was left alone. It never chains into a second round.
--redesign)A bigger change than a fix round, built from parts that already exist. The user triggers it; it is never automatic and never part of a scoped review.
boxel-ui-component-discovery and catalog-reuse), the layout move from
layout-vocabulary.md (all eight are on the table), the
signature treatment from signature-treatments.md,
and the theme tokens it changes.index.md pre-flight reads first.boxel-design still owns look decisions. A redesign borrows from it and invents nothing of its own, and
it does not write the brief card.Search before you route. For each gap, run one quick Spec search for what the gap needs ("money
input", "formatted number", "chart", "legend"): one search over the catalog realm covers both, and the Pret
UI hits are the ones whose ref.module starts @cardstack/pretui/components/ (prefer them), as
boxel-ui-component-discovery → Procedure searches,
with realm.entries.search in a run-realm-code run (this skill declares the tool). One or two terms per gap is enough. The
query is an object, never a string; the realm call takes a second argument, and all the gaps go in one script:
const { entries, total, incomplete } = await realm.entries.search(
{
filter: {
on: { module: '@cardstack/base/spec', name: 'Spec' },
every: [{ eq: { specType: 'component' } }, { matches: 'sidebar' }],
},
},
{ scope: 'cards', limit: 10 },
);
Leave realms out: the search then covers every realm the user can read, the catalog (where the Pret UI
Specs live) included, and a hit whose ref.module starts @cardstack/pretui/components/ is a Pret UI
component. This differs from boxel-ui-component-discovery, which scopes realms to the catalog: here
that ref.module test is what keeps a Spec someone wrote in a workspace from passing as Pret UI. Use the app's own words for matches ("sidebar", "app shell", "data table"). On an admin,
dashboard or back-office surface, also search the structure terms from
boxel-ui-component-discovery (app shell, sidebar, dashboard
grid, stat, chart, data table), whatever the gap's own words were. With no hit, retry once with
matches: 'sidebar OR app shell' and no specType, as
catalog-reuse says. A call that errors is retried once with the shape
above before anything else. Only if it still fails, write reuse: not searched: <reason> and say so in
the report; never fill reuse: from memory, and never route a gap local because the search errored.
Then route by what it found:
component: a component does the job, even when adopting it means replacing an input, a chart
or a display the card renders now. Fix it with that component, restyled through
restyle-component.md.catalog: a catalog card or Spec does it, or a reused catalog card looks like another app.
Restyle an adopted card through
restyle-reused-card.md, never by editing or
rewriting it, and record adopted, route: …; with no match, record the refusal before building.local: only when the search found nothing that fits: spacing, copy, layout or a plain bug in
markup the card already owns. A local fix takes its values from the theme's tokens, never
hand-picked colours or sizes. A hand-rolled app frame (header, sidebar, grid) beside an existing
shell Spec is not local: it is component.local with
reuse: lead tile: a class on the lead card and grid-column: span 2 in the parent's own grid (a class
on the field, never :deep();
delegated-render-control.md), DOM order
equal to reading order, the lead carrying the card's key fact, and the lead first on a phone.local with
reuse: layout-vocabulary -> Bento. Quote its limits from layout-vocabulary.md → 2 · Bento: 4 to 7
items of genuinely different weight; a 4-column grid with the lead at span 2 and row span 2;
collapse by container query 4 → 2 → 1; drop dense if it reorders visible tiles; at most 3 distinct
tile sizes; each tile its own embedded or fitted format.The fix ladder: no CSS hacks. Go down a step only when the one above cannot reach: (1) theme tokens in
the app's Theme card, including the tokens of other tones (success, destructive, info, warning); (2) the
component's documented args and variables (@tone, @appearance, @size, @shape, --pretui-button-h,
--fc-* on FittedCard); (3) a class on the component root through ...attributes, scoped to what the
args cannot reach; (4) :deep() last, with the gap named. Never !important, hard-coded colours or
sizes, :global, or a removed focus ring. Steps in full:
restyle-component.md.
Route and reuse are separate. Every gap carries a reuse: field naming what the fix reuses: one
component with its Spec (an alternative may follow as a footnote), token names, the restyle-component
step, or searched "<terms>": none fits. If the search found something that fits, the route is not
local. A candidate whose fit is unknown is written candidate: <name>, fit unchecked: <reason>, and
does not change the route. Replacing a hand-built part with a catalog card is a proposal to the user
(or a --redesign option), not something a fix round does inside its three gaps.
G1 · Home price shows 1104000 unformatted · route: component · reuse: Pret UI MoneyInput (pretui-money-input)
G2 · Chart series are two similar greens · route: local · reuse: --chart-1, --chart-2, --chart-3
candidate: Pret UI Chart, fit unchecked: this card draws a custom cumulative line chart
You cannot judge a design from CSS. Capture before scoring, and stop if you cannot: a code-only review reads as a real review and is not one. If some views cannot be captured, review the ones that were and list the rest by name rather than blocking.
Re-capture before reporting a fault that loading could cause: a blank or stale image, an old version of a screen, a control that looks disabled, a missing font. Report it only if the second capture shows it too; one that does not is a capture fault, not the design's.
A blank region in a capture is a finding. A build's entrances never start from opacity: 0 in
base CSS (template-patterns.md →
Entrance animations — never put opacity: 0 in base CSS), so a section left empty after loading is
a fault. A card still loading can paint one, so re-capture a blank region once, then report it.
Read references/capture.md for which tool captures which view, the capture budget, where
captures go, and the flakiness rules.
When the brief card's designDirection field holds acceptance lines, it is the primary rubric.
Design direction: <passed>/<total> acceptance lines
FAILED
- <screen> · <line verbatim> · <one-line evidence> · <capture file>
Every failed line carries the screenshot it failed on, not just words. Any failure is an ITERATE regardless of the score below, and in set mode it iterates that screen alone, not the set.
Do not re-judge what ## Design direction already decided. The layout direction, the interaction way and
the named style were chosen deliberately, with reasons recorded. Score how well they were executed.
If you think a decision itself was wrong, say so once, separately, as a note to the user, not as a
score.
With no acceptance lines, skip this phase and say the review ran without them.
The bar is work that would be singled out, not work that is inoffensive. A result that is professional, polished and forgettable sits around 6–7; the gate is 8.5.
Anchor the number to the field. For a unit with an award-style category (portfolio, landing page,
product page, editorial), the benchmark in
references/benchmark-and-refine.md compares it with three recent
award winners, dimension by dimension. Compare composition and type, not WebGL or page-wide motion a
card cannot do. Without a benchmark (no --benchmark and not refine), say the scores are unanchored
and name no references.
Score and name the specific thing behind each number:
boxel-design/references/style-families.md, score against its check: editorial wants large-light against small-bold, playful and vibrant want a heavy display against a plain body, brutalist wants hard and heavy. Each look's row says which weights it wants; a Restrained editorial build set entirely between 500 and 600 with a small step fails. Is there tracking on uppercase micro-labels where the look uses them? With no named look, judge on role clarity.boxel-design/references/critical-rules.md → Never invent proof). Never score it down as incomplete. An invented rating, name, year or testimonial is a finding, unless the brief's Real details: line is concept (demo mode) and each one carries a visible "Sample" label.
A labelled placeholder image is the same kind of gap: the build puts one where no photo may be
used (a real person, the user's own product, a real film poster) or none could be found
(sample-images.md → Pick the source and
Labelled placeholders). Score that slot as if a fitting photo stood in it: its space, crop, shape
and place in the composition. Never score the placeholder itself: not its colours, not its label,
not that it is a box instead of a photo, and not how many of them there are.boxel-design/references/signature-treatments.md
is the authority on which treatments a style earns and why the default gradient-and-glass look
scores lower than a plain surface. Judge against it rather than restating it. Check the treatment
survives into embedded and fitted as a compressed idea rather than a shrunken copy.embedded and fitted show a focused crop rather than a
shrunken copy of the hero, and a card with an image never renders a text-only tile. A media slot (a
poster, a listing photo, a dish, a profile photo) that ships as a gradient, a lone glyph or initials
is a finding: the first build fills it, at least with a labelled placeholder, which passes this row
(Honest gaps, above).card-motion: the smallest pattern for the job,
names scoped by card id, nothing missing with motion off. Spatial motion with character reads as
designed; a fade on everything reads as unfinished. When the brief's ## Motion records what the
user asked for, check the build does it. When it moves with scroll, capture the start, middle and
end as references/capture.md → Scroll motion says: a single screenshot
cannot show a sequence.Below 8.5, name the two or three things standing between here and the bar. Those are the round's gaps. Do not soften the number to be encouraging; the number is the useful part.
The basics (main action and controls, accessibility, affordance legibility and honesty, clarity, domain
fit, robustness) are not scored here: they are lines of
references/build-check.md. Report a missed one once, as a note.
One constraint stays in review because it is taste:
restyle-component.md).
So is a reused catalog card whose stock look still reads as another app; a stock layout kept under the
theme because it fits is correct (restyle-reused-card.md).
A component the build named as a gap that no restyle step reaches is reported as that gap, not scored
down again.Do not resolve a finding by making the design plainer. A contrast failure is solved by finding a colour that reads and belongs, not by reverting to grey.
design-review set <unit> reviews the whole app.
embedded in lists, fitted in Home tiles): those render inside the
screens, so they are set surfaces. This is the formats shown, not the full family (Card mode).## Design direction across all captures, where it has
them, then each screen's own.Run it early: once more screens stand on these, coherence problems get lived with instead of fixed.
design-review card <CardDef> scores one CardDef's isolated, embedded and fitted (every size
that will actually be used) as one family, plus atom and edit where the build wrote them. Atom is
optional and edit usually stays the host's default (design-playbook, Stage 4); a missing custom
one is not a gap. Run it for every CardDef the app links to, not only the ones that have
their own screen: a card reached through linksToMany is a surface the user sees, and it is the
surface that gets written in passing.
references/capture.md: fitted inside the parent that renders it,
at the sizes the app actually renders, not all sixteen. atom and edit need a browser from a
terminal; in the app, list them as uncaptured.@container rule that targets the element carrying container-type is dead and silent: the
layout simply never changes. Two tells without reading CSS: the narrow capture is identical to
the wide one, or a two-column layout overflows instead of stacking.isolated hardest. It is often the one format that appears in no screen, so nothing
in the build teaches it and nothing else reviews it. Two tells: isolated should be the
largest of the formats (a full page thinner than its own thumbnail is nobody's decision), and no
field should appear in fitted or embedded but be missing from isolated.prefersWideFormat against what you captured, and against the Width line in
## Design direction when it has one. An isolated view that crops, collapses a grid to one
column, or renders a wide layout in a narrow column is missing the static property. Report it as
a finding with the capture.Report as one block per card, then iterate the failing formats alone.
A review run on a Stage 1 or 2 mockup, before the build is themed, sees deliberately hardcoded work:
real hex, named fonts, no var(--*), one or two instances per CardDef. Both are the correct state
at that point and neither is a finding. Judge the layout on the content that is there; "needs more
rows to evaluate" is not a review. Do not report literal colours, a missing theme link or
untokenized values: tokenizing early pushes the build to fix values before the design is settled.
This applies only before theming. A review of finished work (Scoring existing work) never uses it.
What is fair game at every stage: everything visual, plus border-radius, border, box-shadow
or overflow: hidden on a format's outermost element, which the host owns
(delegated-render-control.md
→ Per format — what's safe and what isn't on the outermost element).
Structure is also fair game: the screens should already stand on real CardDefs with the domain's
real linksTo/linksToMany. A screen rendering from containsMany stand-ins will be rewritten
later, taking the layout with it; report that as a note, separately from the score.
Pseudo-controls. Anything the capture reads as a control (a button, a stepper, a picker, a
selectable cell, a tab) that is a <div> or an <li> with nothing wired under it. These pass every
reuse rule by accident: a build with no raw <button> and no component trips nothing. In a mockup,
name each one as a note. In a finished build they fail build-check line 8.
A fix round runs only when the user picks it in the choice UI, and never chains into another. Each round reports what it changed and what it left alone: a round that silently rewrites things nobody objected to makes the next review meaningless.
After reporting, ask what happens next in the choice UI; do not just leave the report and wait.
Options: "Fix the top gaps" (recommended when it did not clear the gate), "Redesign from existing parts"
(when step 7 of Scoring existing work says so), "Review the next screen / run set or card"
(recommended once this unit passes and others remain), "Revisit a decision in the brief" (when a failure
traces to the decision itself, not its execution; see Phase 1), and "Stop here" (recommended once
everything in scope has passed), plus room for the user to name something else. Stopping is always one of
the options, never a line asking the user to type "skip".
After a scoped run (--layout, --typo, --colour, --coherence), the choice is about the
dimension asked for and nothing else:
Surface: line and the app's direction, not from a generic default. For example, --layout
on a back-office app with no sidebar finds the gap "no app shell"; the search runs for "app shell" and
"sidebar", and the option reads "Fix: add a fixed sidebar → Pret UI app shell" (or the catalog Spec
that fits), with the app's real destinations as its items. A fix that is only a token or a class says
so. For a row of equals, the option reads "Fix: feature as the lead tile
(two columns wide, or above the grid)", and "Keep them equal" is listed as its own option right after it. Add "Review another dimension" and "Stop here". Give them as a list (the choice UI, or lettered
options in chat), never as one prose line.--score prints only the score lines of what follows (the Scorecard table, the Aesthetic and Design
direction tallies, the verdict) and drops the rest.
A full review opens with the scorecard and the changelog, one row and one line per round. Round 0 is the first review. A scoped run prints one score per requested dimension and no total, and says the gate was not assessed.
Basics: 14/14 build-check lines pass
Scorecard
| Round | Direction | Aesthetic | Reviewer |
|---|---|---|---|
| 0 | 9/11 | 7.5 | independent |
| 1 | 11/11 | 8.0 | independent |
Changelog
- R1 · G1 Names cut off in fitted tiles (one template) · route: local · reuse: searched "tile title": none fits · title wraps to two lines · landed
- R1 · G2 Accent on prices · route: local · reuse: --foreground · prices in ink colour · landed
- R1 · G3 Hero and grid at equal weight · route: local · reuse: lead tile · ambassador tile double width · partial: the phone view stacks it back
Left alone: everything else.
Design direction: 11/11 acceptance lines
Aesthetic: 8.0/10 — gate is 8.5
- Composition: the double-width tile leads at desktop only
Verdict: ITERATE
The one thing between here and the bar: one tile that dominates at phone width too.
Basics is the build check's tally when the review ran (for existing work, the first look). Reviewer says
independent or provisional. Gap ids (G1, G2, …) stay the same across rounds, so a gap that comes back is
visible, and each names its route (Gap routes). A changelog line is round · gap · what changed · landed,
partial or made worse.
Read these live on each run. Links are relative to this skill's folder.
| What | Where |
|---|---|
| The decision being scored | the brief card's spec, and its ## Design direction when it carries acceptance lines |
| Which treatments a style earns | boxel-design/references/signature-treatments.md |
| Anti-cliché checklist, proof and clickable controls | boxel-design/references/critical-rules.md |
| What each format's root may and may not style | boxel-ui-guidelines/references/delegated-render-control.md → Per format — what's safe and what isn't on the outermost element |
| Fitted sizes and the verification checklist | boxel/references/fitted-formats.md |
| The per-format content matrix a card is scored against | boxel/references/design-playbook.md, the Stage 0f ## <CardName> · content matrix block |
| How a build animates, when it does | card-motion |
| Whether an isolated view needed the full viewport | boxel/references/prefers-wide-format.md |
| Restyling a reused card or a component | catalog-reuse/references/restyle-reused-card.md, boxel-ui-component-discovery/references/restyle-component.md |
Required before fixing a catalog gap | catalog-reuse |
Required before fixing a component gap | boxel-ui-component-discovery |
boxel-design (the index's "Just build it" path).boxel (boxel/references/lint-workflow.md); this skill scores captures.boxel-theme-development.references/build-check.md — the pass/fail check that finishes every design build (the basics, unscored), and the Basics block for existing workreferences/capture.md — which tool captures which view, budgets, where captures go, and the blank-region, scroll-motion and motion-off rulesreferences/benchmark-and-refine.md — the award-site benchmark, refine mode and the roles in the loop (the gate stays 8.5)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
boxel-skills@cardstack-boxel is listed by cardstack/boxel — review the source before installing
npx claudepluginhub cardstack/boxel --plugin boxel-skills27 skills in this plugin
/api-integrationsUse when a card needs data from, or sends data to, a third-party API — "show my GitHub pull requests in a card", "pull my open issues", "a card that calls the weather API with my key", "integrate with Stripe/Twilio/OpenAI", "how often can this card poll", "build a PR inbox". Takes a card author from "I want data from this vendor" to a working card: classifying the integration (no key, a key the workspace shares, the user's own key, a key that can write), choosing a live card or a scheduled pipeline (and why private data takes the pipeline), declaring the `callApi` operations with labels and credential slots, estimating polling cost, and recipes for GitHub (GraphQL, a GitHub App or a read-only fine-grained token, the PR inbox as a pipeline and as a live card), for a plain API key sent in a header, and for images from an AI vendor called with the user's own key (an automation run's own AI requests carry text only). Activates on "third-party API", "vendor API", "integration", "pipeline", "live card", "On a schedule and when the card is opened", "poll", "GitHub API", "GraphQL", `callApi`, `{{userKey}}`, `{{apiKey}}`, "image generation", "AI vendor key", "automation image"./api-keysUse when a card or the AI assistant needs a user's API key, or a key shared into a workspace — "this card needs my GitHub token", "the forecast operation was refused binding-not-approved", "let the user add their key", "share my key with this workspace", "add a key button". Also "sign in to GitHub from this card", "connect my account", "the operation was refused credential-rejected", "the service rejected my key", "should I register a GitHub App or an OAuth App". Covers getting a key from the user only through Boxel's secure window, with the open-secure-window tool: opening it from a card through `@context.toolContext` or from the assistant, its modes (enter a key, replace the key an operation sends, share a key, connect an account through OAuth, approve a card's requests for scheduled pipelines or also for when the card is opened, review what changed in them), passing only the operation the card is blocked on and letting the window gather the card's other operations into one approval, what the tool answers, the blocked-popup fallback, telling the user to check the address bar, what to do when the service rejects a key (stop polling, offer Try again, and Reconnect, which opens the window to replace the key), OAuth clients and connections (when to use a connection rather than a static key, what the card declares, opening connect mode, `credential-rejected` and its reasons, sharing a client into a workspace, and why GitHub takes a GitHub App), and never asking for a credential in the chat or building a form for one. Also covers asking first with `@context.keyReadiness` — the answers (`ready`, `needs-connect`, `needs-approval`, `needs-reapproval`, `needs-admin`, `needs-sign-in`, `rate-limited`, `over-budget`), what a card shows for each and what the secure window can fix, and treating `undefined` as "not known yet" so prerendered HTML never shows Connect. Also covers a call refused for the key owner's limits (`rate-limited`, `over-budget`, `rate-limit-unavailable`): backing off by `retryAfterSeconds` and saying the limit is reached without naming a budget. Activates on "approve", "Allow", "review changes", `needs-approval`, `needs-reapproval`, `open-secure-window`, `OpenSecureWindowTool`, `keyReadiness`, "secure window", "API key", "enter a key", "replace a key", "share a key", "OAuth", "connect", "Reconnect", "GitHub App", `{{userKey}}`, `{{apiKey}}`, `binding-not-approved`, `interactive-use-not-approved`, `anonymous-use-not-approved`, "On a schedule and when the card is opened", "people who aren't signed in", "anonymous cap", `credential-rejected`, `rate-limited`, `over-budget`.