/boxel-skills:boxel-theme-developmentfrom boxel-skills
Use when the deliverable is a theme ARTIFACT — creating, converting, auditing, or patching Theme, StructuredTheme, StyleReference, DetailedStyleReference, or BrandGuide cards; importing/exporting Google DESIGN.md design-system briefs; logo/mark usage and functional palettes. NOT for deciding a card's visual language (boxel-design) and NOT for applying tokens inside card templates (boxel-ui-guidelines).
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.
Use this for the theme artifact itself. Use boxel-design when the task is primarily styling a card template, and pair both skills when a card design drives a new theme.
boxel/references/theme-design-system.md for the Boxel theme hierarchy, Brand Guide fields, the Boxel Brand Guide rule, and dark mode (§3.3: data-theme, darkModeVariables).boxel-ui-guidelines/references/theme-token-contract.md for the full list of tokens a theme must satisfy — the only inventory; nothing else lists them.references/shadcn-boxel-token-mapping.md before assigning semantic color, spacing, radius, or component-facing token values.references/design-md-adapter.md when the input or output is a Google DESIGN.md file, a brand brief, or a generic design-system document.boxel-design/SKILL.md when inventing visual direction, voice, typography, or brand mood.boxel-ui-guidelines/references/use-boxel-design-tokens-for-theming.md when checking how templates will consume the theme.source-code-editing/SKILL.md before editing any .gts; boxel/references/lint-workflow.md before declaring .gts work done.Classify the job.
DESIGN.md, a brand guide, an existing site, or another token system into Boxel fields.Choose the narrowest correct card type from the ThemeCard Types table in boxel/references/theme-design-system.md (StructuredTheme floor, StyleReference, DetailedStyleReference, BrandGuide). Boxel built-in feature work uses @cardstack/base/Theme/boxel-brand-guide as the source of truth.
Gather source material.
DESIGN.md, style guide, brand guide, logo pack, font URLs, screenshots, or reference sites.cardInfo.theme, and whether a parent card computes cardTheme.Map values before writing.
boxel/references/theme-design-system.md says: marks in markUsage, brand colors in brandColorPalette, role colors in functionalPalette, semantic UI values in rootVariables and darkModeVariables. Never invent miscellaneous string fields for brand assets.--canvas and --field have no pair and must read under --foreground): --primary is a fill, not text, and --muted is a pale surface while --muted-foreground is quiet-but-readable text; defining both as dark grays yields dark-on-dark tables in long-form Markdown.rootVariables.spacing for the runtime's --spacing * 4 rule ("Spacing" in the token contract; conversion table in references/shadcn-boxel-token-mapping.md).visualDNA and the DetailedStyleReference markdown fields.Build or patch the Theme card.
BrandGuide or StyleReference into raw cssVariables, and never build on the bare Theme card: StructuredTheme is the minimum, BrandGuide when custom variables outside the contract are needed.attributes.cardInfo for name, summary, thumbnail, and notes.relationships["cardInfo.theme"] on Theme cards themselves.cssImports; it is derived from the font fields (boxel-ui-guidelines/references/font-loading-theme-card-owns-imports.md).@media blocks inside cssVariables — the theme parser silently skips those declarations. Dark-mode values belong in darkModeVariables.Validate.
DESIGN.md file exists and the CLI is available, run npx @google/design.md lint DESIGN.md; request approval first if package download is required..gts, run the Boxel lint gate from boxel/references/lint-workflow.md.--primary/--primary-foreground, etc.) and ensure ordinary templates can use semantic tokens without reaching into raw brand colors.references/shadcn-boxel-token-mapping.md, especially primary-as-text and spacing-scale failures.markUsage; brand palette lives in brandColorPalette and functionalPalette.rootVariables, darkModeVariables, and typography are structured where the card type supports them.cardInfo.theme.references/design-md-adapter.md.--primary is not ordinary text, foreground pairs exist, and spacing uses the Boxel normalized value.What SKILL.md sets; muted values are Claude Code's defaults
27 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`.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-skills