brand-onboarding

$npx mdskill add langchain-ai/design-agent/brand-onboarding

The pack is the agent's only source of brand facts: tokens, logos, fonts, voice and graphic language. Schema: `src/design_agent/brand/schema.py`; a complete example: `examples/brands/example-studio/`. Never invent a rule, colour, font or logo the sources do not show: leave it out and list it as a question for the person.

SKILL.md

.github/skills/brand-onboardingView on GitHub ↗
---
name: brand-onboarding
description: Build the active brand pack in workspace/brand/ from a brand guide, website, files or a Paper file, validate it, and have a person review it.
---

# Build a brand pack

The pack is the agent's only source of brand facts: tokens, logos, fonts, voice and graphic
language. Schema: `src/design_agent/brand/schema.py`; a complete example:
`examples/brands/example-studio/`. Never invent a rule, colour, font or logo the sources do not show:
leave it out and list it as a question for the person.

1. `uv run design-agent brand init` copies the example pack into `workspace/brand/` (Git-ignored);
   replace every file's content, logos included.
2. **Sources, best first:** the brand's own guide (PDF), its design files (Paper: read tokens,
   palette and type nodes with `get_tokens`, `get_computed_styles`, `get_jsx`; never write to the
   brand file), the live website's CSS, then existing marketing files.
3. `tokens.json`: palette, font stacks for display, text and mono, radii, stroke, spacing, and the
   copy rules the guide states. Check every text/ground pair you list for WCAG contrast; mark
   accents that fail on light grounds as non-text. Say which colour plays which role in
   `design.roles.light` and `design.roles.dark` (`ground`, `ink`, `accent`, `muted`, `quiet`,
   `rule`, `series`, each a token): charts and diagrams use them, and otherwise guess from the
   palette. Porting an existing tokens file: names must be `--brand-*`, hexes carry `#`, `version`
   is `"1"`, unknown keys are refused, and every font stack ends in a generic family.
4. `logos/`: SVG where the brand provides it; every variant the guide allows (mark, lockup,
   reversed). Do not redraw or trace a logo; ask for files.
5. `fonts.toml`: for each face, an open font in `fonts/` or a licensed file the person supplies in
   `private-fonts/` (Git-ignored; it reaches the sandbox as deployment files or a mount). Never
   commit licensed fonts. `family` is the name inside the file (the sandbox resolves fonts by it),
   `weight` a CSS weight (`"400"`, or `"100 900"` for a variable face), `sha256` from
   `shasum -a 256 <file>`. `uv run design-agent fonts verify` checks all three. Web formats
   (`.woff2`, `.woff`) are fine: `tokens.css` declares them with `@font-face`. If a licensed face
   is unavailable, name the closest open fallback and say so in `graphic-language.md`.
6. `voice.md` and `graphic-language.md`: short, concrete, sourced ("headlines in sentence case",
   "one accent per frame"), no generic advice. Anything else the guide has (type tables, icons,
   pattern art, construction specs) can live in the pack too; link it from `graphic-language.md`,
   which is what the agent reads first.
7. `uv run design-agent brand validate`, `uv run design-agent fonts verify`, then
   `uv run design-agent brand css` regenerates `tokens.css`. For a first look, ask for one card
   (`uv run design-agent ask "A 1200x630 card announcing …"`) and review it with the person; `demo`
   always renders the sample brand.
8. Hand the person the open questions, including rules the guide contradicts itself on; the pack is
   done when they have reviewed it.

More from langchain-ai/design-agent

SkillDescription
data-vizCharts, stat cards, flywheels and diagrams (flows, architectures, hierarchies) rendered on brand from a JSON spec to PNG and SVG. Use for any visual whose job is numbers or relationships, including restyling an attached chart or diagram.
design-agent-customizeChange what Design Agent knows and does. Teach it a new deliverable with a runtime skill, change its instructions, design doctrine or checks, connect MCP servers and tools, or change models and cost caps. Use when someone wants it to make something new, follow a new rule, or use another tool.
design-agent-deployPut Design Agent in a team's Slack. Deploy it to Managed Deep Agents (one command, managed Slack app) or self-host it with Docker Compose, verify it with a real request, ship updates, and keep a separate test copy. Use when someone wants the agent running for their team.
design-agent-evalsFind out whether a change made Design Agent better or worse. Run the eval set or a few tasks before and after against the same model, read the reports, look at the files, and turn a real request that went wrong into a task. Use after changing instructions, skills, checks or models, or when someone asks how good it is.
design-agent-onboardingInstall and configure Design Agent, add a brand, connect Paper, choose MDA or self-hosting, and diagnose setup without exposing credentials.
design-agent-troubleshootDiagnose Design Agent when something fails. Setup, a render, a deploy, Slack or a model call. Run doctor and the connection tests, read logs and traces, match the symptom to its fix, and never print credentials. Use when a command errors, a reply never comes, or a file looks wrong.
design-agent-updateBring a fork or clone of Design Agent up to date with the upstream repository while keeping the team's brand, skills and edits, rebuild what changed, and redeploy safely. Use when someone asks to update, upgrade or pull the latest Design Agent.
design-wikiDesign doctrine to weigh on any visual. Hierarchy, typography, colour, layout, platform sizes, chart and diagram principles, and the review rubric critics score against.
embedded-captions>
faceless-explainerTurn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.