Skip to content
Back to skills

Setup

ASecurity

Set-up wizard that turns a logo and brand material into a full design system - tokens, brand guidelines, playbook, component sheet, one-page summary, slides, onboarding page and AI brief - choosing which outputs to make. Use when someone asks to create a design system, brand guidelines, a style guide or a brand kit from their logo, or to add an output (such as slides) to a design system they already made.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
designgonodeexpress

Works with

  • claude code
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add pradeepsiddappa/design-system-toolkit --skill setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pradeepsiddappa-setup/badge)](https://www.skillsdirectory.com/skills/pradeepsiddappa-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: setup
description: Set-up wizard that turns a logo and brand material into a full design system - tokens, brand guidelines, playbook, component sheet, one-page summary, slides, onboarding page and AI brief - choosing which outputs to make. Use when someone asks to create a design system, brand guidelines, a style guide or a brand kit from their logo, or to add an output (such as slides) to a design system they already made.
argument-hint: "[add <output> | sample <name>]"
---

# Design system wizard

You guide the user through five short steps, then build their design system with the generator in this skill's `scripts/` folder. The user is often a designer or founder, not a developer: use plain words, one step at a time, and never show them code unless they ask.

**The key rule:** you only ever write two files, `foundations/tokens.css` (the values) and `foundations/brand.js` (the words and rules). The templates in `kit/` do all the layout. Never write or edit the HTML documents, `kit/system/*` or `components.css` for a brand.

Files in this skill (paths are relative to this SKILL.md):
- `examples/<name>/foundations/` - four finished brands: `dhanak`, `lumen-health` and `fieldnote-studio` (made-up samples) and `designers-who-build` (a real one). Copy their shape exactly.
- `reference/brand-js-guide.md` - what every field means and which are required. Read it before step 3.
- `scripts/generate.mjs` - checks the two files and builds the chosen outputs. Needs Node 18+.
- `kit/` - the templates the generator copies.

## If the user typed `sample <name>`, or wants to see an example first

Build a sample brand so they can see the full result before using their own:

```
node <this skill folder>/scripts/generate.mjs --sample <name>
```

This makes `./sample-<name>/`. Samples: `dhanak` (a UPI payment app: indigo and marigold, app screens first), `lumen-health` (a family clinic: soft, round, calm blue), `fieldnote-studio` (a design studio: black and lime, square, sharp). Open `sample-<name>/index.html` for them (the design system home, with a menu to every part), then offer to start on their own brand. A sample can also be the starting point: copy its `foundations/` into their folder and change it with them.

## If the user typed `add <output>`

They already have a design system. Find the folder (default `./my-design-system`, or ask), then run step 5 with `--only <output>` and skip the other steps. Outputs: `guidelines`, `playbook`, `components`, `one-page`, `slides`, `onboarding`, `ai`, `figma`.

## Step 0: Choose what to make

If they have not seen the result yet, first offer a sample: "Want to see a finished example first? I can build a made-up UPI payment app, clinic or design studio in a few seconds." If yes, follow the sample section above, then come back here.

Ask one multiple-choice question that allows several answers (use the AskUserQuestion tool with `multiSelect: true` if you have it; otherwise list the options numbered and ask them to reply with numbers, such as "1, 3"):

1. **Brand guidelines, playbook and decisions** (`guidelines,playbook,decisions`): the full document, how to use it per channel, and a decisions page that gives every choice, why it was made, and the token and code to use it (designers and developers read the same page)
2. **Component sheet** (`components`): buttons, fields, cards and more, as working HTML for developers, with their states (hover, focus, pressed, disabled, error) and when to use each
3. **Quick set** (`one-page,slides,onboarding`): one printable page, six slides, a first-day page
4. **AI files** (`ai`): an agent brief and voice file, so any AI makes on-brand assets
5. **Figma library** (`figma`): the same system inside Figma, the way designers expect a kit: variables that only show up in the right pickers, text styles, shadow styles, and Button, Tag, Input and Card with their variants (hover, pressed, focus, disabled, error). Needs the Figma connection in Claude Code to build it

Say that the foundations (tokens, logo, brand file, checks) and the design system home (`index.html`, one site with a side menu to every part) are always included, and that they can add any output later with `/ds-toolkit:setup add slides`. If they say "everything", use all five.

Also ask where to put it. Default: `./my-design-system` in the current folder.

## Step 1: The logo

Ask for the logo file (path or attachment). Then:
- Copy it unchanged into `<out>/foundations/logo/`. Never redraw, trace or recolour it.
- Look at it. Report: the format, whether it is vector (SVG, PDF, AI, EPS) or a picture (PNG, JPG), its size, and the colours it contains as hex values, most used first. For an SVG, read the colours from the file. For a picture, say the colours are approximate.
- If it is a small or blurry picture (under about 1000px wide), say so plainly and suggest getting a vector file. Carry on only if they want to.
- Ask: "Do you own this logo, or have permission to use it?" A yes sets `confirmations.ownsLogo: true`. Without it, stop.
- Ask whether the logo reads on a dark background. This sets `logo.onDarkGround` (`as-is` or `tile`). If they have a separate light version, copy it too and set `logo.onDark`.

## Step 2: Brand material

Ask for anything that describes the brand: a brand PDF, a deck, website text or a link, sample copy, an existing style guide, or skills and prompts they already use. All are optional. Read everything they give. If they give nothing, say the voice and rules will be starting points to edit.

## Step 3: Draft the two files

Read `reference/brand-js-guide.md` and the example closest to their brand in `examples/` (an app or product: `dhanak`; a service or health: `lumen-health`; a studio or agency: `fieldnote-studio`). Then write:
- `<out>/foundations/tokens.css`: same variable names as the example. Colours from the logo and material. Fonts they named, or a close free Google Font with a `default` tag. Keep the example's spacing, radius and motion values unless the material says otherwise, tagged `default`.
- `<out>/foundations/brand.js`: same shape as the example. Fill each field from their material.

**Copy the example's shape, never its words.** Every line in `identity`, `traits`, `pillars`, `voice`, `copy`, `playbook` and `graphics` is written for this brand, from what it does and how it sounds: an error message for a café is about an order, never about money leaving an account. Where their material is silent, write a plain line that fits their business, tag it `proposed`, and show it in step 4; or leave the field out. Before building, read `brand.js` once more for any line that could only belong to the example. The generator stops the build if a run of six words matches one sample's own wording.

For every `brand` and `palette` colour (except `default` ones), also write `why`: one line on where the colour comes from and the job that makes it right, with its own `whySrc` tag. Use only what the logo and material show or state; if they are silent, say what the colour does and tag the reason `proposed`. This is the answer when someone asks "why this blue?".

Also write `rationale` in `brand.js`: one plain line each on why the type scale, spacing, corners, shadows, motion, layout and button levels are the way they are (keys `type`, `space`, `radius`, `elevation`, `motion`, `layout`, `buttons`, `status`), each with its own `src`. Use only what the material and the owner say: if they are silent, leave the key out and the decisions page shows the toolkit's own reason, tagged Default. Never invent research, user numbers or history. If the brand has its own shadows or breakpoints, set `--ds-shadow-1` to `-3` and `--ds-bp-phone`, `-tablet`, `-desktop` in tokens.css; otherwise the generator adds starting values.

Status colours (`--ds-ok`, `--ds-warn`, `--ds-error`, `--ds-info`) are the brand's own too: pick them to suit the palette. Three rules: the warning colour is a bright amber or yellow that dark text reads on (4.5:1 or more), like a road sign; the error colour is the only colour that marks danger; and no brand or palette colour should look like a status colour. If the brand has a red, orange or green that sits close to error, warning or success, keep that brand colour for marketing and charts, never on buttons or status messages, and choose a status colour that clearly differs. You only set the four status colours: the generator works out each one's light background, text, border and text-on colour (`--ds-error-bg`, `--ds-error-text`, `--ds-error-border`, `--ds-on-error`, and so on). Set any of those yourself only if the brand material gives them.

Tag every value with `src`: `buyer` (they gave it), `extracted` (you read it from the logo or material), `default` (a toolkit starting value), `assumption` (the material is silent), or `proposed` (your recommendation). Never invent facts about the brand, its customers or its results: leave a gap in `gaps` instead. Copy rules: hyphens only (no em or en dashes), sentence case.

Check contrast as you go, using the readability rule in `reference/brand-js-guide.md`: every piece of text, including accent phrases and text on the brand colour, reaches 4.5:1 (3:1 for large text). Body text (`--ds-ink` on `--ds-canvas`) failing is a hard stop. If a brand colour fails as a text background, keep it and add a `fixes` entry with a darker or lighter proposal. If the accent is too faint as text on the brand colour (or other dark grounds), propose a lighter colour for accent words there; once the owner picks one, set it as `--ds-accent-on-dark` in tokens.css, so the documents and assets use it instead of brightening the accent.

## Step 4: Confirm

Show a short summary, not the files:
- A table of the colours (name, hex, job, why, tag), the three fonts, and the voice line. Ask them to confirm or rewrite each reason too; a reason they confirm becomes `whySrc: 'buyer'`.
- Anything tagged `extracted`, `assumption` or `proposed`, as a list.

If a brand colour looks like a status colour (the generator's checks say so), ask one more question: "Your <colour> is close to the error (or warning, or success) colour. Keep it for marketing and charts only, or move the status colour further away?"

Ask them to accept or change each item in one reply.

Then ask one question about how expressive their posts, covers and banners should be (multiple choice), and set `graphics` in `brand.js`:
1. **Calm**: plain brand colours, no shapes (`motif: 'none'`)
2. **Shapes from your logo**: pick the motif that echoes the logo (arcs for curves or rainbows, blobs for round or soft marks, rays for star or spoke marks, grid or stripes for square or geometric marks)
3. **A pattern**: dots, stripes or grid
4. **Your photos**: ask them to add pictures to `foundations/images/` and list them in `graphics.photos` (they must own them). Photos are used on announcement posts, with a motif elsewhere

Say which motif you chose and why, in one line, and store it in `graphics.why`. Then ask them to rewrite at least three sample lines in their own words (from `voice.samples` or `copy`), and confirm they have checked the font licences. Update `brand.js`: changed values become `buyer`, and set `confirmations.voiceLinesRewritten` and `confirmations.fontLicencesChecked`.

## Step 5: Build

Run the generator with Node from this skill's folder:

```
node <this skill folder>/scripts/generate.mjs --out <out> --only <chosen outputs>
```

(`--foundations` is not needed when the two files are already in `<out>/foundations/`.)

- If it stops on a hard fail, explain it in plain words, fix the two files with the user, and run it again. Never edit the generator or the templates to get past a check.
- Notes are not failures. Show them and ask the user what they want to do.
- If Node is not installed, say so. The documents still work: copy the folders in `kit/` into `<out>/` next to `foundations/` and open the `.html` files in a browser. Print to PDF from the browser.

## Finish

Tell them in a few lines:
- What was made, by folder, and which file to open first: `index.html`, the design system home, which links to every part.
- The site has a Token layers page (named colours, roles, component tokens). Dark mode is off in this version: it comes back only if they write their own `[data-theme="dark"]` block, or with the generator's `--dark` option.
- The site also has a Patterns page (form, empty, error, loading, confirm, success), an Icons page with SVG files in `icons/`, and anatomy and accessibility notes on every component. For an icon family beyond the starter set, name it in `icons.set`.
- For a team of designers and developers: `guidelines/decisions.html` explains every choice and the token to use, and `foundations/tokens.dtcg.json` imports into Figma as variables (Variables, then Import) and into code (Style Dictionary).
- On a Mac, offer to open the home page: `open <out>/index.html`.
- If you have an Artifact tool (in Claude Code or the Claude app), offer a private link to share the whole site: publish `<out>/artifact.html` as the page, with every other file in `<out>` (except `index.html` and `artifact.html`) in `files` at its own path, relative to `<out>`. Give the page the title "<brand> design system". The link starts private; the owner shares it from the page's Share menu. Say that the PDFs and other files open from the menu but cannot be downloaded from inside an artifact.
- If they chose the Figma library and the Figma connection is there (a `use_figma` tool; if it says it needs a sign-in, ask them to sign in through `/mcp`): offer to build it now. Ask for the link to a Figma Design file they can edit (a new file is best; the free Starter plan allows only 3 files, so they may need to use one they have). Load the Figma `figma-use` skill first, as that connection requires, then run the whole of `figma/build-library.js` as the code of one `use_figma` call on that file. It makes or updates a variable collection named after the brand (each variable only offered where it fits: colours in fill and stroke pickers, spacing in gaps, radii in corners; the raw named colours are hidden from pickers but still feed the roles; developers see the CSS name, such as `var(--ds-accent)`), text styles from the type scale, `shadow/1` to `shadow/3` effect styles, and a Components page. It is safe to run again: it updates by name and leaves existing components alone. Report what it returns (counts, any font it could not find), take one screenshot of the Components frame it names, and tell them how to use it: select a layer, then pick a variable from the four-dots icon next to Fill, or a text style from Typography.
- If they use Figma without the connection: in a Figma Design file, open Variables (left toolbar), choose Import and pick `foundations/tokens.dtcg.json`. Colours, font families and weights, sizes, spacing, corners, layout, motion times and breakpoints come in as variables, with component tokens pointing at roles and roles pointing at the named colours. Shadows and the easing curve stay out (Figma variables cannot hold them), so make the shadows as Figma effect styles from the Decisions page. Suggest they try it in a new file first.
- How to change something later: edit a value in `tokens.css`, reopen the pages, or run `/ds-toolkit:setup add <output>`.
- Any notes from the checks that still need their decision.

Files in this skill

  • SKILL.md15.1 KB
  • examples/designers-who-build/foundations/brand.js18.5 KB
  • examples/designers-who-build/foundations/logo/logo.svg509 B
  • examples/designers-who-build/foundations/tokens.css2.3 KB
  • examples/dhanak/foundations/brand.js14.2 KB
  • examples/dhanak/foundations/logo/dhanak.svg420 B
  • examples/dhanak/foundations/tokens.css1.8 KB
  • examples/fieldnote-studio/foundations/brand.js11.1 KB
  • examples/fieldnote-studio/foundations/logo/fieldnote-on-dark.svg421 B
  • examples/fieldnote-studio/foundations/logo/fieldnote.svg383 B
  • examples/fieldnote-studio/foundations/tokens.css1.7 KB
  • examples/lumen-health/foundations/brand.js12 KB
  • examples/lumen-health/foundations/logo/lumen.svg646 B
  • examples/lumen-health/foundations/tokens.css1.7 KB
  • kit/components/components.css11.7 KB
  • kit/components/components.html680 B
  • kit/figma/build-library.js19.9 KB
  • kit/guidelines/decisions.html685 B
  • kit/guidelines/guidelines.html686 B
  • kit/guidelines/playbook.html682 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.