Use this when you are starting a website or app and want a visual system that is specific to this subject, accessible, and fast to build against. It is for founding a system, not documenting one that exists. You walk away with tokens, a brand-as-data file, a living styleguide route rendered from the running CSS, a guide README generated from that data, and a check that fails the build when someone leaves the system.
The trap this skill exists to avoid: a style guide assembled from a primary colour and a modular scale is a WordPress template with better typography. It will be generically competent and belong to nobody. Everything below is arranged to prevent that.
Related skills: Feeds
/component-specand/interaction-pattern-libraryonce the foundations are set. Use/design-system-auditand/design-system-governancewhen a system already exists and needs assessment or an operating model./brand-guidelines-generatoris the wider brand book; this is the build-facing subset.
You provide
{{subject}}: what the site is about, in the owner's words, including the domain vocabulary it really uses.{{evidence}}: photography they already own, a social grid, an existing site, or their layout habits. If there is none, the first job is to go and get some.{{logo}}: the logo, wordmark and any existing marks, asked for by name. "None" is an answer only after asking outright.{{mark_status}}: whether each existing mark stays or is in play. Only the client can answer it.{{category_cliche}}: what a site in this category is expected to look like, to be ruled out in writing.{{repo}}: the project repository, so the token syntax matches what is already there.{{a11y_target}}(optional): fromconfig.mdunless the client asks for more. Default WCAG AA.{{dark_mode}}(optional): fromconfig.md. Out of scope unless asked.
Stack, enforcement and route defaults come from config.md (see Personalization).
Process
Step 1: Find the evidence, do not ask for a primary colour
Ask what already exists that is true to {{subject}}, and derive the palette from {{evidence}}:
- Photography they already own. Sample hexes from real images and name the source of each one. "Monarch orange, from monarch wings and ladybugs in her own grid" survives a client review. "Primary 500" does not.
- The subject's own vocabulary. A product with real domain words gets colours and component names from those words, not from generic UI nouns.
- Their existing layout habits. If they already set type in a block on a photo, that device becomes a component rather than something you invent.
- The trade itself. What the work is physically made of is usually the best texture brief available.
Ask for {{logo}} by name, before sampling anything. A sweep that reads someone's social grid and never asks "what is your logo" has skipped the asset every other decision must live with. A palette built around a mark nobody looked at will be internally consistent and still wrong; this happened on the worked example in examples.md. When an existing mark contradicts a rule you were about to write, put {{mark_status}} to the client rather than designing around it. That answer changes the system and only they can give it.
If there is no evidence, say so plainly and go get some before designing. Designing first and justifying after is how a system ends up arbitrary.
Produces: every colour with a name, a hex, a named source, and one stated job. Long form in reference/method.md.
Step 2: Write the ruled-out list before you design anything
Name {{category_cliche}} and forbid it in writing. For a garden brand that is muted sage and cream. For a fintech it is navy and a stock photo of a handshake. The refusals are what make every later decision decidable rather than a matter of taste.
Keep it as data, not prose, so the styleguide page can render it. Six to ten entries, each tagged settled or draft, with a separate verbal list for what the copy never says (reference/readme-shape.md).
Step 3: Tier the tokens
Two tiers, always. Tier 1 is the raw palette named by hue. Tier 2 is everything the app consumes, and its value is always a tier 1 reference. Match the syntax already in {{repo}}; otherwise use the config.md default.
Never reference a tier 1 value outside the :root block. That single rule is why a palette change is one block instead of a two hundred file sweep. Worked example in reference/method.md.
Step 4: Ration the loud colour and measure the contrast for real
Give the loudest colour a small number of named jobs and forbid it everywhere else. If red means "danger" in general, it stops meaning the one thing you needed it to mean.
Measure contrast on composited pixels, not CSS values. A texture, an overlay or a mix-blend-mode changes the ground under the type, so the declared hex is not what the eye receives. The script is in reference/enforcement.md. Judge against {{a11y_target}}. Give every token a usage line naming the grounds it reads on and its measured ratio on each (reference/readme-shape.md). Label any colour that passes only at display size as display-only, next to the swatch.
Step 5: Type as presets, never as settings at the call site
Name three to five type presets by job (.type-ceremony, .type-data, .type-voice). Hand-written font-variation-settings or one-off tracking at a call site always drifts. A face may do more than one job, but each job gets a preset. Record each face's licence for the rights list.
Step 6: Specify texture, ornament and motion
The part standard style guides omit entirely, and the part that separates a considered site from a competent one. Detail and the cheesy-guard table in reference/method.md.
- Texture: what every ground is made of. Flat fill is a choice, not a default, and it should be a stated one.
- Ornament: name the classes for what they do, not what they depict (
.ornament-corners, not.ornament-vine), so changing the art direction is not a rename across every consumer. - Motion: what moves, how far, how long, and why. Every animation needs a
prefers-reduced-motionpath, including the ones a class-name guard cannot see because they ship with the framework. - The cheesy guard: for each of the three, write the specific failure mode and the one rule that prevents it. "Growth enters from exactly one edge per section and must be cropped" is a rule. "Keep it tasteful" is not.
Step 7: Build the living page, not a document
A Markdown style guide drifts from the code within a week. Build a route that renders from the running CSS so it cannot lie: swatches from the tokens, the type presets set in real type, the ornaments, the motion, and a contrast grid covering every ink and surface pair. Section list in reference/enforcement.md. Each component on the page gets a component README; write the full spec with /component-spec.
Keep it out of production: a dev-only route, or clearly marked as a draft for review, per config.md.
Step 8: Make the system enforceable
A guide nobody can violate is a system. A guide nobody enforces is a suggestion. Ship at least a check that fails on raw framework palette classes and on colour literals inside arbitrary values and inline styles. Scripts in reference/enforcement.md.
Step 9: Review before it hardens
Show the client the living page and ask what feels wrong. Changing a token now is free. Changing it after forty components exist is not.
Output contract
Five artefacts, written into the project repository, not into chat. The living page's URL is what you send for review.
- A tokens file with the two tiers and a comment on each tier 1 colour naming its real-world source.
- A brand-as-data file exporting the swatches, the type scale, the ruled-out list (settled or draft), the verbal ruled-out list, rights, pattern rules and the check scripts, so the page and the README render from the values the app uses.
- A living styleguide route with these sections, numbered: where this came from, palette (with measured contrast per swatch), type, texture and ornament, motion, components, ruled out, contrast grid.
- A check script wired into the build.
- A guide README generated from the data file, in the shape in
reference/readme-shape.md, taken fromdocs/design-system-comparison-2026-10.md: summary; principles with reasons; content and voice with a Real copy table of three to five shipped lines; visual foundations, iconography, components; Ruled out; Not synced / not carried here. Never maintained by hand.
Check before handing over:
- Every colour has a name, a hex, a named source and one stated job.
- Every token has a usage line naming its grounds and a measured ratio with a pass or fail verdict; display-only colours say so next to the swatch.
- No tier 1 value is referenced outside
:root. - The ruled-out list has six to ten entries, each tagged settled or draft, and renders from data.
- Every rule names its failure mode, and texture, ornament and motion each have a cheesy guard.
- Every animation has a
prefers-reduced-motionpath. - The palette check is wired into the project's existing check script, and both scripts keep their render preconditions.
- The Real copy table quotes only lines that have shipped, each with where it appears.
- Every component has a README: purpose, when to use by variant, the consumer provides, rules, props.
- Anything inferred rather than sourced is marked .
- Prose follows
knowledge/voice-tone-guide.md, with no em-dashes.
Uncertainty policy
| Topic | Tolerance | Action |
|---|---|---|
| The evidence base (photos, vocabulary, existing habits) | Low | STOP and ask. Without it the system is arbitrary |
| An existing logo or wordmark | Low | STOP and ask, by name, every time |
| Whether an existing mark stays or is in play | Low | STOP and ask. It decides whether the mark constrains the system or the system replaces the mark |
| What the category cliche is | Low | STOP and ask. The ruled-out list is what makes later decisions decidable |
| Accessibility target | Medium | Default to WCAG AA and flag [ASSUMED]. Ask if AAA is needed |
| Specific typefaces | Medium | Recommend a pairing that fits the evidence, flag [ASSUMED], note licence cost |
| Motion appetite | Medium | Default to restrained, one moving thing per viewport, flag [ASSUMED] |
| Framework and token syntax | High | Read the repo and match what is there |
| Dark mode | Medium | Ask. It doubles the contrast work and many marketing sites do not need it |
Default: STOP and ask when a topic is not listed above.
Ruled out
- Never open with "what are your brand colours".
- Never record "no logo" without having asked for it by name, and never quietly design around an existing mark.
- Never design first and justify after; with no evidence, go and get some.
- Never reference a tier 1 value outside the
:rootblock. - Never measure contrast from CSS values alone, never copy a ratio from a source comment, and never report a contrast pass from a page that did not render.
- Never hand-write
font-variation-settingsor one-off tracking at a call site. - Never name an ornament class for what it depicts.
- Never ship an animation without a
prefers-reduced-motionpath. - Never accept "keep it tasteful" as a rule.
- Never present a draft ruling as settled.
- Never maintain the README or any shareable document by hand; generate it from the data file.
- Never put the living page in production, the sitemap or a prerender list.
Not covered
- Documenting a system that already exists in code: use
/design-system-extract. - Assessing an existing system: use
/design-system-audit. Its operating model:/design-system-governance. - The full brand book (logo work, social templates, print): use
/brand-guidelines-generator. - The full spec for one component: use
/component-spec. - Reviewing mockups against the system: use
/design-review. - Assessing an existing product against it: use
/ux-audit. - Checking consistency once the system is in use: use
/brand-audit.
Personalization
On first run, if skills/style-guide/config.md does not exist, ask these setup questions and write the answers there:
- Default stack and token syntax (Tailwind v4
@theme, CSS custom properties, Style Dictionary, something else) - Default accessibility target, and whether dark mode is in scope by default
- Whether to ship the enforcement check and the contrast script every time, or only on request
- House prose rules for anything the guide says in words (em-dashes, spelling, voice)
- Where the living styleguide route should live, and whether it is dev-only
On every later run, read skills/style-guide/config.md and apply it without re-asking. Edit that file directly to change the answers.
A filled config.md is committed, so this skill ships as "fast food": it works out of the box with Kate's defaults. To publish it for someone else to personalize, delete that file and their first run will ask the questions instead.
Example Output
examples.md is a real run: the Honey Girl Grows system, written up in the 2026-09-01 rewrite of this skill (#407) and corrected the same day (#422) with what the evidence sweep got wrong, the missed logo. It ends with a counter-example of what the old version of this skill produced.