get-shit-pretty 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -12
- package/bin/install.js +96 -71
- package/gsp/agents/gsp-accessibility-auditor.md +3 -3
- package/gsp/agents/gsp-ascii-artist.md +1 -1
- package/gsp/agents/gsp-brand-auditor.md +2 -2
- package/gsp/agents/gsp-brand-engineer.md +131 -0
- package/gsp/agents/gsp-brand-strategist.md +2 -2
- package/gsp/agents/gsp-brand-syncer.md +8 -7
- package/gsp/agents/gsp-builder.md +48 -5
- package/gsp/agents/gsp-campaign-director.md +2 -3
- package/gsp/agents/gsp-creative-director.md +80 -0
- package/gsp/agents/gsp-critic.md +99 -17
- package/gsp/agents/gsp-designer.md +51 -4
- package/gsp/agents/gsp-project-researcher.md +3 -3
- package/gsp/agents/gsp-researcher.md +4 -4
- package/gsp/agents/gsp-reviewer.md +2 -2
- package/gsp/agents/gsp-scoper.md +2 -2
- package/gsp/hooks/hooks.json +5 -5
- package/gsp/references/design-trends.md +4 -4
- package/gsp/references/phase-transitions.md +12 -12
- package/gsp/references/questioning.md +1 -1
- package/gsp/references/token-mapping.md +329 -0
- package/gsp/skills/gsp-3d/SKILL.md +112 -0
- package/gsp/skills/gsp-accessibility/SKILL.md +11 -11
- package/gsp/skills/gsp-accessibility-audit/SKILL.md +6 -7
- package/gsp/skills/gsp-add-reference/SKILL.md +1 -1
- package/gsp/skills/gsp-art/SKILL.md +1 -1
- package/gsp/skills/gsp-brand-audit/SKILL.md +3 -3
- package/gsp/skills/gsp-brand-guidelines/SKILL.md +233 -0
- package/gsp/skills/gsp-brand-identity/SKILL.md +27 -18
- package/gsp/skills/gsp-brand-refine/SKILL.md +29 -22
- package/gsp/skills/gsp-brand-research/SKILL.md +2 -2
- package/gsp/skills/gsp-brand-strategy/SKILL.md +3 -3
- package/gsp/skills/gsp-brand-sync/SKILL.md +7 -7
- package/gsp/skills/gsp-color/SKILL.md +105 -0
- package/gsp/skills/gsp-design-system/SKILL.md +4 -4
- package/gsp/skills/gsp-doctor/SKILL.md +25 -18
- package/gsp/skills/gsp-help/SKILL.md +28 -28
- package/gsp/skills/gsp-icons/SKILL.md +108 -0
- package/gsp/skills/gsp-images/SKILL.md +197 -0
- package/gsp/skills/gsp-launch/SKILL.md +2 -3
- package/gsp/skills/gsp-logo/SKILL.md +173 -0
- package/gsp/skills/gsp-palette/SKILL.md +13 -13
- package/gsp/skills/gsp-pretty/SKILL.md +2 -2
- package/gsp/skills/gsp-progress/SKILL.md +20 -20
- package/gsp/skills/gsp-project-brief/SKILL.md +7 -8
- package/gsp/skills/gsp-project-build/SKILL.md +21 -21
- package/gsp/skills/gsp-project-critique/SKILL.md +13 -14
- package/gsp/skills/gsp-project-design/SKILL.md +17 -17
- package/gsp/skills/gsp-project-research/SKILL.md +5 -6
- package/gsp/skills/gsp-project-review/SKILL.md +7 -9
- package/gsp/skills/gsp-scaffold/SKILL.md +3 -3
- package/gsp/skills/gsp-start/SKILL.md +14 -14
- package/gsp/skills/gsp-style/SKILL.md +41 -43
- package/gsp/skills/gsp-style/styles/INDEX.yml +1 -1
- package/gsp/skills/gsp-style/styles/academia.yml +80 -0
- package/gsp/skills/gsp-style/styles/art-deco.yml +81 -0
- package/gsp/skills/gsp-style/styles/bauhaus.yml +78 -0
- package/gsp/skills/gsp-style/styles/bold-typography.yml +73 -0
- package/gsp/skills/gsp-style/styles/botanical.yml +78 -0
- package/gsp/skills/gsp-style/styles/claymorphism.yml +84 -0
- package/gsp/skills/gsp-style/styles/cyberpunk.yml +87 -0
- package/gsp/skills/gsp-style/styles/enterprise.yml +81 -0
- package/gsp/skills/gsp-style/styles/flat-design.yml +67 -0
- package/gsp/skills/gsp-style/styles/fluent.yml +82 -0
- package/gsp/skills/gsp-style/styles/glassmorphism.yml +83 -0
- package/gsp/skills/gsp-style/styles/humanist-literary.yml +74 -0
- package/gsp/skills/gsp-style/styles/industrial.yml +82 -0
- package/gsp/skills/gsp-style/styles/kinetic.yml +94 -0
- package/gsp/skills/gsp-style/styles/liquid-glass.yml +91 -0
- package/gsp/skills/gsp-style/styles/luxury.yml +83 -0
- package/gsp/skills/gsp-style/styles/material.yml +83 -0
- package/gsp/skills/gsp-style/styles/maximalism.yml +92 -0
- package/gsp/skills/gsp-style/styles/minimal-dark.yml +75 -0
- package/gsp/skills/gsp-style/styles/modern-dark.yml +88 -0
- package/gsp/skills/gsp-style/styles/monochrome.yml +68 -0
- package/gsp/skills/gsp-style/styles/neubrutalism.yml +83 -0
- package/gsp/skills/gsp-style/styles/neumorphism.yml +77 -0
- package/gsp/skills/gsp-style/styles/newsprint.yml +81 -0
- package/gsp/skills/gsp-style/styles/organic.yml +77 -0
- package/gsp/skills/gsp-style/styles/playful-geometric.yml +90 -0
- package/gsp/skills/gsp-style/styles/professional.yml +67 -0
- package/gsp/skills/gsp-style/styles/retro.yml +85 -0
- package/gsp/skills/gsp-style/styles/saas.yml +83 -0
- package/gsp/skills/gsp-style/styles/sketch.yml +86 -0
- package/gsp/skills/gsp-style/styles/swiss-minimalist.yml +69 -0
- package/gsp/skills/gsp-style/styles/terminal.yml +83 -0
- package/gsp/skills/gsp-style/styles/vaporwave.yml +84 -0
- package/gsp/skills/gsp-style/styles/web3.yml +82 -0
- package/gsp/skills/gsp-textures/SKILL.md +132 -0
- package/gsp/skills/gsp-typescale/SKILL.md +11 -11
- package/gsp/skills/gsp-typography/SKILL.md +108 -0
- package/gsp/skills/gsp-update/SKILL.md +1 -2
- package/gsp/skills/gsp-video/SKILL.md +101 -0
- package/gsp/templates/branding/config.json +1 -1
- package/gsp/templates/branding/roadmap.md +9 -9
- package/gsp/templates/exports-index.md +8 -8
- package/gsp/templates/phases/build.md +1 -1
- package/gsp/templates/phases/design.md +1 -1
- package/gsp/templates/phases/patterns.md +60 -71
- package/gsp/templates/phases/style.md +158 -0
- package/gsp/templates/projects/config.json +1 -1
- package/gsp/templates/projects/roadmap.md +7 -7
- package/gsp/templates/projects/state.md +1 -1
- package/package.json +1 -2
- package/.claude-plugin/plugin.json +0 -24
- package/gsp/agents/gsp-identity-designer.md +0 -74
- package/gsp/agents/gsp-pattern-architect.md +0 -189
- package/gsp/prompts/01-design-system-architect.md +0 -19
- package/gsp/prompts/02-brand-identity-creator.md +0 -16
- package/gsp/prompts/03-ui-ux-pattern-master.md +0 -21
- package/gsp/prompts/04-marketing-asset-factory.md +0 -14
- package/gsp/prompts/05-implementation-spec-expert.md +0 -15
- package/gsp/prompts/06-design-critique-partner.md +0 -14
- package/gsp/prompts/07-design-trend-synthesizer.md +0 -3
- package/gsp/prompts/08-accessibility-auditor.md +0 -23
- package/gsp/prompts/09-design-to-code-translator.md +0 -49
- package/gsp/prompts/10-project-scoper.md +0 -17
- package/gsp/prompts/11-deliverable-reviewer.md +0 -18
- package/gsp/prompts/12-project-researcher.md +0 -18
- package/gsp/skills/gsp-brand-patterns/SKILL.md +0 -240
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsp-typography
|
|
3
|
+
description: Design type systems — scale, pairing, fluid type, vertical rhythm
|
|
4
|
+
user-invocable: true
|
|
5
|
+
model: sonnet
|
|
6
|
+
allowed-tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Write
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
- Glob
|
|
11
|
+
- Grep
|
|
12
|
+
- WebSearch
|
|
13
|
+
---
|
|
14
|
+
<context>
|
|
15
|
+
You are a GSP typography director. You build complete type systems — scale generation, font pairing, fluid responsive type, vertical rhythm, and font loading strategy.
|
|
16
|
+
|
|
17
|
+
This is a standalone composable skill. It works two ways:
|
|
18
|
+
1. **Standalone** — user runs `/gsp-typography` directly for type scale exploration and font pairing
|
|
19
|
+
2. **As a building block** — the creative-director invokes `/gsp-typography --enrich` to add technical precision to creative typeface choices
|
|
20
|
+
|
|
21
|
+
Absorbs the capabilities of the current `gsp-typescale` (mathematical scale generation).
|
|
22
|
+
</context>
|
|
23
|
+
|
|
24
|
+
<objective>
|
|
25
|
+
Build a production-ready typography system from typeface choices or user input.
|
|
26
|
+
|
|
27
|
+
**Input:** Font families + brand context, OR `--enrich` mode with existing `typography.md`
|
|
28
|
+
**Output:** `typography.md` chunk with full 9-level scale, fluid type formulas, and loading strategy
|
|
29
|
+
**Agent:** None — inline skill, mathematical scale generation
|
|
30
|
+
</objective>
|
|
31
|
+
|
|
32
|
+
<execution_context>
|
|
33
|
+
@${CLAUDE_SKILL_DIR}/../../references/chunk-format.md
|
|
34
|
+
</execution_context>
|
|
35
|
+
|
|
36
|
+
<rules>
|
|
37
|
+
- Always use `AskUserQuestion` for user interaction — never prompt via plain text
|
|
38
|
+
- One decision per question — never batch multiple questions in a single message
|
|
39
|
+
- Type scales must be mathematically consistent (ratio-based: 1.125, 1.2, 1.25, 1.333, 1.414, 1.5, 1.618)
|
|
40
|
+
- Always specify Google Fonts import URL or font loading strategy
|
|
41
|
+
- Fluid type uses clamp() with min/preferred/max values
|
|
42
|
+
- 9 scale levels: Display, H1, H2, H3, Body Large, Body, Body Small, Caption, Overline
|
|
43
|
+
</rules>
|
|
44
|
+
|
|
45
|
+
<process>
|
|
46
|
+
## Step 0: Determine mode
|
|
47
|
+
|
|
48
|
+
| Input | Mode |
|
|
49
|
+
|-------|------|
|
|
50
|
+
| `/gsp-typography --enrich` | Enrich existing typography.md |
|
|
51
|
+
| `/gsp-typography "Inter" --ratio 1.25` | Generate from font + ratio |
|
|
52
|
+
| `/gsp-typography` | Interactive — explore and build |
|
|
53
|
+
|
|
54
|
+
## Step 1: Enrich mode (`--enrich`)
|
|
55
|
+
|
|
56
|
+
Read existing `{BRAND_PATH}/identity/typography.md`. Extract chosen typefaces and scale direction.
|
|
57
|
+
|
|
58
|
+
Read `references/typography-scales.md` for domain expertise.
|
|
59
|
+
|
|
60
|
+
Enrich the file with:
|
|
61
|
+
- Mathematical 9-level type scale from the chosen ratio
|
|
62
|
+
- Fluid type clamp() formulas per level
|
|
63
|
+
- Font weight mapping (heading weight, body weight, accent weight)
|
|
64
|
+
- Line height per level (tighter for display, looser for body)
|
|
65
|
+
- Letter spacing per level (negative for display, positive for overlines)
|
|
66
|
+
- Google Fonts import URL or font loading strategy
|
|
67
|
+
- Vertical rhythm based on base line-height
|
|
68
|
+
|
|
69
|
+
Overwrite `typography.md` with enriched version. Preserve the creative rationale.
|
|
70
|
+
|
|
71
|
+
## Step 2: Interactive mode (no args)
|
|
72
|
+
|
|
73
|
+
One `AskUserQuestion` at a time:
|
|
74
|
+
|
|
75
|
+
1. Starting point — use `AskUserQuestion`:
|
|
76
|
+
- **I have fonts chosen** — "I know my typefaces"
|
|
77
|
+
- **From a style preset** — "Start from a GSP preset type system"
|
|
78
|
+
- **Explore pairings** — "Help me find the right fonts"
|
|
79
|
+
2. If exploring: ask about voice (authoritative/friendly/technical/editorial), format (long-form/dashboard/marketing)
|
|
80
|
+
3. Propose primary + secondary (or mono) pairing with rationale
|
|
81
|
+
4. Scale ratio — use `AskUserQuestion`:
|
|
82
|
+
- **1.2 Minor Third** — "subtle, compact, dashboards"
|
|
83
|
+
- **1.25 Major Third** — "balanced, versatile, most projects"
|
|
84
|
+
- **1.333 Perfect Fourth** — "pronounced hierarchy, editorial"
|
|
85
|
+
- **1.5 Perfect Fifth** — "dramatic, poster-like"
|
|
86
|
+
- **Custom** — "specify your own ratio"
|
|
87
|
+
|
|
88
|
+
## Step 3: Generate type system
|
|
89
|
+
|
|
90
|
+
Calculate 9-level scale from base size (default 16px) and ratio:
|
|
91
|
+
- Display, H1, H2, H3, Body Large, Body (base), Body Small, Caption, Overline
|
|
92
|
+
|
|
93
|
+
For each level define:
|
|
94
|
+
- Size (px and rem)
|
|
95
|
+
- Fluid clamp() formula: `clamp({min}rem, {preferred}vw, {max}rem)`
|
|
96
|
+
- Weight
|
|
97
|
+
- Line height
|
|
98
|
+
- Letter spacing
|
|
99
|
+
- Use case
|
|
100
|
+
|
|
101
|
+
## Step 4: Write output
|
|
102
|
+
|
|
103
|
+
Write `typography.md` to the resolved output path. Target: 80-120 lines.
|
|
104
|
+
|
|
105
|
+
## Step 5: Completion
|
|
106
|
+
|
|
107
|
+
Display scale preview table. Offer next steps.
|
|
108
|
+
</process>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: update
|
|
2
|
+
name: gsp-update
|
|
3
3
|
description: Update GSP to the latest version
|
|
4
4
|
user-invocable: true
|
|
5
5
|
model: sonnet
|
|
@@ -80,7 +80,6 @@ If the fetch succeeds, extract and display the section(s) between the installed
|
|
|
80
80
|
```
|
|
81
81
|
The update replaces:
|
|
82
82
|
• skills/gsp-* (all GSP skills + sibling files)
|
|
83
|
-
• prompts/ (agent system prompts)
|
|
84
83
|
• templates/ (config, state, brief templates)
|
|
85
84
|
• references/ (shared reference material)
|
|
86
85
|
• agents/gsp-* (all GSP agents)
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsp-video
|
|
3
|
+
description: Define video & motion graphics direction — editing style, pacing, transitions, brand motion language
|
|
4
|
+
user-invocable: true
|
|
5
|
+
model: sonnet
|
|
6
|
+
allowed-tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Write
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
- Glob
|
|
11
|
+
- Grep
|
|
12
|
+
- WebSearch
|
|
13
|
+
---
|
|
14
|
+
<context>
|
|
15
|
+
You are a GSP video director. You define the brand's video and motion graphics language — editing style, pacing, transitions, title cards, and how movement expresses brand personality.
|
|
16
|
+
|
|
17
|
+
This is a standalone composable skill. It works two ways:
|
|
18
|
+
1. **Standalone** — user runs `/gsp-video` directly for video direction
|
|
19
|
+
2. **As a building block** — invoked during identity or project phases when the brand needs video content direction
|
|
20
|
+
|
|
21
|
+
Video is increasingly essential — product demos, hero backgrounds, social content, onboarding flows. A consistent video language prevents every piece from feeling like a different brand.
|
|
22
|
+
</context>
|
|
23
|
+
|
|
24
|
+
<objective>
|
|
25
|
+
Define video and motion graphics direction for a brand or project.
|
|
26
|
+
|
|
27
|
+
**Input:** Brand context or user description, OR `--enrich` mode
|
|
28
|
+
**Output:** `video-direction.md` chunk with editing style, pacing, transitions, and motion graphics specs
|
|
29
|
+
**Agent:** None — inline skill with structured questioning
|
|
30
|
+
</objective>
|
|
31
|
+
|
|
32
|
+
<execution_context>
|
|
33
|
+
@${CLAUDE_SKILL_DIR}/../../references/chunk-format.md
|
|
34
|
+
</execution_context>
|
|
35
|
+
|
|
36
|
+
<rules>
|
|
37
|
+
- Always use `AskUserQuestion` for user interaction — never prompt via plain text
|
|
38
|
+
- One decision per question — never batch multiple questions in a single message
|
|
39
|
+
- Video direction must align with brand intensity dials — a variance:2 brand gets calm, steady video; variance:8 gets dynamic cuts
|
|
40
|
+
- Motion graphics must use the brand's color palette and typography
|
|
41
|
+
- Specify concrete parameters (duration ranges, easing curves, fps) not vague adjectives
|
|
42
|
+
</rules>
|
|
43
|
+
|
|
44
|
+
<process>
|
|
45
|
+
## Step 0: Determine mode
|
|
46
|
+
|
|
47
|
+
| Input | Mode |
|
|
48
|
+
|-------|------|
|
|
49
|
+
| `/gsp-video --enrich` | Enrich existing video direction |
|
|
50
|
+
| `/gsp-video` | Interactive — define video language |
|
|
51
|
+
|
|
52
|
+
## Step 1: Enrich mode (`--enrich`)
|
|
53
|
+
|
|
54
|
+
Read existing brand context (`.yml` intensity dials, color palette, typography). Derive video direction that's coherent with the brand's visual language.
|
|
55
|
+
|
|
56
|
+
## Step 2: Interactive mode
|
|
57
|
+
|
|
58
|
+
One `AskUserQuestion` at a time:
|
|
59
|
+
|
|
60
|
+
1. Video use case — use `AskUserQuestion`:
|
|
61
|
+
- **Product demos** — "screen recordings, feature walkthroughs"
|
|
62
|
+
- **Hero backgrounds** — "ambient loops, atmospheric"
|
|
63
|
+
- **Social content** — "short-form, attention-grabbing"
|
|
64
|
+
- **Onboarding** — "tutorial, educational"
|
|
65
|
+
- **Brand film** — "narrative, emotional"
|
|
66
|
+
- **Multiple** — "we need several types"
|
|
67
|
+
2. Editing energy — use `AskUserQuestion`:
|
|
68
|
+
- **Calm & deliberate** — "long takes, slow reveals, breathing room"
|
|
69
|
+
- **Rhythmic & paced** — "steady cuts on beat, consistent tempo"
|
|
70
|
+
- **Dynamic & energetic** — "fast cuts, match cuts, high energy"
|
|
71
|
+
- **Cinematic & dramatic** — "slow motion, depth of field, orchestrated"
|
|
72
|
+
|
|
73
|
+
## Step 3: Define video direction
|
|
74
|
+
|
|
75
|
+
### Editing Style
|
|
76
|
+
- **Pacing:** cut frequency (e.g., "3-5 second holds, cut on action")
|
|
77
|
+
- **Transitions:** preferred transitions (cut, dissolve, wipe, morph, none)
|
|
78
|
+
- **Camera movement:** static, slow pan, tracking, handheld
|
|
79
|
+
- **Color grading:** warm/cool/neutral, contrast level, LUT direction
|
|
80
|
+
|
|
81
|
+
### Motion Graphics
|
|
82
|
+
- **Typography animation:** how text enters/exits (fade, slide, type-on, scale)
|
|
83
|
+
- **Timing:** duration ranges per element type (titles: 1-2s, lower thirds: 3-5s)
|
|
84
|
+
- **Easing:** animation curves that match brand motion (ease-out for calm, spring for playful)
|
|
85
|
+
- **Color:** motion graphics use brand palette — specify which colors for backgrounds, text, accents
|
|
86
|
+
- **Style:** flat/dimensional, geometric/organic, minimal/rich
|
|
87
|
+
|
|
88
|
+
### Title Cards & Lower Thirds
|
|
89
|
+
- **Layout:** positioning, safe zones
|
|
90
|
+
- **Typography:** brand typeface at which weight/size
|
|
91
|
+
- **Background treatment:** solid, semi-transparent, none
|
|
92
|
+
- **Animation:** enter/hold/exit with timing
|
|
93
|
+
|
|
94
|
+
### Brand Motion Principles
|
|
95
|
+
- 3-5 principles (e.g., "Movement always has purpose", "Transitions serve the narrative, not decoration")
|
|
96
|
+
- **Anti-patterns:** what to avoid (e.g., "no star wipes", "no text on busy backgrounds without contrast overlay")
|
|
97
|
+
|
|
98
|
+
## Step 4: Write output + completion
|
|
99
|
+
|
|
100
|
+
Write `video-direction.md` chunk. Target: 80-120 lines.
|
|
101
|
+
</process>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
## Phase 0: Audit (optional)
|
|
9
9
|
**Status:** skipped
|
|
10
|
-
**Command:** `/gsp
|
|
10
|
+
**Command:** `/gsp-brand-audit`
|
|
11
11
|
**Input:** Existing brand assets + BRIEF.md
|
|
12
12
|
**Output:** `audit/`
|
|
13
13
|
**Goal:** Audit existing brand. Assess coherence, market fit, equity. Produce evolution map.
|
|
@@ -15,28 +15,28 @@
|
|
|
15
15
|
|
|
16
16
|
## Phase 1: Research
|
|
17
17
|
**Status:** pending
|
|
18
|
-
**Command:** `/gsp
|
|
18
|
+
**Command:** `/gsp-brand-research`
|
|
19
19
|
**Input:** BRIEF.md
|
|
20
20
|
**Output:** `discover/`
|
|
21
21
|
**Goal:** Research market landscape, competitive positioning, design trends.
|
|
22
22
|
|
|
23
23
|
## Phase 2: Strategy
|
|
24
24
|
**Status:** pending
|
|
25
|
-
**Command:** `/gsp
|
|
25
|
+
**Command:** `/gsp-brand-strategy`
|
|
26
26
|
**Input:** BRIEF.md + discover/
|
|
27
27
|
**Output:** `strategy/`
|
|
28
28
|
**Goal:** Define positioning, archetype, platform, voice, and messaging.
|
|
29
29
|
|
|
30
30
|
## Phase 3: Identity
|
|
31
31
|
**Status:** pending
|
|
32
|
-
**Command:** `/gsp
|
|
32
|
+
**Command:** `/gsp-brand-identity`
|
|
33
33
|
**Input:** BRIEF.md + strategy/
|
|
34
34
|
**Output:** `identity/` + `palettes.json`
|
|
35
35
|
**Goal:** Create visual identity — logo, color, typography, imagery.
|
|
36
36
|
|
|
37
|
-
## Phase 4:
|
|
37
|
+
## Phase 4: Guidelines (Operationalize)
|
|
38
38
|
**Status:** pending
|
|
39
|
-
**Command:** `/gsp
|
|
40
|
-
**Input:** Identity + Strategy + BRIEF.md
|
|
41
|
-
**Output:** `patterns/` (
|
|
42
|
-
**Goal:**
|
|
39
|
+
**Command:** `/gsp-brand-guidelines`
|
|
40
|
+
**Input:** Identity (enriched) + Strategy + BRIEF.md
|
|
41
|
+
**Output:** `patterns/` ({brand-name}.yml, STYLE.md, guidelines.html, components/)
|
|
42
|
+
**Goal:** Operationalize brand identity for projects — assemble tokens, render STYLE.md, map components, generate guidelines.
|
|
@@ -23,7 +23,7 @@ This file is the entry point for coding agents consuming GSP design output.
|
|
|
23
23
|
<!-- BEGIN:system -->
|
|
24
24
|
| Section | Chunk | Lines |
|
|
25
25
|
|---------|-------|-------|
|
|
26
|
-
| _(populated by /gsp
|
|
26
|
+
| _(populated by /gsp-brand-system — lives in brand directory)_ | | |
|
|
27
27
|
|
|
28
28
|
### Foundations
|
|
29
29
|
|
|
@@ -43,7 +43,7 @@ This file is the entry point for coding agents consuming GSP design output.
|
|
|
43
43
|
<!-- BEGIN:brief -->
|
|
44
44
|
| Section | File |
|
|
45
45
|
|---------|------|
|
|
46
|
-
| _(populated by /gsp
|
|
46
|
+
| _(populated by /gsp-project-brief)_ | |
|
|
47
47
|
<!-- END:brief -->
|
|
48
48
|
|
|
49
49
|
## Project Research
|
|
@@ -51,7 +51,7 @@ This file is the entry point for coding agents consuming GSP design output.
|
|
|
51
51
|
<!-- BEGIN:research -->
|
|
52
52
|
| Section | File |
|
|
53
53
|
|---------|------|
|
|
54
|
-
| _(populated by /gsp
|
|
54
|
+
| _(populated by /gsp-project-research)_ | |
|
|
55
55
|
<!-- END:research -->
|
|
56
56
|
|
|
57
57
|
## Design
|
|
@@ -59,7 +59,7 @@ This file is the entry point for coding agents consuming GSP design output.
|
|
|
59
59
|
<!-- BEGIN:design -->
|
|
60
60
|
| # | Screen | File | Components Used |
|
|
61
61
|
|---|--------|------|-----------------|
|
|
62
|
-
| _(populated by /gsp
|
|
62
|
+
| _(populated by /gsp-project-design)_ | | | |
|
|
63
63
|
|
|
64
64
|
### Shared
|
|
65
65
|
|
|
@@ -73,7 +73,7 @@ This file is the entry point for coding agents consuming GSP design output.
|
|
|
73
73
|
<!-- BEGIN:critique -->
|
|
74
74
|
| Section | File |
|
|
75
75
|
|---------|------|
|
|
76
|
-
| _(populated by /gsp
|
|
76
|
+
| _(populated by /gsp-project-critique)_ | |
|
|
77
77
|
<!-- END:critique -->
|
|
78
78
|
|
|
79
79
|
## Build
|
|
@@ -81,7 +81,7 @@ This file is the entry point for coding agents consuming GSP design output.
|
|
|
81
81
|
<!-- BEGIN:build -->
|
|
82
82
|
| Section | File |
|
|
83
83
|
|---------|------|
|
|
84
|
-
| _(populated by /gsp
|
|
84
|
+
| _(populated by /gsp-project-build)_ | |
|
|
85
85
|
<!-- END:build -->
|
|
86
86
|
|
|
87
87
|
## QA Review
|
|
@@ -89,7 +89,7 @@ This file is the entry point for coding agents consuming GSP design output.
|
|
|
89
89
|
<!-- BEGIN:review -->
|
|
90
90
|
| Section | File |
|
|
91
91
|
|---------|------|
|
|
92
|
-
| _(populated by /gsp
|
|
92
|
+
| _(populated by /gsp-project-review)_ | |
|
|
93
93
|
<!-- END:review -->
|
|
94
94
|
|
|
95
95
|
## Launch Campaign (Optional)
|
|
@@ -97,5 +97,5 @@ This file is the entry point for coding agents consuming GSP design output.
|
|
|
97
97
|
<!-- BEGIN:launch -->
|
|
98
98
|
| Section | File |
|
|
99
99
|
|---------|------|
|
|
100
|
-
| _(populated by /gsp
|
|
100
|
+
| _(populated by /gsp-launch — optional)_ | |
|
|
101
101
|
<!-- END:launch -->
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
The build phase runs as a 4-phase pipeline:
|
|
8
8
|
|
|
9
9
|
### Phase 1: Scaffold
|
|
10
|
-
Stack setup via `/gsp
|
|
10
|
+
Stack setup via `/gsp-scaffold` — install deps, create configs, verify build compiles. Produces `build/SCAFFOLD-LOG.md`.
|
|
11
11
|
|
|
12
12
|
### Phase 2: Foundations
|
|
13
13
|
Token integration, global styles, layout primitives. Agent mode: `foundations`. Checkpoint: build must compile after foundations.
|
|
@@ -33,7 +33,7 @@ Naming: `screen-{NN}-{kebab-case-name}.md` (e.g., `screen-01-home.md`, `screen-0
|
|
|
33
33
|
Self-contained HTML wireframe preview:
|
|
34
34
|
- One section per screen with box-model layout visualization
|
|
35
35
|
- Navigation between screens via sidebar table of contents
|
|
36
|
-
- Brand color accents from
|
|
36
|
+
- Brand color accents from the brand `.yml` preset (or neutral grays)
|
|
37
37
|
- Responsive, no external dependencies
|
|
38
38
|
|
|
39
39
|
## Content Reference
|
|
@@ -1,98 +1,91 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Brand Guidelines
|
|
2
2
|
|
|
3
3
|
## Brand: {BRAND_NAME}
|
|
4
4
|
**Date:** {DATE}
|
|
5
5
|
|
|
6
|
-
> Created once per brand.
|
|
6
|
+
> Operational artifacts that transform brand identity into project-ready outputs. Created once per brand. Consumed by designer and builder agents.
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
> This phase produces
|
|
10
|
+
> This phase produces `{brand-name}.yml`, `STYLE.md`, `guidelines.html`, component mapping, and `INDEX.md` in the `patterns/` directory.
|
|
11
11
|
|
|
12
12
|
## Inputs
|
|
13
|
-
- identity/color-system.md →
|
|
14
|
-
- identity/palettes.json → token generation
|
|
15
|
-
- identity/typography.md →
|
|
16
|
-
- identity/logo-directions.md →
|
|
17
|
-
-
|
|
18
|
-
- strategy/
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
|
28
|
-
|
|
29
|
-
| `
|
|
30
|
-
| `
|
|
31
|
-
| `
|
|
32
|
-
| `foundations/border-radius.md` | Token scale (none, sm, md, lg, xl, full) |
|
|
13
|
+
- identity/color-system.md → token color values
|
|
14
|
+
- identity/palettes.json → OKLCH scales for token generation
|
|
15
|
+
- identity/typography.md → font families, scale direction
|
|
16
|
+
- identity/logo-directions.md → logo context for brand guide
|
|
17
|
+
- identity/imagery-style.md → imagery direction for brand guide
|
|
18
|
+
- strategy/archetype.md + strategy/positioning.md → intensity derivation, philosophy
|
|
19
|
+
- strategy/voice-and-tone.md → voice context for brand guide
|
|
20
|
+
- config.json system_config — tech_stack, system_strategy, style_base
|
|
21
|
+
- style_base preset `.yml` + `.md` — structural scaffold + philosophy/implementation content
|
|
22
|
+
|
|
23
|
+
## Output Mapping
|
|
24
|
+
|
|
25
|
+
### Core Files
|
|
26
|
+
|
|
27
|
+
| File | Content |
|
|
28
|
+
|------|---------|
|
|
29
|
+
| `{brand-name}.yml` | **Single source of truth.** The brand's aesthetic in GSP preset format: tokens + intensity + patterns + constraints + effects + dark_mode. Inherits from `style_base` preset, overrides brand-specific values. The builder generates CSS variables from this at build time using `references/token-mapping.md`. |
|
|
30
|
+
| `STYLE.md` | **Agent contract.** The single document designer and builder agents consume. Rendered from the `.yml` + brand philosophy (from strategy) + bold bets (from identity's most distinctive choices) + implementation patterns (from preset `.md` companion). Follows `templates/phases/style.md` format. |
|
|
31
|
+
| `guidelines.html` | **User-visible brand guide.** Self-contained HTML with embedded CSS. Shows the brand using its own tokens: color swatches, type scale in actual fonts, component previews, spacing/elevation vis, constraints. Open in browser. |
|
|
33
32
|
|
|
34
33
|
### Components (`patterns/components/`)
|
|
35
34
|
|
|
36
35
|
Component output is library-aware:
|
|
37
36
|
|
|
38
|
-
1. **`token-mapping.md`** (always) — brand tokens → component library theming API. Complete, copy-paste-ready config.
|
|
37
|
+
1. **`token-mapping.md`** (always) — brand tokens → component library theming API. Complete, copy-paste-ready config. See `references/token-mapping.md` for the CSS generation spec.
|
|
39
38
|
2. **Override specs** (selective) — one file per library component needing treatment beyond tokens. Singular kebab-case naming.
|
|
40
39
|
3. **Custom component specs** (selective) — one file per brand-distinctive component with no library equivalent. Includes: states, anatomy, usage rules, accessibility spec, code hints.
|
|
41
40
|
|
|
42
41
|
If no UI library is detected, write up to 15 core component specs.
|
|
43
42
|
|
|
44
|
-
### Other Files
|
|
45
|
-
|
|
46
|
-
| File | Content |
|
|
47
|
-
|-----------|---------|
|
|
48
|
-
| `principles.md` | 3-5 design principles + do's and don'ts |
|
|
49
|
-
| `tokens.json` | Complete W3C Design Tokens format (color, typography, spacing, shadow, border-radius, breakpoints) |
|
|
50
|
-
| `{brand-name}.yml` | Custom style preset — the brand's aesthetic in the same YAML format as GSP's 34 style presets. Portable and reusable. |
|
|
51
|
-
| `{brand-name}.md` | Custom style prompt — AI-ready prompt that reproduces this brand's aesthetic, same format as designprompts.dev. |
|
|
52
|
-
|
|
53
43
|
## Content Reference
|
|
54
44
|
|
|
55
|
-
Each chunk follows the format in `references/chunk-format.md`.
|
|
56
|
-
|
|
57
|
-
###
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
45
|
+
Each chunk follows the format in `references/chunk-format.md`.
|
|
46
|
+
|
|
47
|
+
### {brand-name}.yml
|
|
48
|
+
|
|
49
|
+
Full preset schema:
|
|
50
|
+
- `tokens:` — color (primary, secondary, accent, semantic), typography (families, weights, sizes), shape (radius, border), elevation (shadows), spacing (base + scale), motion (durations, easing)
|
|
51
|
+
- `dark_mode:` — color overrides for dark theme
|
|
52
|
+
- `intensity:` — variance (1-10), motion (1-10), density (1-10)
|
|
53
|
+
- `patterns:` — 7 component composition rules (card, button-primary, button-secondary, input, badge, nav, layout)
|
|
54
|
+
- `constraints:` — never[] and always[] lists
|
|
55
|
+
- `effects:` — interaction-vocabulary[], hover/active/focus/transition tables, ambient (optional)
|
|
56
|
+
|
|
57
|
+
### STYLE.md
|
|
58
|
+
|
|
59
|
+
Sections (from `templates/phases/style.md`):
|
|
60
|
+
- **Intensity** — dial values with meaning
|
|
61
|
+
- **Philosophy** — emotional DNA from strategy + preset `.md` companion
|
|
62
|
+
- **Patterns** — component composition tables
|
|
63
|
+
- **Constraints** — never/always bullet lists
|
|
64
|
+
- **Effects** — interaction vocabulary + state tables
|
|
65
|
+
- **Bold Bets** — 3-5 distinctive techniques from identity's boldest choices
|
|
66
|
+
- **Implementation** — component code hints, textures & surfaces, typography treatments, animation recipes (from preset `.md` companion)
|
|
67
|
+
|
|
68
|
+
### guidelines.html
|
|
69
|
+
|
|
70
|
+
Self-contained HTML with:
|
|
71
|
+
- Embedded Google Fonts for chosen typefaces
|
|
72
|
+
- Page styled with brand colors
|
|
73
|
+
- Color palette swatches (full 50→900 ramps)
|
|
74
|
+
- Typography samples at defined type scale
|
|
75
|
+
- Component previews (card, button, input, badge) styled with brand tokens
|
|
76
|
+
- Spacing/elevation visualizations
|
|
77
|
+
- Constraint summary
|
|
78
|
+
- Voice attributes and archetype (from strategy)
|
|
86
79
|
|
|
87
80
|
### components/token-mapping.md
|
|
88
81
|
- Library-specific token config (CSS vars, theme object, etc.)
|
|
89
|
-
- Maps every
|
|
82
|
+
- Maps every token from `.yml` to the library's theming API
|
|
90
83
|
- Copy-paste-ready — no interpretation needed
|
|
91
84
|
|
|
92
85
|
### Override component chunks
|
|
93
86
|
- What to override and why (traces to brand identity)
|
|
94
87
|
- Code hints for the specific library
|
|
95
|
-
- Cross-references to
|
|
88
|
+
- Cross-references to `.yml` tokens
|
|
96
89
|
|
|
97
90
|
### Custom component chunks
|
|
98
91
|
- States: default, hover, active, disabled, focus, loading
|
|
@@ -100,8 +93,4 @@ Each chunk follows the format in `references/chunk-format.md`. Below is the stru
|
|
|
100
93
|
- Usage rules
|
|
101
94
|
- Accessibility spec
|
|
102
95
|
- Code hints
|
|
103
|
-
- Cross-references to
|
|
104
|
-
|
|
105
|
-
### principles.md
|
|
106
|
-
- 3-5 design principles with rationale
|
|
107
|
-
- Do's and Don'ts table
|
|
96
|
+
- Cross-references to `.yml` tokens
|