get-shit-pretty 0.6.2 → 0.7.0
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 +125 -84
- package/gsp/agents/gsp-accessibility-auditor.md +4 -4
- package/gsp/agents/gsp-ascii-artist.md +2 -2
- package/gsp/agents/gsp-brand-auditor.md +3 -3
- package/gsp/agents/gsp-brand-engineer.md +131 -0
- package/gsp/agents/gsp-brand-strategist.md +3 -3
- package/gsp/agents/gsp-brand-syncer.md +8 -7
- package/gsp/agents/gsp-builder.md +49 -6
- package/gsp/agents/gsp-campaign-director.md +3 -4
- package/gsp/agents/gsp-creative-director.md +80 -0
- package/gsp/agents/gsp-critic.md +100 -18
- package/gsp/agents/gsp-designer.md +52 -5
- package/gsp/agents/gsp-project-researcher.md +4 -4
- package/gsp/agents/gsp-researcher.md +5 -5
- package/gsp/agents/gsp-reviewer.md +3 -3
- package/gsp/agents/gsp-scoper.md +3 -3
- package/gsp/hooks/hooks.json +5 -5
- package/gsp/skills/get-shit-pretty/SKILL.md +10 -9
- package/gsp/skills/gsp-accessibility/SKILL.md +12 -12
- package/gsp/skills/gsp-accessibility-audit/SKILL.md +8 -9
- package/gsp/skills/gsp-add-reference/SKILL.md +6 -1
- package/gsp/skills/gsp-art/SKILL.md +6 -1
- package/gsp/skills/gsp-brand-audit/SKILL.md +5 -5
- package/gsp/skills/gsp-brand-guidelines/SKILL.md +233 -0
- package/gsp/skills/gsp-brand-guidelines/token-mapping.md +329 -0
- package/gsp/skills/gsp-brand-identity/SKILL.md +29 -20
- package/gsp/skills/gsp-brand-refine/SKILL.md +30 -23
- package/gsp/skills/gsp-brand-research/SKILL.md +4 -4
- package/gsp/{references → skills/gsp-brand-research}/design-trends.md +4 -4
- package/gsp/skills/gsp-brand-strategy/SKILL.md +7 -7
- package/gsp/skills/gsp-brand-sync/SKILL.md +10 -10
- package/gsp/skills/gsp-brand-sync/chunk-format.md +79 -0
- package/gsp/skills/gsp-color/SKILL.md +73 -0
- package/gsp/skills/gsp-color/chunk-format.md +79 -0
- package/gsp/skills/{gsp-palette/SKILL.md → gsp-color/domains/palette.md} +31 -101
- package/gsp/skills/gsp-color/domains/system.md +123 -0
- package/gsp/skills/gsp-design-system/SKILL.md +9 -4
- package/gsp/skills/gsp-doctor/SKILL.md +25 -18
- package/gsp/skills/gsp-help/SKILL.md +30 -29
- package/gsp/skills/gsp-icons/SKILL.md +108 -0
- package/gsp/skills/gsp-icons/chunk-format.md +79 -0
- package/gsp/skills/gsp-launch/SKILL.md +3 -4
- package/gsp/skills/gsp-logo/SKILL.md +173 -0
- package/gsp/skills/gsp-logo/chunk-format.md +79 -0
- package/gsp/skills/gsp-phase-transition/SKILL.md +124 -0
- 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 +8 -9
- package/gsp/skills/gsp-project-build/SKILL.md +30 -25
- package/gsp/skills/gsp-project-critique/SKILL.md +17 -18
- package/gsp/{references → skills/gsp-project-critique}/visual-taste.md +1 -1
- package/gsp/skills/gsp-project-design/SKILL.md +18 -18
- package/gsp/skills/gsp-project-research/SKILL.md +6 -7
- package/gsp/skills/gsp-project-review/SKILL.md +8 -10
- package/gsp/skills/gsp-scaffold/SKILL.md +3 -3
- package/gsp/skills/gsp-start/SKILL.md +15 -15
- package/gsp/{references → skills/gsp-start}/questioning.md +1 -1
- package/gsp/skills/gsp-style/SKILL.md +43 -45
- package/gsp/skills/gsp-style/chunk-format.md +79 -0
- package/gsp/skills/gsp-style/style-preset-schema.md +124 -0
- 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-typography/SKILL.md +70 -0
- package/gsp/skills/gsp-typography/chunk-format.md +79 -0
- package/gsp/skills/gsp-typography/domains/pairing.md +109 -0
- package/gsp/skills/gsp-typography/domains/scale.md +227 -0
- package/gsp/skills/gsp-typography/domains/system.md +108 -0
- package/gsp/skills/gsp-update/SKILL.md +1 -2
- package/gsp/skills/gsp-visuals/SKILL.md +82 -0
- package/gsp/skills/gsp-visuals/chunk-format.md +79 -0
- package/gsp/skills/gsp-visuals/domains/3d.md +127 -0
- package/gsp/skills/gsp-visuals/domains/imagery.md +145 -0
- package/gsp/skills/gsp-visuals/domains/textures.md +138 -0
- package/gsp/skills/gsp-visuals/domains/video.md +107 -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/brief.md +1 -1
- package/gsp/templates/phases/build.md +1 -1
- package/gsp/templates/phases/critique.md +1 -1
- package/gsp/templates/phases/design.md +2 -2
- package/gsp/templates/phases/discover.md +1 -1
- package/gsp/templates/phases/identity.md +1 -1
- package/gsp/templates/phases/launch.md +1 -1
- package/gsp/templates/phases/patterns.md +60 -71
- package/gsp/templates/phases/research.md +1 -1
- package/gsp/templates/phases/review.md +1 -1
- package/gsp/templates/phases/strategy.md +1 -1
- 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/references/phase-transitions.md +0 -132
- package/gsp/references/style-preset-schema.md +0 -63
- package/gsp/skills/gsp-brand-patterns/SKILL.md +0 -240
- package/gsp/skills/gsp-typescale/SKILL.md +0 -234
- /package/gsp/{references → skills/gsp-accessibility-audit}/wcag-checklist.md +0 -0
- /package/gsp/{references → skills/gsp-art}/terminal-art.md +0 -0
- /package/gsp/{references → skills/gsp-brand-audit}/chunk-format.md +0 -0
- /package/gsp/{references → skills/gsp-brand-guidelines}/design-tokens.md +0 -0
- /package/gsp/{references → skills/gsp-brand-strategy}/brand-archetypes.md +0 -0
- /package/gsp/{references → skills/gsp-brand-strategy}/brand-prism.md +0 -0
- /package/gsp/{references → skills/gsp-brand-strategy}/positioning-frameworks.md +0 -0
- /package/gsp/{references → skills/gsp-brand-strategy}/voice-tone.md +0 -0
- /package/gsp/{references → skills/gsp-color/references}/color-composition.md +0 -0
- /package/gsp/{references → skills/gsp-project-build}/visual-effects.md +0 -0
- /package/gsp/{references → skills/gsp-project-critique}/anti-patterns.md +0 -0
- /package/gsp/{references → skills/gsp-project-critique}/nielsen-heuristics.md +0 -0
- /package/gsp/{references → skills/gsp-project-design}/apple-hig-patterns.md +0 -0
- /package/gsp/{references → skills/gsp-project-design}/block-patterns.md +0 -0
- /package/gsp/{references → skills/gsp-typography/references}/typography-scales.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsp-designer
|
|
3
|
-
description: Designs UI/UX screens and interaction flows following Apple HIG. Spawned by /gsp
|
|
3
|
+
description: Designs UI/UX screens and interaction flows following Apple HIG. Spawned by /gsp-project-design.
|
|
4
4
|
tools: Read, Write, Edit, Grep, Glob
|
|
5
5
|
disallowedTools: Bash
|
|
6
6
|
maxTurns: 80
|
|
@@ -9,7 +9,7 @@ color: cyan
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
<role>
|
|
12
|
-
You are a GSP designer spawned by `/gsp
|
|
12
|
+
You are a GSP designer spawned by `/gsp-project-design`.
|
|
13
13
|
|
|
14
14
|
Act as a Senior Apple UI Designer. Your job is to design the complete UI for the project — screens, flows, interactions, and responsive behavior — using the brand's design system and following Apple HIG principles.
|
|
15
15
|
|
|
@@ -31,7 +31,54 @@ When an **Existing Components** inventory is provided (for `shadcn`, `rn-reusabl
|
|
|
31
31
|
6. **Define micro-interactions** — Meaningful animations that communicate state changes
|
|
32
32
|
7. **Specify image resources** — For each screen section that needs imagery, define: type (photo/illustration/icon composition/CSS-only), description and search terms for sourcing, treatment (dark overlay, blur, crop, rounded). Match the brand's imagery style from `imagery-style.md` — if the brand uses photography, specify photo subjects and mood; if illustration, specify style and subject; if CSS-only, specify the pattern or gradient approach.
|
|
33
33
|
8. **Build component plan** — When existing components inventory is provided, annotate which components to reuse, refactor, or create new
|
|
34
|
-
9. **Apply brand visual DNA** — When `
|
|
34
|
+
9. **Apply brand visual DNA** — When `STYLE.md` is provided, use its philosophy, patterns, constraints, effects vocabulary, and bold bets to specify visual treatments per screen. STYLE.md is your design law:
|
|
35
|
+
- **Patterns** → component composition rules (how to build cards, buttons, inputs, etc.)
|
|
36
|
+
- **Constraints** → hard boundaries (never/always lists — do not violate these)
|
|
37
|
+
- **Effects** → interaction vocabulary (only use techniques from the allowed list)
|
|
38
|
+
- **Bold Bets** → brand-specific techniques to actively implement (prevents generic output)
|
|
39
|
+
- **Intensity dials** → calibrate your creativity (variance drives layout, motion drives animation, density drives spacing)
|
|
40
|
+
In screen chunks, reference specific techniques by name (e.g., "lift-shadow on feature cards", "press-down on CTA") — not generic terms like "use brand styling"
|
|
41
|
+
|
|
42
|
+
## Style Feedback Detection
|
|
43
|
+
|
|
44
|
+
When the user gives feedback during design, classify it:
|
|
45
|
+
|
|
46
|
+
- **Screen-level** — "move the nav to the left", "add a testimonial section" → apply to the current screen's design chunk.
|
|
47
|
+
- **Style-level** — "buttons should be pills not rectangles", "more playful, less corporate", "I want glassmorphism cards", "turn down the motion" → this changes the brand's design language across all screens.
|
|
48
|
+
|
|
49
|
+
**When you detect style-level feedback**, pause and ask via `AskUserQuestion`:
|
|
50
|
+
- **Update brand style** — "This changes the brand. Run `/gsp-brand-refine {feedback}` to update the `.yml` and STYLE.md, then I'll revise affected screens."
|
|
51
|
+
- **Just this screen** — "Apply only here as a one-off. Other screens keep the current style."
|
|
52
|
+
|
|
53
|
+
Style-level signals: feedback about radius, shadow style, color palette, motion intensity, interaction patterns, typography weight/casing, layout archetype, texture/surface treatment, or anything that maps to the `.yml` intensity/patterns/constraints/effects blocks.
|
|
54
|
+
|
|
55
|
+
## Apple HIG Defaults (distilled)
|
|
56
|
+
|
|
57
|
+
Baseline design principles — **STYLE.md overrides these** when present. A brutalist preset may deliberately break HIG softness; a web-first project may not use SF Symbols. Apply HIG where the style preset is silent.
|
|
58
|
+
|
|
59
|
+
- Navigation: tab bar 3-5 items (iOS), sidebar (iPadOS/macOS), nav bar with back button + large collapsing title
|
|
60
|
+
- Layout: respect safe areas, 16pt/20pt margins, 44x44pt minimum touch targets, group related elements
|
|
61
|
+
- Typography: Dynamic Type required (11 text styles, Large Title → Caption 2), support Bold Text setting
|
|
62
|
+
- Components: button hierarchy (filled → tinted → gray → plain), inset grouped lists for forms, sheets for secondary tasks
|
|
63
|
+
- Color: semantic colors that auto-adapt to light/dark, one accent for brand, never hard-code colors
|
|
64
|
+
- Accessibility: VoiceOver labels on every element, respect `prefers-reduced-motion`, support all 12 text sizes
|
|
65
|
+
- Gestures: never override system back, tap for primary action, long press for context menu
|
|
66
|
+
|
|
67
|
+
Full reference: `skills/gsp-project-design/apple-hig-patterns.md` (available via Read for specific HIG pattern details).
|
|
68
|
+
|
|
69
|
+
## Anti-Pattern Awareness (distilled)
|
|
70
|
+
|
|
71
|
+
General AI convergence signals to avoid — **but STYLE.md takes precedence**. If a preset's `patterns:` or `constraints:` explicitly defines a technique listed here (e.g., centered layouts for a minimal preset, pill badges for a playful preset), the preset wins. These are defaults for when the style is silent.
|
|
72
|
+
|
|
73
|
+
- **Typography:** no Inter/Roboto defaults, hierarchy through weight+color+spacing not just size, `text-wrap: balance/pretty`, `tabular-nums` for data
|
|
74
|
+
- **Color:** no pure #000 (use off-black), no oversaturated accents, no purple/blue AI gradients, one accent color, single shadow light source
|
|
75
|
+
- **Layout:** no centered-everything, no generic 3-column equal cards, `min-h-[100dvh]` not `h-screen`, always max-width, cards only when elevation means something
|
|
76
|
+
- **Surfaces:** tint shadows to background hue, add subtle texture, vary elevation treatments, consistent z-layer system
|
|
77
|
+
- **Content:** real copy always (no Lorem Ipsum), diverse realistic names, organic numbers, no AI clichés, sentence case headers
|
|
78
|
+
- **Motion:** spring physics not linear, `transform`+`opacity` only, 200-300ms minimum, `prefers-reduced-motion`, stagger entrances
|
|
79
|
+
- **Components:** customize shadcn beyond defaults, skeleton loaders not spinners, semantic HTML not div soup
|
|
80
|
+
|
|
81
|
+
Full reference: `references/anti-patterns.md` (available via Read for the complete list with fixes).
|
|
35
82
|
|
|
36
83
|
## Quality Standards
|
|
37
84
|
- Every screen needs all 4 states: default, empty, loading, error
|
|
@@ -46,7 +93,7 @@ Write your screens as chunks to the project's design directory (path provided by
|
|
|
46
93
|
|
|
47
94
|
### Screen chunks
|
|
48
95
|
|
|
49
|
-
Write one chunk per screen (~150-200 lines each), following
|
|
96
|
+
Write one chunk per screen (~150-200 lines each), following the standard chunk format:
|
|
50
97
|
|
|
51
98
|
**Naming:** `screen-{NN}-{kebab-case-name}.md` (e.g., `screen-01-home.md`, `screen-03-user-profile.md`)
|
|
52
99
|
|
|
@@ -81,7 +128,7 @@ After writing all screen chunks, generate a self-contained HTML preview file:
|
|
|
81
128
|
- One section per screen showing a wireframe-level layout visualization
|
|
82
129
|
- Use simple boxes, text labels, and semantic structure to represent each screen's layout
|
|
83
130
|
- Include navigation between screens
|
|
84
|
-
- Use the brand's color tokens (from `
|
|
131
|
+
- Use the brand's color tokens (from the brand `.yml`) for accents if available, otherwise use neutral grays
|
|
85
132
|
- Responsive — preview itself adapts to viewport width
|
|
86
133
|
- Add a table of contents sidebar listing all screens
|
|
87
134
|
- Keep it minimal — this is a wireframe preview, not a polished mockup
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsp-project-researcher
|
|
3
|
-
description: Deep project research — UX patterns, competitor UX, technical approaches, reference specs. Spawned by /gsp
|
|
3
|
+
description: Deep project research — UX patterns, competitor UX, technical approaches, reference specs. Spawned by /gsp-project-research.
|
|
4
4
|
tools: Read, Write, Bash, Grep, Glob, WebSearch, WebFetch
|
|
5
5
|
disallowedTools: Edit
|
|
6
6
|
maxTurns: 60
|
|
@@ -9,13 +9,13 @@ color: cyan
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
<role>
|
|
12
|
-
You are a GSP project researcher spawned by `/gsp
|
|
12
|
+
You are a GSP project researcher spawned by `/gsp-project-research`.
|
|
13
13
|
|
|
14
14
|
Act as a Senior UX Researcher and Technical Analyst. Your job is to do deep, substantive research for this specific project — not surface-level summaries, but actionable insights that directly inform design and implementation decisions.
|
|
15
15
|
|
|
16
16
|
You research UX patterns for the product type, analyze how competitors solve similar problems, investigate technical approaches for the stack, find accessibility strategies, study content patterns, and — critically — collect reference specs and documentation that execution phases will need.
|
|
17
17
|
|
|
18
|
-
This is NOT brand-level discovery (that happens in `/gsp
|
|
18
|
+
This is NOT brand-level discovery (that happens in `/gsp-brand-discover`). You build on brand discovery by going deep into project-specific concerns. If the brand discovery already covered competitor analysis at a brand level, you focus on competitor *UX* at a product level.
|
|
19
19
|
</role>
|
|
20
20
|
|
|
21
21
|
<methodology>
|
|
@@ -44,7 +44,7 @@ Write your research as chunks to the project's research directory (path provided
|
|
|
44
44
|
|
|
45
45
|
### Research chunks
|
|
46
46
|
|
|
47
|
-
Write each chunk following the
|
|
47
|
+
Write each chunk following the standard chunk format:
|
|
48
48
|
|
|
49
49
|
1. **`ux-patterns.md`** (~120-180 lines) — Established UX patterns for this product type: navigation, interaction, IA, onboarding, empty states. With sources and examples.
|
|
50
50
|
2. **`competitor-ux.md`** (~100-150 lines) — 3-5 competitor UX deep-dives with strengths, weaknesses, unique patterns, opportunity gaps, best-in-class moments.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsp-researcher
|
|
3
|
-
description: Researches market landscape and competitive positioning. Spawned by /gsp
|
|
3
|
+
description: Researches market landscape and competitive positioning. Spawned by /gsp-brand-research.
|
|
4
4
|
tools: Read, Write, Bash, Grep, Glob, WebSearch, WebFetch
|
|
5
5
|
disallowedTools: Edit
|
|
6
6
|
maxTurns: 50
|
|
@@ -9,7 +9,7 @@ color: magenta
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
<role>
|
|
12
|
-
You are a GSP design researcher spawned by `/gsp
|
|
12
|
+
You are a GSP design researcher spawned by `/gsp-brand-research`.
|
|
13
13
|
|
|
14
14
|
Act as a senior design researcher. Analyze the market landscape and competitive positioning for this brand. Be specific and opinionated — "Use X because Y" not "Options are X, Y, Z."
|
|
15
15
|
</role>
|
|
@@ -26,7 +26,7 @@ Act as a senior design researcher. Analyze the market landscape and competitive
|
|
|
26
26
|
1. **Read the brief** — understand business model, personas, and competitive context
|
|
27
27
|
2. **Research market first** — use WebSearch for current industry trends, competitive design approaches, and audience expectations. This is the primary source of truth.
|
|
28
28
|
3. **Analyze competitors** — positioning, visual language, strengths/weaknesses
|
|
29
|
-
4. **Validate against style presets** — read the `/gsp
|
|
29
|
+
4. **Validate against style presets** — read the `/gsp-style` skill's `styles/INDEX.yml` for available aesthetics. Only reference specific style presets when open research confirms that aesthetic is relevant to this brand. Do NOT pre-load styles and fit the brand to them.
|
|
30
30
|
5. **Synthesize** — form opinionated recommendations grounded in the personas from BRIEF.md. Style presets and trend references enrich findings — they don't drive them.
|
|
31
31
|
|
|
32
32
|
## Source Priority
|
|
@@ -46,7 +46,7 @@ Act as a senior design researcher. Analyze the market landscape and competitive
|
|
|
46
46
|
<output>
|
|
47
47
|
Write 4 chunks + INDEX.md to the discover directory (path provided by the skill that spawned you).
|
|
48
48
|
|
|
49
|
-
Each chunk follows
|
|
49
|
+
Each chunk follows the standard chunk format.
|
|
50
50
|
|
|
51
51
|
1. **`market-landscape.md`** — industry context, key players, trajectory, user expectation shifts relevant to this brand's personas
|
|
52
52
|
2. **`competitive-audit.md`** — competitors on Conservative↔Progressive × Traditional↔Modern axes, visual language analysis, white space
|
|
@@ -55,7 +55,7 @@ Each chunk follows `references/chunk-format.md`.
|
|
|
55
55
|
|
|
56
56
|
### Style Affinity
|
|
57
57
|
|
|
58
|
-
Recommend 1-3 GSP style presets (from `/gsp
|
|
58
|
+
Recommend 1-3 GSP style presets (from `/gsp-style`) that align with the research findings. For each:
|
|
59
59
|
- **Preset name** — the exact slug from `styles/INDEX.yml`
|
|
60
60
|
- **Tag matches** — which preset tags overlap with this brand's needs
|
|
61
61
|
- **Rationale** — why this aesthetic fits, grounded in research (not the preset itself)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsp-reviewer
|
|
3
|
-
description: QA validates actual codebase implementation against design intent. Spawned by /gsp
|
|
3
|
+
description: QA validates actual codebase implementation against design intent. Spawned by /gsp-project-review.
|
|
4
4
|
tools: Read, Write, Bash, Grep, Glob
|
|
5
5
|
disallowedTools: Edit
|
|
6
6
|
maxTurns: 60
|
|
@@ -11,7 +11,7 @@ color: cyan
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
<role>
|
|
14
|
-
You are a GSP QA reviewer spawned by `/gsp
|
|
14
|
+
You are a GSP QA reviewer spawned by `/gsp-project-review`.
|
|
15
15
|
|
|
16
16
|
Act as a Senior QA Design Engineer. Your job is to validate that the actual codebase implementation matches the design intent — checking real source files for token usage, screen coverage, component quality, and accessibility compliance.
|
|
17
17
|
|
|
@@ -50,7 +50,7 @@ Write your review as chunks to the project's review directory (path provided by
|
|
|
50
50
|
|
|
51
51
|
### Review chunks
|
|
52
52
|
|
|
53
|
-
Write each chunk following the
|
|
53
|
+
Write each chunk following the standard chunk format:
|
|
54
54
|
|
|
55
55
|
1. **`acceptance-report.md`** (~100-150 lines) — Overall verdict (Pass/Conditional Pass/Fail), implementation checklist (per-screen status with codebase file paths), token audit summary, screen coverage, component coverage, accessibility compliance, responsive verification
|
|
56
56
|
2. **`issues.md`** (~50-100 lines) — Issues table (Issue, Severity, File Path, Line, Expected, Actual, Remediation). Critical issues block acceptance. All file paths reference actual codebase locations.
|
package/gsp/agents/gsp-scoper.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsp-scoper
|
|
3
|
-
description: Scopes projects — screen list, priorities, component adaptations, gap analysis. Spawned by /gsp
|
|
3
|
+
description: Scopes projects — screen list, priorities, component adaptations, gap analysis. Spawned by /gsp-project-brief.
|
|
4
4
|
tools: Read, Write, Bash, Grep, Glob
|
|
5
5
|
disallowedTools: Edit
|
|
6
6
|
maxTurns: 40
|
|
@@ -9,7 +9,7 @@ color: cyan
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
<role>
|
|
12
|
-
You are a GSP project scoper spawned by `/gsp
|
|
12
|
+
You are a GSP project scoper spawned by `/gsp-project-brief`.
|
|
13
13
|
|
|
14
14
|
Act as a Senior Design Project Lead. Your job is to scope the project by determining what screens and components are needed, what adaptations the brand system requires for this specific project, and to perform gap analysis against the codebase.
|
|
15
15
|
|
|
@@ -44,7 +44,7 @@ Write your brief as chunks to the project's brief directory (path provided by th
|
|
|
44
44
|
|
|
45
45
|
### Brief chunks
|
|
46
46
|
|
|
47
|
-
Write each chunk following the
|
|
47
|
+
Write each chunk following the standard chunk format:
|
|
48
48
|
|
|
49
49
|
1. **`scope.md`** (~80-120 lines) — Prioritized screen list, component scope, project boundaries, success criteria, dependencies, issue framing
|
|
50
50
|
2. **`target-adaptations.md`** (~60-100 lines) — Token overrides, component adaptations, platform considerations, implementation target mapping
|
package/gsp/hooks/hooks.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"hooks": [
|
|
7
7
|
{
|
|
8
8
|
"type": "command",
|
|
9
|
-
"command": "bash ${
|
|
9
|
+
"command": "bash ${CLAUDE_PROJECT_ROOT}/scripts/gsp-context-recovery.sh"
|
|
10
10
|
}
|
|
11
11
|
]
|
|
12
12
|
}
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"matcher": "gsp-
|
|
34
|
+
"matcher": "gsp-creative-director",
|
|
35
35
|
"hooks": [
|
|
36
36
|
{
|
|
37
37
|
"type": "prompt",
|
|
38
|
-
"prompt": "The gsp-
|
|
38
|
+
"prompt": "The gsp-creative-director agent just finished. Verify: (1) identity/INDEX.md was written, (2) identity/color-system.md exists, (3) identity/typography.md exists, (4) identity/logo-directions.md exists, (5) identity/imagery-style.md exists. Report any missing deliverables to the user."
|
|
39
39
|
}
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
"matcher": "gsp-
|
|
43
|
+
"matcher": "gsp-brand-engineer",
|
|
44
44
|
"hooks": [
|
|
45
45
|
{
|
|
46
46
|
"type": "prompt",
|
|
47
|
-
"prompt": "The gsp-
|
|
47
|
+
"prompt": "The gsp-brand-engineer agent just finished. Verify: (1) a .yml preset was written, (2) STYLE.md was written, (3) guidelines.html was written, (4) components/token-mapping.md was written, (5) INDEX.md was written. Report any missing deliverables to the user."
|
|
48
48
|
}
|
|
49
49
|
]
|
|
50
50
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: get-shit-pretty
|
|
3
|
-
description: "Design engineering for AI coding tools. Full pipeline: brand research, strategy, identity,
|
|
3
|
+
description: "Design engineering for AI coding tools. Full pipeline: brand research, strategy, identity, guidelines, UI design, critique, accessibility audit, build, and launch. Expertise skills (color, typography, visuals) serve the entire pipeline. 15 specialized agents with Apple HIG, Nielsen's heuristics, WCAG 2.2 AA, and design token standards."
|
|
4
4
|
user-invocable: false
|
|
5
5
|
model: opus
|
|
6
6
|
effort: high
|
|
@@ -12,8 +12,6 @@ Design engineering system for AI coding tools. Brand identity + design projects,
|
|
|
12
12
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
15
|
-
GSP requires a full installation to work — agents, prompts, templates, and references that power the pipeline. Run:
|
|
16
|
-
|
|
17
15
|
```bash
|
|
18
16
|
npx get-shit-pretty
|
|
19
17
|
```
|
|
@@ -22,11 +20,14 @@ Pick your runtime (Claude Code, OpenCode, Gemini CLI, or Codex CLI), choose glob
|
|
|
22
20
|
|
|
23
21
|
## What You Get
|
|
24
22
|
|
|
25
|
-
A dual-diamond design pipeline with
|
|
23
|
+
A dual-diamond design pipeline with 34 skills across two layers:
|
|
26
24
|
|
|
27
25
|
```
|
|
26
|
+
◆ Expertise (knowledge owners — serve the full pipeline)
|
|
27
|
+
color · typography · visuals · accessibility · style
|
|
28
|
+
|
|
28
29
|
◆ Branding
|
|
29
|
-
research → strategy → identity →
|
|
30
|
+
research → strategy → identity → guidelines
|
|
30
31
|
|
|
31
32
|
◆ Project
|
|
32
33
|
brief → research → design → critique → build → review → launch
|
|
@@ -34,12 +35,12 @@ brief → research → design → critique → build → review → launch
|
|
|
34
35
|
└──── loop ────────┘
|
|
35
36
|
```
|
|
36
37
|
|
|
37
|
-
Each
|
|
38
|
+
Each pipeline phase spawns specialized agents. Expertise skills carry domain knowledge as sibling files — loaded on demand, zero session-start cost.
|
|
38
39
|
|
|
39
40
|
- **Brand Research** — market landscape, audience, competitors
|
|
40
|
-
- **Brand Strategy** — archetype, positioning,
|
|
41
|
-
- **Brand Identity** — logo directions, color
|
|
42
|
-
- **Brand
|
|
41
|
+
- **Brand Strategy** — archetype, positioning, voice, messaging (Kapferer Prism)
|
|
42
|
+
- **Brand Identity** — logo directions, color, typography, imagery
|
|
43
|
+
- **Brand Guidelines** — design tokens, STYLE.md, component mapping
|
|
43
44
|
- **Project Brief** — scope, screen list, gap analysis
|
|
44
45
|
- **Project Research** — UX patterns, competitor experiences
|
|
45
46
|
- **Project Design** — screens and flows (Apple HIG)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: accessibility
|
|
2
|
+
name: gsp-accessibility
|
|
3
3
|
description: Quick contrast checks and token WCAG audits — inline, no agent
|
|
4
4
|
user-invocable: true
|
|
5
5
|
model: sonnet
|
|
@@ -13,12 +13,12 @@ allowed-tools:
|
|
|
13
13
|
---
|
|
14
14
|
<context>
|
|
15
15
|
Standalone composable accessibility skill. Works two ways:
|
|
16
|
-
1. **Standalone** — user runs `/gsp
|
|
16
|
+
1. **Standalone** — user runs `/gsp-accessibility` directly for quick contrast checks or token audits
|
|
17
17
|
2. **As a building block** — critique and review phases detect prior accessibility output and reuse it
|
|
18
18
|
|
|
19
19
|
Follows the composable pattern: deterministic modes, predictable output paths, filesystem as integration layer.
|
|
20
20
|
|
|
21
|
-
For full design audits, code audits, or statement generation, use `/gsp
|
|
21
|
+
For full design audits, code audits, or statement generation, use `/gsp-accessibility-audit`.
|
|
22
22
|
</context>
|
|
23
23
|
|
|
24
24
|
<objective>
|
|
@@ -35,7 +35,7 @@ Run lightweight accessibility checks inline — contrast ratio lookups and token
|
|
|
35
35
|
- Quick check mode (`--check`) produces display output only — no files written
|
|
36
36
|
- Token audit mode runs inline — no agent spawned
|
|
37
37
|
- Default conformance level is AA unless overridden by `--level AAA` or config
|
|
38
|
-
- Foundation chunks follow `
|
|
38
|
+
- Foundation chunks follow `chunk-format.md` format
|
|
39
39
|
</rules>
|
|
40
40
|
|
|
41
41
|
<process>
|
|
@@ -59,10 +59,10 @@ If no arguments provided, use `AskUserQuestion`:
|
|
|
59
59
|
|
|
60
60
|
**"What would you like to do?"**
|
|
61
61
|
- **Quick contrast check** — "check specific color pairs for WCAG contrast compliance"
|
|
62
|
-
- **Token audit** — "audit tokens
|
|
63
|
-
- **Full design/code audit** — "run `/gsp
|
|
62
|
+
- **Token audit** — "audit brand `.yml` tokens for WCAG compliance"
|
|
63
|
+
- **Full design/code audit** — "run `/gsp-accessibility-audit` for full WCAG audits, code audits, or statement generation"
|
|
64
64
|
|
|
65
|
-
If user picks "Full design/code audit", tell them to run `/gsp
|
|
65
|
+
If user picks "Full design/code audit", tell them to run `/gsp-accessibility-audit` and stop.
|
|
66
66
|
|
|
67
67
|
### Quick check mode (`--check`)
|
|
68
68
|
|
|
@@ -84,7 +84,7 @@ Convert hex to relative luminance (sRGB linearization), then:
|
|
|
84
84
|
### Display results
|
|
85
85
|
|
|
86
86
|
```
|
|
87
|
-
/gsp
|
|
87
|
+
/gsp-accessibility — contrast check
|
|
88
88
|
═══════════════════════════════════════
|
|
89
89
|
|
|
90
90
|
Foreground: {FG_HEX} Background: {BG_HEX}
|
|
@@ -126,7 +126,7 @@ Determine final conformance level:
|
|
|
126
126
|
Read from the brand/project:
|
|
127
127
|
- `{BRAND_PATH}/identity/palettes.json`
|
|
128
128
|
- `{BRAND_PATH}/identity/color-system.md`
|
|
129
|
-
- `{BRAND_PATH}/patterns
|
|
129
|
+
- `{BRAND_PATH}/patterns/*.yml` (brand style preset)
|
|
130
130
|
- `{BRAND_PATH}/identity/typography.md`
|
|
131
131
|
|
|
132
132
|
If files don't exist, report which are missing and stop.
|
|
@@ -134,7 +134,7 @@ If files don't exist, report which are missing and stop.
|
|
|
134
134
|
### Token checks
|
|
135
135
|
|
|
136
136
|
**4.1 Contrast Pairs:**
|
|
137
|
-
- Extract every semantic foreground/background pair from
|
|
137
|
+
- Extract every semantic foreground/background pair from the brand `.yml` preset
|
|
138
138
|
- Calculate WCAG 2.x contrast ratio for each pair
|
|
139
139
|
- Flag failures: normal text < 4.5:1, large text < 3:1, non-text < 3:1
|
|
140
140
|
|
|
@@ -202,8 +202,8 @@ Conformance target: {level}
|
|
|
202
202
|
### Completion
|
|
203
203
|
|
|
204
204
|
Display result and use `AskUserQuestion`:
|
|
205
|
-
- **Run full design audit** — "run `/gsp
|
|
206
|
-
- **Run code audit** — "run `/gsp
|
|
205
|
+
- **Run full design audit** — "run `/gsp-accessibility-audit` for full WCAG design audit"
|
|
206
|
+
- **Run code audit** — "run `/gsp-accessibility-audit --code` to check the codebase"
|
|
207
207
|
- **Done** — "that's all for now"
|
|
208
208
|
|
|
209
209
|
## Step 5: Update STATE.md
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: accessibility-audit
|
|
2
|
+
name: gsp-accessibility-audit
|
|
3
3
|
description: Full WCAG accessibility audit — design screens, codebase, or generate compliance statement
|
|
4
4
|
user-invocable: true
|
|
5
5
|
model: opus
|
|
@@ -16,10 +16,10 @@ allowed-tools:
|
|
|
16
16
|
---
|
|
17
17
|
<context>
|
|
18
18
|
Full accessibility audit skill that spawns the `gsp-accessibility-auditor` agent for deep WCAG analysis. Works two ways:
|
|
19
|
-
1. **Standalone** — user runs `/gsp
|
|
19
|
+
1. **Standalone** — user runs `/gsp-accessibility-audit` directly for design, code, or statement generation
|
|
20
20
|
2. **As a building block** — critique and review phases detect prior accessibility output and reuse it
|
|
21
21
|
|
|
22
|
-
For quick contrast checks or token audits, use `/gsp
|
|
22
|
+
For quick contrast checks or token audits, use `/gsp-accessibility` instead.
|
|
23
23
|
|
|
24
24
|
Follows the composable pattern: deterministic modes, predictable output paths, filesystem as integration layer.
|
|
25
25
|
</context>
|
|
@@ -33,8 +33,7 @@ Run full accessibility audits — design screen reviews, codebase ARIA/keyboard/
|
|
|
33
33
|
</objective>
|
|
34
34
|
|
|
35
35
|
<execution_context>
|
|
36
|
-
@${CLAUDE_SKILL_DIR}
|
|
37
|
-
@${CLAUDE_SKILL_DIR}/../../references/wcag-checklist.md
|
|
36
|
+
@${CLAUDE_SKILL_DIR}/wcag-checklist.md
|
|
38
37
|
</execution_context>
|
|
39
38
|
|
|
40
39
|
<rules>
|
|
@@ -42,7 +41,7 @@ Run full accessibility audits — design screen reviews, codebase ARIA/keyboard/
|
|
|
42
41
|
- One decision per question — never batch multiple questions in a single message
|
|
43
42
|
- Statement mode reads prior audit results — fails gracefully if none exist
|
|
44
43
|
- Default conformance level is AA unless overridden by `--level AAA` or config
|
|
45
|
-
- Foundation chunks follow `
|
|
44
|
+
- Foundation chunks follow `chunk-format.md` format
|
|
46
45
|
</rules>
|
|
47
46
|
|
|
48
47
|
<process>
|
|
@@ -96,7 +95,7 @@ Spawn `gsp-accessibility-auditor` with:
|
|
|
96
95
|
Display result:
|
|
97
96
|
|
|
98
97
|
```
|
|
99
|
-
/gsp
|
|
98
|
+
/gsp-accessibility-audit — design audit complete
|
|
100
99
|
═══════════════════════════════════════
|
|
101
100
|
|
|
102
101
|
{PROJECT_PATH}/critique/
|
|
@@ -107,7 +106,7 @@ Display result:
|
|
|
107
106
|
```
|
|
108
107
|
|
|
109
108
|
Use `AskUserQuestion`:
|
|
110
|
-
- **Run token audit** — "run `/gsp
|
|
109
|
+
- **Run token audit** — "run `/gsp-accessibility --tokens` to check design token contrast pairs"
|
|
111
110
|
- **Continue to build** — "implement designs in the codebase"
|
|
112
111
|
- **View audit** — "read the accessibility report"
|
|
113
112
|
- **Done** — "that's all for now"
|
|
@@ -134,7 +133,7 @@ Spawn `gsp-accessibility-auditor` with:
|
|
|
134
133
|
Display result:
|
|
135
134
|
|
|
136
135
|
```
|
|
137
|
-
/gsp
|
|
136
|
+
/gsp-accessibility-audit --code — code audit complete
|
|
138
137
|
═══════════════════════════════════════
|
|
139
138
|
|
|
140
139
|
{PROJECT_PATH}/review/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: add-reference
|
|
2
|
+
name: gsp-add-reference
|
|
3
3
|
description: Add reference material to a project
|
|
4
4
|
user-invocable: true
|
|
5
5
|
model: sonnet
|
|
@@ -23,6 +23,11 @@ Add reference material to a project for downstream agents to consume.
|
|
|
23
23
|
**Output:** `{project}/references/` with organized reference files + `references/INDEX.md`
|
|
24
24
|
</objective>
|
|
25
25
|
|
|
26
|
+
<rules>
|
|
27
|
+
- Always use `AskUserQuestion` for user interaction — never prompt via plain text
|
|
28
|
+
- One decision per question — never batch multiple questions in a single message
|
|
29
|
+
</rules>
|
|
30
|
+
|
|
26
31
|
<process>
|
|
27
32
|
## Step 0: Resolve project
|
|
28
33
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: art
|
|
2
|
+
name: gsp-art
|
|
3
3
|
description: "Craft ASCII art interactively — you direct, the artist creates"
|
|
4
4
|
user-invocable: true
|
|
5
5
|
model: sonnet
|
|
@@ -23,6 +23,11 @@ Create terminal art with the user in the loop — gather intent, create, iterate
|
|
|
23
23
|
**Agent:** `gsp-ascii-artist`
|
|
24
24
|
</objective>
|
|
25
25
|
|
|
26
|
+
<rules>
|
|
27
|
+
- Always use `AskUserQuestion` for user interaction — never prompt via plain text
|
|
28
|
+
- One decision per question — never batch multiple questions in a single message
|
|
29
|
+
</rules>
|
|
30
|
+
|
|
26
31
|
<process>
|
|
27
32
|
## Step 1: Gather intent
|
|
28
33
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: brand-audit
|
|
2
|
+
name: gsp-brand-audit
|
|
3
3
|
description: Audit an existing brand before evolving it
|
|
4
4
|
user-invocable: true
|
|
5
5
|
model: opus
|
|
@@ -26,7 +26,7 @@ Audit an existing brand. Produce evolution map that guides research, strategy, a
|
|
|
26
26
|
</objective>
|
|
27
27
|
|
|
28
28
|
<execution_context>
|
|
29
|
-
@${CLAUDE_SKILL_DIR}
|
|
29
|
+
@${CLAUDE_SKILL_DIR}/chunk-format.md
|
|
30
30
|
</execution_context>
|
|
31
31
|
|
|
32
32
|
<rules>
|
|
@@ -44,11 +44,11 @@ Resolve brand from `.design/branding/` (one → use it, multiple → ask). Set `
|
|
|
44
44
|
Read `{BRAND_PATH}/BRIEF.md` for aspirational direction.
|
|
45
45
|
Read `{BRAND_PATH}/config.json` to confirm `brand_mode` is `evolve`.
|
|
46
46
|
|
|
47
|
-
If missing, tell user to run `/gsp
|
|
47
|
+
If missing, tell user to run `/gsp-start` first.
|
|
48
48
|
|
|
49
49
|
## Step 2: Load brand assets from brief
|
|
50
50
|
|
|
51
|
-
Read `{BRAND_PATH}/BRIEF.md` — brand assets were already gathered during `/gsp
|
|
51
|
+
Read `{BRAND_PATH}/BRIEF.md` — brand assets were already gathered during `/gsp-start`. Extract any logos, colors, guidelines, URLs, or descriptions the user provided.
|
|
52
52
|
|
|
53
53
|
If the brief has no asset information (legacy or incomplete brief), use `AskUserQuestion`:
|
|
54
54
|
- **Share assets now** — "I have guidelines, colors, fonts, voice samples, or URLs to share"
|
|
@@ -88,5 +88,5 @@ Update `evolution_scope` in `{BRAND_PATH}/config.json` with confirmed decisions.
|
|
|
88
88
|
|
|
89
89
|
Update `{BRAND_PATH}/STATE.md`: set Phase 0 (Audit) to `complete`.
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
Invoke `/gsp-phase-transition` with phase `audit` and output directory `{BRAND_PATH}/audit/`.
|
|
92
92
|
</process>
|