jubscodes/get-shit-pretty/gsp-brand-guidelines

Claude Code and agent skill by jubscodes/get-shit-pretty

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Build design system tokens and STYLE.md (technical phase — benefits from capable models) — use when: create the design system, generate tokens, finalize brand guidelines, build the component system

Install

npx vskill@latest install jubscodes/get-shit-pretty/gsp-brand-guidelines

SKILL.md

<context> Phase 4 of the GSP branding diamond. Transforms the brand identity into operational artifacts that designer and builder agents consume — the .yml preset (source of truth), STYLE.md (agent contract), component token mapping, and guidelines.html (what the user sees).

Identity made the creative decisions. This phase makes them work in code.

Prerequisites: /gsp-start → /gsp-brand-research → /gsp-brand-strategy → /gsp-brand-identity must complete first. Guidelines reads identity/INDEX.md and strategy chunks; if Phase 3 isn't complete, exits with a next-step prompt instead of running. </context>

<objective> Operationalize brand identity into project-ready artifacts and complete the branding diamond.

Input: Brand identity (enriched by domain skills) + strategy + BRIEF.md Output: {brand}/patterns/ ({brand-name}.yml, {brand-name}.theme.json, STYLE.md, guidelines.html, components/, INDEX.md) Agent: gsp-brand-engineer </objective>

<rules>

  • Always use AskUserQuestion for user-facing questions — never raw text prompts
  • One decision per question — never batch multiple questions in a single message

</rules>

<process>

Step 0: Resolve brand

Resolve brand from .design/branding/ (one → use it, multiple → ask). Set BRAND_PATH. If BRAND_PATH doesn't exist, tell the user to run /gsp-start first.

Step 1: Load context

Identity (chunk-first)

Read {BRAND_PATH}/identity/INDEX.md. If it exists, load all identity chunks + palettes.json.

If INDEX.md doesn't exist, check if identity phase is complete in brand STATE.md. If not, tell the user to complete brand identity first (run /gsp-brand-identity).

Strategy (selective, chunk-first)

Read {BRAND_PATH}/strategy/INDEX.md. If it exists, load: voice-and-tone.md, archetype.md, positioning.md.

Brand context

Read:

  • {BRAND_PATH}/BRIEF.md — business, personas, goals
  • {BRAND_PATH}/config.json — get system_config.system_strategy, system_config.tech_stack, system_config.style_base
Style base presets

If style_base is a non-empty array, load each preset's files from ${CLAUDE_SKILL_DIR}/../gsp-style/styles/:

  • {preset-name}.yml — structural scaffold (tokens + intensity + patterns + constraints + effects)
  • {preset-name}.md — design philosophy, bold bets, implementation patterns (CSS recipes, textures, animations)

Both files are needed: the .yml provides the structure to inherit from, the .md provides the philosophy and implementation content for STYLE.md rendering.

If style_base is empty or missing, load ${CLAUDE_SKILL_DIR}/../gsp-style/styles/professional.yml and professional.md as the default format reference. The agent always needs at least one example to produce the custom style output.

Step 1.5: Codebase awareness

Always scan: If .design/system/ docs don't exist, invoke /gsp-design-system via Skill tool to scan the codebase. If they already exist, read them. Either way, load STACK.md, COMPONENTS.md, and TOKENS.md before continuing.

Then ask the user (each as its own AskUserQuestion):

  1. Tech stack — if the scan detected a stack, use AskUserQuestion:
  • Yes, build on {framework} + {styling} — "Use what's already here"
  • Different stack — "I want to target a different tech stack"

If no stack detected, use open-ended AskUserQuestion: "What tech stack will this brand target?" Store answer in {BRAND_PATH}/config.json → system_config.tech_stack

  1. System strategy — only ask if scan found existing tokens/components. Use AskUserQuestion:
  • Evolve — "Extend the existing design system"
  • Rethink — "Redesign from scratch, informed by what exists"
  • Ignore — "Start fresh, don't reference the existing system"

Store strategy in {BRAND_PATH}/config.json → system_config.system_strategy If scan found no tokens/components (greenfield/boilerplate): default to generate, skip this question

Step 2: Determine system strategy

Read system_config.system_strategy from config.json (defaults to generate if missing).

Three strategies:

GENERATE (when system_strategy is generate or missing): Full system from scratch. For boilerplate codebases, respect existing config structure (extend tailwind.config, not replace) and output tokens in the format the existing config uses (Tailwind extend, CSS custom properties, etc).

EXTEND (when system_strategy is extend): Evolve the existing system rather than replacing it.

  1. Audit existing tokens against the brand identity — keep what works, adjust what doesn't, fill gaps
  2. Classify each existing component: KEEP / RESTYLE / REFACTOR / REPLACE
  3. Design only net-new components not covered by existing ones
  4. Output delta tokens — only new and changed values
  5. Preserve existing naming conventions from .design/system/CONVENTIONS.md

REFACTOR (when system_strategy is refactor): Redesign the system from the ground up, informed by what exists.

  1. Read and understand existing tokens, components, patterns from .design/system/ docs
  2. Design a complete new system — same scope as GENERATE
  3. Produce a migration mapping for every change
  4. Preserve conventions unless the brand requires changes
  5. Flag breaking changes explicitly

Step 3: Spawn brand engineer — Pass 1: Core

Load references and agent methodology

Read these files and hold their content for inlining into the agent prompt:

  • ${CLAUDE_SKILL_DIR}/../../templates/phases/patterns.md — patterns output template
  • ${CLAUDE_SKILL_DIR}/../gsp-style/style-preset-schema.md — canonical .yml schema (shadcn-flat, 1:1 CSS var mapping)
  • ${CLAUDE_SKILL_DIR}/guidelines-structure.md — guidelines.html structure spec (shadcn tokens, sections, primitive classes)
  • ${CLAUDE_SKILL_DIR}/methodology/gsp-brand-engineer.md — agent methodology

Spawn the gsp-brand-engineer agent. Inline all content — the agent should not need to read input files.

Pass in the agent prompt:

  • Content of all identity chunks + palettes.json (loaded in Step 1)
  • Content of strategy chunks: voice-and-tone.md, archetype.md, positioning.md (loaded in Step 1)
  • Content of BRIEF.md (loaded in Step 1) — explicitly pass the brand_heartbeat field as a named input so the agent uses it in the hero headline if no manifesto line exists yet
  • Content of style base preset .yml + .md (loaded in Step 1) — .yml as structural scaffold, .md as philosophy + implementation content for STYLE.md
  • Agent methodology (loaded above)
  • Content of patterns output template (loaded above)
  • Content of style preset schema (loaded above) — the engineer assembles {brand-name}.yml matching this exact shape
  • Content of guidelines structure spec (loaded above) — follow this exactly for guidelines.html
  • The system_strategy and tech_stack values
  • Output path: {BRAND_PATH}/patterns/
Produce the core brand artifacts ONLY:
1. {brand-name}.yml — source of truth (tokens + intensity + patterns + constraints + effects)
2. STYLE.md — agent contract (rendered from .yml + philosophy + bold bets)
3. guidelines.html — visual brand guide (what the user sees in their browser)
4. INDEX.md — core files only for now
Do NOT produce component artifacts yet (token-mapping, overrides, custom specs). Those come after the user reviews the visual output.

Step 3.5: Coherence check

Spawn the gsp-brand-coherence agent with a fresh context. Load the methodology and inline all inputs — the agent should not need to read files.

Load

Read these and hold for inlining:

  • ${CLAUDE_SKILL_DIR}/methodology/gsp-brand-coherence.md — agent methodology
  • {BRAND_PATH}/patterns/{brand-name}.yml — generated preset
  • {BRAND_PATH}/patterns/guidelines.html — generated visual guide

Extract from Step 1 context:

  • archetype — from archetype.md
  • brand_heartbeat — from BRIEF.md
Spawn gsp-brand-coherence

Pass inline:

  • Agent methodology (loaded above)
  • Content of {brand-name}.yml
  • Content of guidelines.html
  • archetype and brand_heartbeat

The agent returns a structured coherence report. No back-and-forth — one response.

Present the report

Display the agent's report, then add:

→ open guidelines.html in your browser
─────────────────────────────────────

Use AskUserQuestion:

  • Looks right — "Coherent — build components"
  • Push [tension 1] — pre-fill with the specific gap from the report
  • Push [tension 2] — same
  • Adjust something else — "I want to change colors / type / patterns"

If refinement needed → invoke /gsp-brand-refine with the specific tension. After it completes, re-spawn gsp-brand-coherence with the updated .yml and guidelines.html. Only proceed to Step 3.75 when the archetype tension is present and dials are coherent.

Step 3.75: Perspective check

Load persona profiles and the brand_heartbeat from {BRAND_PATH}/BRIEF.md. Present stakeholder reactions framed around the compass:

stress-testing against: "{brand_heartbeat}"
{primary persona name}: {does this visual language make them feel that sentence?}
Skeptic: {does the intensity feel calibrated — or is it playing it safe?}
{top competitor}: {is the brand visually distinct enough to own this feeling?}

Use AskUserQuestion:

  • Lock it in — "The brand earns that feeling — build components"
  • Adjust — "One of these concerns resonates"

If adjust → invoke /gsp-brand-refine with the concern, re-present. If confirmed → proceed to components.

Step 4: Spawn brand engineer — Pass 2: Components

Spawn the gsp-brand-engineer agent with (reuse Agent methodology loaded in Step 3):

  • Content of the confirmed {BRAND_PATH}/patterns/{brand-name}.yml
  • Content of {BRAND_PATH}/patterns/STYLE.md
  • Content of .design/system/STACK.md, COMPONENTS.md, TOKENS.md (when loaded in Step 1.5)
  • The system_strategy and tech_stack values
  • Agent methodology (loaded in Step 3)
  • Content of design tokens reference (loaded in Step 3)
  • Output path: {BRAND_PATH}/patterns/
Produce the component artifacts:
1. components/token-mapping.md — brand tokens → library theming API (always)
2. Component override specs (selective — only when tokens aren't enough)
3. Custom component specs (selective — brand-distinctive with no library equivalent)
4. Update INDEX.md with the components section
The .yml and STYLE.md are confirmed — do not modify them. Focus on mapping tokens to the detected component library and specifying overrides.

Step 4.7: WCAG validation gate

Before emitting theme.json (the artifact that installs into real codebases), validate the assembled .yml against WCAG 2.2 AA contrast requirements. Inaccessible token pairs must not ship to production.

Invoke /gsp-accessibility --validate {BRAND_PATH}/patterns/{brand-name}.yml (use --level AAA if accessibility_level in the project config is set to AAA).

  • Pass (exit 0): continue to Step 4.75
  • Fail (exit 1): STOP. The skill prints failing token pairs + the recommended fix path. Surface the failures to the user with: Theme emission blocked — {N} contrast failure(s). Run /gsp-brand-refine to fix the failing pairs, then re-run /gsp-brand-guidelines. Do NOT emit theme.json. The pipeline is incomplete until validation passes

The verdict (pass or fail) is appended to {BRAND_PATH}/patterns/wcag-validate.log — the audit trail proving the gate ran. Do not delete or rewrite this file; it accumulates across reruns.

Step 4.75: Emit shadcn theme registry artifact

Generate {brand-name}.theme.json (registry:theme) alongside the existing patterns. This is the artifact /gsp-brand-apply installs into shadcn codebases.

bash
node ${CLAUDE_SKILL_DIR}/bin/theme-css.js \
{BRAND_PATH}/patterns/{brand-name}.yml \
--registry \
--output {BRAND_PATH}/patterns/{brand-name}.theme.json

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
43
Repository forks
4
Repository npm downloads, 7 days
59
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 17 May 2026, 5 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jubscodes/get-shit-pretty/gsp-brand-guidelines/badge)](https://verified-skill.com/skills/jubscodes/get-shit-pretty/gsp-brand-guidelines)

Something wrong with this skill or its page? Tell us.