---
trigger: model_decision
description: "Extract a brand's visual and verbal identity into an applicable guideline kit — tokens, voice rules, and do/don't pairs — then apply it consistently to any artifact. Use when asked to apply brand guidelines to a document/deck/page, to extract a brand kit from existing materials or a website, to keep AI-produced artifacts on-brand, or to write lightweight brand guidelines for a startup. Produces a compact brand kit (visual tokens + voice rules + application examples) and/or an artifact restyled to it. For a creator's personal voice use creator-brand-kit; for building new UI systems use frontend-design."
---

# Brand Guidelines Skill

Brand consistency dies at the edges — the sales deck someone made at midnight, the AI-generated one-pager in default blue. This skill works both directions: **extract** a usable kit from whatever brand evidence exists (a website, a deck, a logo folder), and **apply** it so any artifact — deck, doc, landing page, social card — looks and sounds like it came from the same company.

## What This Skill Produces

- A **brand kit**: visual tokens (color roles with hex, type choices, spacing/radius feel, logo rules) + **voice rules** (register, vocabulary, banned phrases) + do/don't pairs
- Or an **artifact application**: the given document/deck/page restyled to the kit, with a conformance note

## Required Inputs

Ask for (if not already provided):
- **Mode**: extract a kit, apply an existing kit, or both
- **Brand evidence** (extract mode): the website URL/screenshots, existing decks, the logo files — 2-3 real artifacts beat a mission statement
- **The artifact and its audience** (apply mode): what's being branded and for whom
- **The formality of truth**: is there an official guidelines doc this must defer to, or is this creating the de-facto one?

## Extract Method

1. **Mine artifacts, not aspirations.** Pull from what the brand actually ships: the exact hex values (from the site's CSS/screenshots, not memory), the real font stack, how much whitespace they genuinely use, how their headlines are actually written. The "About" page says "bold and human"; the evidence says what that means in practice.
2. **Reduce color to roles with rules.** Primary (and its ONE job), neutrals, functional colors — each with hex, and the usage rule that makes it applicable: "primary on CTAs and key numbers only; never as body backgrounds." A palette without usage rules is a paint chip, not a guideline.
3. **Capture type as decisions.** Families, the weights actually used, the headline pattern (sentence case? title case? length?), body sizing feel. Note the *don'ts* observed: no italics anywhere? never centered body text?
4. **Extract voice as mechanics** (same discipline as style-fingerprint): sentence length feel, person ("we" vs product-name-as-subject), jargon stance, the phrases that recur, the phrases that would never appear. Write 3 do/don't pairs from real copy.
5. **Logo hygiene minimum**: clearspace, minimum size, what backgrounds it sits on, the misuses to ban (stretching, recoloring, effects).

## Apply Method

1. **Token-map the artifact first** — inventory its current colors/fonts/spacings, then map each to the kit's equivalent. Wholesale mapping beats spot-fixing (spot-fixing produces the half-branded artifact, which reads worse than unbranded).
2. **Apply voice, not just paint** — retitle headings in the brand's headline pattern, sweep for banned phrases, adjust register. A perfectly-colored deck in the wrong voice still feels off-brand.
3. **Respect the hierarchy of the artifact** — branding never overrides legibility: contrast checks still bind, dense tables stay functional; the brand's job is recognition, not decoration.
4. **Note conformance honestly** — what was applied, what couldn't be (font unavailable → declared substitute), what needs a human/designer call.

## Output Format

**The kit** (extract mode):
### Brand kit: [company] — extracted from [evidence] on [date]
**Color roles:** [role → hex → the usage rule] · **Type:** [families/weights/patterns + observed don'ts]
**Spacing & shape feel:** [airy/dense · radius/shadow character]
**Logo rules:** [clearspace/min size/backgrounds/banned misuses]
**Voice:** [mechanics + 3 do/don't pairs from real copy]
**Confidence notes:** [what was inferred vs evidenced]

**The application** (apply mode): the restyled artifact + a conformance note (mapped / substituted / needs-designer).

## Quality Checks

- [ ] Every color carries a hex AND a usage rule — no paint-chip palettes
- [ ] Voice rules are mechanics with real-copy examples, not adjectives
- [ ] Extracted values trace to actual artifacts (site CSS, real decks) — nothing from memory of the brand
- [ ] Applications map tokens wholesale, and include the voice pass
- [ ] Contrast/legibility survived the branding — checked, not assumed

## Anti-Patterns

- [ ] Do not extract a brand from its mission statement — mine what they ship, not what they say
- [ ] Do not guess hex values from memory of a famous brand — screenshot/CSS or it's fiction
- [ ] Do not spot-fix ("make the title teal") — half-branded reads worse than unbranded; map wholesale
- [ ] Do not brand at the cost of legibility — a low-contrast on-brand slide fails both jobs
- [ ] Do not ship a kit without usage rules — a palette and a font list is where inconsistency comes FROM
