JaimeJunr/claude-code-frontend-skills / plugins/ui-ux-pro-max/.claude/skills/brand
brand
VerifiedBrand voice, visual identity, messaging frameworks, asset management, brand consistency. Activate for branded content, tone of voice, marketing assets, brand compliance, style guides.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.0 KB |
| references/approval-checklist.md | markdown | 4.1 KB |
| references/asset-organization.md | markdown | 5.0 KB |
| references/brand-guideline-template.md | markdown | 3.5 KB |
| references/color-palette-management.md | markdown | 4.2 KB |
| references/consistency-checklist.md | markdown | 1.9 KB |
| references/logo-usage-rules.md | markdown | 5.3 KB |
| references/messaging-framework.md | markdown | 1.7 KB |
| references/typography-specifications.md | markdown | 4.9 KB |
| references/update.md | markdown | 3.8 KB |
| references/visual-identity.md | markdown | 1.8 KB |
| references/voice-framework.md | markdown | 2.0 KB |
| scripts/extract-colors.cjsexecutable | script | 9.0 KB |
| scripts/inject-brand-context.cjsexecutable | script | 9.5 KB |
| scripts/sync-brand-to-tokens.cjs | script | 14.9 KB |
| scripts/tests/test_sync_brand_to_tokens.py | script | 14.0 KB |
| scripts/validate-asset.cjsexecutable | script | 9.9 KB |
| templates/brand-guidelines-starter.md | markdown | 6.5 KB |
references/update.md
View on GitHubUpdate brand colors, typography, and style - automatically syncs to all design system files.
<args>$ARGUMENTS</args>
## Overview
This command systematically updates:
1. `docs/brand-guidelines.md` - Human-readable brand doc
2. `assets/design-tokens.json` - Token source of truth
3. `assets/design-tokens.css` - Generated CSS variables
## Workflow
### Step 1: Gather Brand Input
Use `AskUserQuestion` to collect:
**Theme Selection:**
- Theme name (e.g., "Ocean Professional", "Electric Creative", "Forest Calm")
**Primary Color:**
- Color name (e.g., "Ocean Blue", "Coral", "Forest Green")
- Hex code (e.g., #3B82F6)
**Secondary Color:**
- Color name (e.g., "Golden Amber", "Electric Purple")
- Hex code
**Accent Color:**
- Color name (e.g., "Emerald", "Neon Mint")
- Hex code
**Brand Mood (for AI image generation):**
- Mood keywords (e.g., "professional, trustworthy, premium" or "bold, creative, energetic")
### Step 2: Update Brand Guidelines
Edit `docs/brand-guidelines.md`:
1. **Quick Reference table** - Update color names and hex codes
2. **Brand Concept section** - Update theme name and description
3. **Color Palette section** - Update Primary, Secondary, Accent colors with shades
4. **AI Image Generation section** - Update base prompt, keywords, mood descriptors
### Step 3: Sync to Design Tokens
Run the sync script:
```bash
node scripts/sync-brand-to-tokens.cjs
```
If the script reports an existing token source, inspect the named file before
continuing. Detection covers `:root` custom properties, Tailwind v4 `@theme`
variables in common CSS entry points and their local imports, and Tailwind
theme colors or presets. Do not create a parallel token system beside those
sources. Use `--force` only when the detected source is the managed
`assets/design-tokens.*` output from an earlier sync and replacing it is
intentional:
```bash
node scripts/sync-brand-to-tokens.cjs --force
```
This will:
- Update `assets/design-tokens.json` with new color names and values
- Regenerate `assets/design-tokens.css` with correct CSS variables
### Step 4: Verify Sync
Confirm all files are updated:
```bash
# Check brand context extraction
node scripts/inject-brand-context.cjs --json | head -30
# Check CSS variables
grep "primary" assets/design-tokens.css | head -5
```
### Step 5: Report
Output summary:
- Theme: [name]
- Primary: [name] ([hex])
- Secondary: [name] ([hex])
- Accent: [name] ([hex])
- Files updated: brand-guidelines.md, design-tokens.json, design-tokens.css
## Files Modified
| File | Purpose |
|------|---------|
| `docs/brand-guidelines.md` | Human-readable brand documentation |
| `assets/design-tokens.json` | Token definitions (primitive→semantic→component) |
| `assets/design-tokens.css` | CSS variables for UI components |
## Skills Used
- `brand` - Brand context extraction and sync
- `design-system` - Token generation
## Examples
```bash
# Interactive mode
/brand:update
# With theme hint
/brand:update "Ocean Professional"
# Quick preset
/brand:update "midnight purple"
```
## Color Presets
If user specifies a preset name, use these defaults:
| Preset | Primary | Secondary | Accent |
|--------|---------|-----------|--------|
| ocean-professional | #3B82F6 Ocean Blue | #F59E0B Golden Amber | #10B981 Emerald |
| electric-creative | #FF6B6B Coral | #9B5DE5 Electric Purple | #00F5D4 Neon Mint |
| forest-calm | #059669 Forest Green | #92400E Warm Brown | #FBBF24 Sunlight |
| midnight-purple | #7C3AED Violet | #EC4899 Pink | #06B6D4 Cyan |
| sunset-warm | #F97316 Orange | #DC2626 Red | #FACC15 Yellow |
## Important
- **Always sync all three files** - Never update just brand-guidelines.md alone
- **Verify extraction** - Run inject-brand-context.cjs after update to confirm
- **Test image generation** - Optionally generate a test image to verify brand application
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |