get-shit-pretty 0.6.0 → 0.6.2
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/.claude-plugin/plugin.json +1 -1
- package/README.md +5 -4
- package/bin/install.js +30 -1
- package/gsp/agents/gsp-identity-designer.md +5 -8
- package/gsp/hooks/hooks.json +54 -0
- package/gsp/references/questioning.md +17 -9
- package/gsp/skills/get-shit-pretty/SKILL.md +2 -0
- package/gsp/skills/gsp-accessibility/SKILL.md +2 -0
- package/gsp/skills/gsp-accessibility-audit/SKILL.md +3 -0
- package/gsp/skills/gsp-add-reference/SKILL.md +1 -0
- package/gsp/skills/gsp-art/SKILL.md +1 -0
- package/gsp/skills/gsp-brand-audit/SKILL.md +8 -3
- package/gsp/skills/gsp-brand-identity/SKILL.md +20 -14
- package/gsp/skills/gsp-brand-patterns/SKILL.md +41 -26
- package/gsp/skills/gsp-brand-refine/SKILL.md +2 -0
- package/gsp/skills/gsp-brand-research/SKILL.md +3 -0
- package/gsp/skills/gsp-brand-strategy/SKILL.md +8 -2
- package/gsp/skills/gsp-brand-sync/SKILL.md +3 -0
- package/gsp/skills/gsp-design-system/SKILL.md +1 -0
- package/gsp/skills/gsp-doctor/SKILL.md +20 -0
- package/gsp/skills/gsp-help/SKILL.md +1 -0
- package/gsp/skills/gsp-launch/SKILL.md +11 -2
- package/gsp/skills/gsp-palette/SKILL.md +2 -0
- package/gsp/skills/gsp-pretty/SKILL.md +1 -0
- package/gsp/skills/gsp-progress/SKILL.md +1 -0
- package/gsp/skills/gsp-project-brief/SKILL.md +10 -9
- package/gsp/skills/gsp-project-build/SKILL.md +15 -5
- package/gsp/skills/gsp-project-critique/SKILL.md +34 -10
- package/gsp/skills/gsp-project-design/SKILL.md +30 -7
- package/gsp/skills/gsp-project-research/SKILL.md +11 -9
- package/gsp/skills/gsp-project-review/SKILL.md +3 -0
- package/gsp/skills/gsp-scaffold/SKILL.md +1 -0
- package/gsp/skills/gsp-start/SKILL.md +109 -99
- package/gsp/skills/gsp-style/SKILL.md +2 -0
- package/gsp/skills/gsp-typescale/SKILL.md +2 -0
- package/gsp/skills/gsp-update/SKILL.md +53 -23
- package/gsp/templates/branding/config.json +2 -1
- package/gsp/templates/phases/identity.md +2 -6
- package/gsp/templates/projects/config.json +1 -1
- package/package.json +12 -14
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
name: brand-strategy
|
|
3
3
|
description: Define positioning, voice, and messaging
|
|
4
4
|
user-invocable: true
|
|
5
|
+
model: opus
|
|
6
|
+
effort: high
|
|
5
7
|
allowed-tools:
|
|
6
8
|
- Read
|
|
7
9
|
- Write
|
|
@@ -32,6 +34,8 @@ Define brand strategy and voice through interactive creative direction, then pro
|
|
|
32
34
|
|
|
33
35
|
<rules>
|
|
34
36
|
- Always use `AskUserQuestion` for user-facing questions — never raw text prompts
|
|
37
|
+
- One decision per question — never batch multiple questions in a single message
|
|
38
|
+
- Never re-ask what the user already answered in a prior phase — read BRIEF.md and build on it
|
|
35
39
|
- Push opinionated recommendations but let the user decide
|
|
36
40
|
- Quality gate: if you could swap in a competitor's name and it still works, it's too generic
|
|
37
41
|
- Artifacts must balance human readability with agent consumption for downstream phases
|
|
@@ -61,9 +65,11 @@ Frame as: "Here's where this brand can win." Keep it to 4-6 lines.
|
|
|
61
65
|
|
|
62
66
|
## Step 3: Archetype selection
|
|
63
67
|
|
|
64
|
-
|
|
68
|
+
Read the personality direction from BRIEF.md (gathered during `/gsp:start`). Use it as the starting point — don't re-ask for personality. Deepen it into a structural archetype.
|
|
69
|
+
|
|
70
|
+
Use `AskUserQuestion` with 2-3 archetype candidates that align with the chosen personality direction. Each option:
|
|
65
71
|
- **Label:** archetype name
|
|
66
|
-
- **Description:** strategic reasoning — why it fits the personas and gaps
|
|
72
|
+
- **Description:** strategic reasoning — why it fits the personas and gaps, and how it builds on the personality direction from the brief
|
|
67
73
|
- **Preview:** example sentence in that archetype's voice
|
|
68
74
|
|
|
69
75
|
Push a recommendation. Let user choose, adjust, or blend.
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
name: brand-sync
|
|
3
3
|
description: Sync brand to match a project's shipped state — tokens, voice, visual patterns, personality
|
|
4
4
|
user-invocable: true
|
|
5
|
+
model: opus
|
|
6
|
+
effort: high
|
|
5
7
|
allowed-tools:
|
|
6
8
|
- Read
|
|
7
9
|
- Write
|
|
@@ -37,6 +39,7 @@ Compare a project's shipped state against its source brand across all dimensions
|
|
|
37
39
|
|
|
38
40
|
<rules>
|
|
39
41
|
- Always use `AskUserQuestion` for user interaction — never prompt via plain text
|
|
42
|
+
- One decision per question — never batch multiple questions in a single message
|
|
40
43
|
- Never update the brand without explicit user confirmation
|
|
41
44
|
- Show before/after for every change — no silent updates
|
|
42
45
|
- Only update dimensions that actually diverged — don't regenerate the entire brand
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: doctor
|
|
3
3
|
description: Check project health
|
|
4
4
|
user-invocable: true
|
|
5
|
+
model: sonnet
|
|
5
6
|
allowed-tools:
|
|
6
7
|
- Read
|
|
7
8
|
- Glob
|
|
@@ -239,6 +240,22 @@ Glob for all SKILL.md files in the skills directory (`{runtime-dir}/skills/*/SKI
|
|
|
239
240
|
- All present → PASS
|
|
240
241
|
- Missing → WARN: "Skills missing `user-invocable: true`: {list}. They won't appear in the slash-command menu. Re-run the installer or add the field manually."
|
|
241
242
|
|
|
243
|
+
**Check I2: Skill directories are complete (not just SKILL.md)**
|
|
244
|
+
For each gsp-* skill directory, check if `SKILL.md` references sibling files via `${CLAUDE_SKILL_DIR}/` paths (e.g. `styles/INDEX.yml`). If it does, verify those files/dirs exist in the installed skill directory.
|
|
245
|
+
- All referenced siblings present → PASS
|
|
246
|
+
- Missing siblings → FAIL: "Skill {name} references {path} but it's missing. Re-run the installer: `npx get-shit-pretty`"
|
|
247
|
+
|
|
248
|
+
**Check I3: Bundle directories accessible**
|
|
249
|
+
Check that the runtime bundle directories exist (`{runtime-dir}/prompts/`, `{runtime-dir}/templates/`, `{runtime-dir}/references/`). Skills reference these via `${CLAUDE_SKILL_DIR}/../../`.
|
|
250
|
+
- All present → PASS
|
|
251
|
+
- Missing → FAIL: "Bundle directory {dir} missing. Re-run the installer: `npx get-shit-pretty`"
|
|
252
|
+
|
|
253
|
+
**Check I4: VERSION file present**
|
|
254
|
+
Check `{runtime-dir}/VERSION` exists and contains a valid semver string.
|
|
255
|
+
- Present and valid → PASS (show version)
|
|
256
|
+
- Missing → WARN: "VERSION file missing. Re-run the installer."
|
|
257
|
+
- Mismatched with source → INFO: "Installed version {installed} differs from source {source}."
|
|
258
|
+
|
|
242
259
|
### Cross-Instance Checks
|
|
243
260
|
|
|
244
261
|
**Check X1: Multiple projects, same brand**
|
|
@@ -287,6 +304,9 @@ Overall Health: {SCORE}/100 {emoji}
|
|
|
287
304
|
|
|
288
305
|
─── Installation Health ───────────────
|
|
289
306
|
✅ I1. Skills invocable ........ PASS
|
|
307
|
+
✅ I2. Skill completeness ...... PASS
|
|
308
|
+
✅ I3. Bundle directories ...... PASS
|
|
309
|
+
✅ I4. VERSION file ............ PASS
|
|
290
310
|
|
|
291
311
|
─── Cross-Instance ────────────────────
|
|
292
312
|
✅ X1. Brand Consistency ...... PASS
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
name: launch
|
|
3
3
|
description: Create launch and marketing assets
|
|
4
4
|
user-invocable: true
|
|
5
|
+
model: opus
|
|
6
|
+
effort: high
|
|
7
|
+
context: fork
|
|
5
8
|
allowed-tools:
|
|
6
9
|
- Read
|
|
7
10
|
- Write
|
|
@@ -63,9 +66,15 @@ Read `{PROJECT_PATH}/BRIEF.md` — audience, goals.
|
|
|
63
66
|
|
|
64
67
|
## Step 2: Spawn campaign director
|
|
65
68
|
|
|
66
|
-
Spawn the `gsp-campaign-director` agent
|
|
69
|
+
Spawn the `gsp-campaign-director` agent. **Inline all content** — the agent should not need to read any input files.
|
|
67
70
|
|
|
68
|
-
|
|
71
|
+
Pass in the agent prompt:
|
|
72
|
+
- **Content of** all identity chunks (loaded in Step 1)
|
|
73
|
+
- **Content of** strategy voice-and-tone.md + messaging.md (loaded in Step 1)
|
|
74
|
+
- **Content of** all design screen chunks (loaded in Step 1)
|
|
75
|
+
- **Content of** BRIEF.md (loaded in Step 1)
|
|
76
|
+
- The Marketing Asset Factory prompt (04), launch output template (from execution_context)
|
|
77
|
+
- **Output path:** `{PROJECT_PATH}/launch/`
|
|
69
78
|
|
|
70
79
|
The agent writes chunks directly:
|
|
71
80
|
- `launch/campaign-strategy.md`
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: palette
|
|
3
3
|
description: Generate OKLCH color palettes — standalone or as a building block for identity
|
|
4
4
|
user-invocable: true
|
|
5
|
+
model: sonnet
|
|
5
6
|
allowed-tools:
|
|
6
7
|
- Read
|
|
7
8
|
- Write
|
|
@@ -31,6 +32,7 @@ Generate production-ready OKLCH color palettes from hex colors.
|
|
|
31
32
|
|
|
32
33
|
<rules>
|
|
33
34
|
- Always use `AskUserQuestion` for user interaction — never prompt via plain text
|
|
35
|
+
- One decision per question — never batch multiple questions in a single message
|
|
34
36
|
- Palettes are deterministic — same hex input always produces the same OKLCH scales
|
|
35
37
|
- Foundation chunks follow `references/chunk-format.md` format exactly
|
|
36
38
|
- Every palette gets the full 11-stop scale: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: project-brief
|
|
3
3
|
description: Scope what you're building
|
|
4
4
|
user-invocable: true
|
|
5
|
+
model: sonnet
|
|
5
6
|
allowed-tools:
|
|
6
7
|
- Read
|
|
7
8
|
- Write
|
|
@@ -79,15 +80,15 @@ If the project scope feels large, suggest breaking it into multiple bounded issu
|
|
|
79
80
|
|
|
80
81
|
## Step 2: Spawn scoper
|
|
81
82
|
|
|
82
|
-
Spawn the `gsp-scoper` agent
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
- The brief output template
|
|
83
|
+
Spawn the `gsp-scoper` agent. **Inline all content** — the agent should not need to read any input files.
|
|
84
|
+
|
|
85
|
+
Pass in the agent prompt:
|
|
86
|
+
- **Content of** brand patterns foundation + component chunks (loaded in Step 1)
|
|
87
|
+
- **Content of** tokens.json (loaded in Step 1)
|
|
88
|
+
- **Content of** BRIEF.md (loaded in Step 1)
|
|
89
|
+
- **Content of** `.design/system/STACK.md`, `COMPONENTS.md` (when loaded in Step 1)
|
|
90
|
+
- **Content of** CHANGELOG.md + relevant MANIFEST.md files (loaded in Step 1)
|
|
91
|
+
- The Project Scoper prompt (10), brief output template (from execution_context)
|
|
91
92
|
- `implementation_target`, `design_scope`, `codebase_type`
|
|
92
93
|
- **Output path:** `{PROJECT_PATH}/brief/`
|
|
93
94
|
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
name: project-build
|
|
3
3
|
description: Translate designs to code
|
|
4
4
|
user-invocable: true
|
|
5
|
+
model: opus
|
|
6
|
+
effort: high
|
|
5
7
|
allowed-tools:
|
|
6
8
|
- Read
|
|
7
9
|
- Write
|
|
@@ -49,9 +51,6 @@ Implement designs as production-ready code in the codebase via phased pipeline w
|
|
|
49
51
|
<execution_context>
|
|
50
52
|
@${CLAUDE_SKILL_DIR}/../../prompts/09-design-to-code-translator.md
|
|
51
53
|
@${CLAUDE_SKILL_DIR}/../../templates/phases/build.md
|
|
52
|
-
@${CLAUDE_SKILL_DIR}/../../references/visual-effects.md
|
|
53
|
-
@${CLAUDE_SKILL_DIR}/../../references/block-patterns.md
|
|
54
|
-
@${CLAUDE_SKILL_DIR}/../../references/anti-patterns.md
|
|
55
54
|
</execution_context>
|
|
56
55
|
|
|
57
56
|
<process>
|
|
@@ -110,6 +109,15 @@ After scaffold completes, verify `{PROJECT_PATH}/build/SCAFFOLD-LOG.md` exists.
|
|
|
110
109
|
|
|
111
110
|
**Gate:** If scaffold reports build failure, stop and surface the error. Do not proceed to foundations with a broken build.
|
|
112
111
|
|
|
112
|
+
## Step 2.5: Load build references
|
|
113
|
+
|
|
114
|
+
Read these reference files (relative to skill dir `${CLAUDE_SKILL_DIR}/../../references/`):
|
|
115
|
+
- `visual-effects.md`
|
|
116
|
+
- `block-patterns.md`
|
|
117
|
+
- `anti-patterns.md`
|
|
118
|
+
|
|
119
|
+
Hold their content for inlining into agent prompts in Steps 3 and 5.
|
|
120
|
+
|
|
113
121
|
## Step 3: Phase 2 — FOUNDATIONS
|
|
114
122
|
|
|
115
123
|
Spawn `gsp-builder` agent with **execution_mode: foundations**.
|
|
@@ -125,7 +133,8 @@ Spawn `gsp-builder` agent with **execution_mode: foundations**.
|
|
|
125
133
|
| `.design/system/CONVENTIONS.md` | Codebase conventions (if exists) |
|
|
126
134
|
| `.design/system/COMPONENTS.md` | Existing components (if exists) |
|
|
127
135
|
| `{PROJECT_PATH}/config.json` | Tech stack, target |
|
|
128
|
-
| Design-to-Code Translator prompt (09) | Translation methodology |
|
|
136
|
+
| Design-to-Code Translator prompt (09, from execution_context) | Translation methodology |
|
|
137
|
+
| Visual effects, block patterns, anti-patterns refs (loaded in Step 2.5) | Design patterns + constraints |
|
|
129
138
|
|
|
130
139
|
### Agent instructions:
|
|
131
140
|
|
|
@@ -222,7 +231,8 @@ Build screens sequentially. For each screen in `SCREENS`:
|
|
|
222
231
|
| `{PROJECT_PATH}/brief/target-adaptations.md` | Component adaptations |
|
|
223
232
|
| `{PROJECT_PATH}/research/reference-specs.md` (if exists) | Technical specs |
|
|
224
233
|
| `{PROJECT_PATH}/critique/prioritized-fixes.md` (if exists) | Critique fixes relevant to this screen |
|
|
225
|
-
| Design-to-Code Translator prompt (09) | Translation methodology |
|
|
234
|
+
| Design-to-Code Translator prompt (09, from execution_context) | Translation methodology |
|
|
235
|
+
| Visual effects, block patterns, anti-patterns refs (loaded in Step 2.5) | Design patterns + constraints |
|
|
226
236
|
|
|
227
237
|
**Does NOT receive:** other screen chunks, tokens.json (already in codebase), full brand system, research monoliths.
|
|
228
238
|
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
name: project-critique
|
|
3
3
|
description: Critique your designs + accessibility audit
|
|
4
4
|
user-invocable: true
|
|
5
|
+
model: opus
|
|
6
|
+
effort: high
|
|
7
|
+
context: fork
|
|
5
8
|
allowed-tools:
|
|
6
9
|
- Read
|
|
7
10
|
- Write
|
|
@@ -26,11 +29,6 @@ Critique design quality and audit accessibility compliance.
|
|
|
26
29
|
@${CLAUDE_SKILL_DIR}/../../prompts/06-design-critique-partner.md
|
|
27
30
|
@${CLAUDE_SKILL_DIR}/../../prompts/08-accessibility-auditor.md
|
|
28
31
|
@${CLAUDE_SKILL_DIR}/../../templates/phases/critique.md
|
|
29
|
-
@${CLAUDE_SKILL_DIR}/../../references/nielsen-heuristics.md
|
|
30
|
-
@${CLAUDE_SKILL_DIR}/../../references/visual-taste.md
|
|
31
|
-
@${CLAUDE_SKILL_DIR}/../../references/anti-patterns.md
|
|
32
|
-
@${CLAUDE_SKILL_DIR}/../../references/wcag-checklist.md
|
|
33
|
-
@${CLAUDE_SKILL_DIR}/../../references/color-composition.md
|
|
34
32
|
</execution_context>
|
|
35
33
|
|
|
36
34
|
<process>
|
|
@@ -72,13 +70,39 @@ Read `{PROJECT_PATH}/config.json` to get `implementation_target`, `design_scope`
|
|
|
72
70
|
|
|
73
71
|
**Otherwise:** If design chunks don't exist and scope is not `tokens`, tell the user to complete the design phase first.
|
|
74
72
|
|
|
75
|
-
## Step
|
|
73
|
+
## Step 1.8: Load critique references
|
|
74
|
+
|
|
75
|
+
Read these reference files (relative to skill dir `${CLAUDE_SKILL_DIR}/../../references/`):
|
|
76
|
+
- `nielsen-heuristics.md`
|
|
77
|
+
- `visual-taste.md`
|
|
78
|
+
- `anti-patterns.md`
|
|
79
|
+
- `wcag-checklist.md`
|
|
80
|
+
- `color-composition.md`
|
|
76
81
|
|
|
77
|
-
|
|
78
|
-
|
|
82
|
+
Hold their content for inlining into agent prompts in Step 2.
|
|
83
|
+
|
|
84
|
+
## Step 2: Spawn critics (parallel)
|
|
79
85
|
|
|
80
|
-
**
|
|
81
|
-
|
|
86
|
+
**Inline all content** — agents should not need to read any input files.
|
|
87
|
+
|
|
88
|
+
**Agent 1: gsp-critic** — Pass in the agent prompt:
|
|
89
|
+
- **Content of** all design chunks (loaded in Step 1)
|
|
90
|
+
- **Content of** all identity chunks (loaded in Step 1)
|
|
91
|
+
- **Content of** all patterns chunks (loaded in Step 1)
|
|
92
|
+
- **Content of** brief chunks (loaded in Step 1)
|
|
93
|
+
- **Content of** research recommendations.md (loaded in Step 1)
|
|
94
|
+
- **Content of** BRIEF.md
|
|
95
|
+
- **Content of** Nielsen's 10 Heuristics, visual taste, anti-patterns, color composition references (loaded in Step 1.8)
|
|
96
|
+
- The Design Critique Partner prompt (06), critique output template (from execution_context)
|
|
97
|
+
- Output path: `{PROJECT_PATH}/critique/`
|
|
98
|
+
|
|
99
|
+
**Agent 2: gsp-accessibility-auditor** — Check if `{PROJECT_PATH}/critique/accessibility-audit.md` already exists from a prior `/gsp:accessibility` run. If yes, skip spawning the accessibility auditor — reuse the existing output. If no, pass in the agent prompt:
|
|
100
|
+
- **Content of** all design chunks (loaded in Step 1)
|
|
101
|
+
- **Content of** identity color-system.md and typography.md (loaded in Step 1)
|
|
102
|
+
- **Content of** patterns tokens chunks (loaded in Step 1)
|
|
103
|
+
- **Content of** WCAG checklist reference (loaded in Step 1.8), Accessibility Auditor prompt (08, from execution_context)
|
|
104
|
+
- `accessibility_level` from config (defaults to "WCAG 2.2 AA")
|
|
105
|
+
- Output path: `{PROJECT_PATH}/critique/`
|
|
82
106
|
|
|
83
107
|
## Step 3: Write critique INDEX.md
|
|
84
108
|
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
name: project-design
|
|
3
3
|
description: Design screens and interaction flows
|
|
4
4
|
user-invocable: true
|
|
5
|
+
model: opus
|
|
6
|
+
effort: high
|
|
7
|
+
context: fork
|
|
5
8
|
allowed-tools:
|
|
6
9
|
- Read
|
|
7
10
|
- Write
|
|
@@ -27,10 +30,6 @@ Design core UI/UX screens and interaction flows.
|
|
|
27
30
|
<execution_context>
|
|
28
31
|
@${CLAUDE_SKILL_DIR}/../../prompts/03-ui-ux-pattern-master.md
|
|
29
32
|
@${CLAUDE_SKILL_DIR}/../../templates/phases/design.md
|
|
30
|
-
@${CLAUDE_SKILL_DIR}/../../references/apple-hig-patterns.md
|
|
31
|
-
@${CLAUDE_SKILL_DIR}/../../references/visual-effects.md
|
|
32
|
-
@${CLAUDE_SKILL_DIR}/../../references/block-patterns.md
|
|
33
|
-
@${CLAUDE_SKILL_DIR}/../../references/anti-patterns.md
|
|
34
33
|
</execution_context>
|
|
35
34
|
|
|
36
35
|
<process>
|
|
@@ -111,11 +110,35 @@ When `implementation_target` is not `figma`:
|
|
|
111
110
|
- **If `.design/system/COMPONENTS.md` and `.design/system/TOKENS.md` exist**, read them. Pass to the agent.
|
|
112
111
|
- **If not**, fall back to scanning the codebase.
|
|
113
112
|
|
|
114
|
-
## Step
|
|
113
|
+
## Step 2.5: Load design references
|
|
114
|
+
|
|
115
|
+
Read these reference files (relative to skill dir `${CLAUDE_SKILL_DIR}/../../references/`):
|
|
116
|
+
- `apple-hig-patterns.md`
|
|
117
|
+
- `visual-effects.md`
|
|
118
|
+
- `block-patterns.md`
|
|
119
|
+
- `anti-patterns.md`
|
|
115
120
|
|
|
116
|
-
|
|
121
|
+
Hold their content for inlining into the agent prompt in Step 3.
|
|
122
|
+
|
|
123
|
+
## Step 3: Spawn designer
|
|
117
124
|
|
|
118
|
-
**
|
|
125
|
+
Spawn the `gsp-designer` agent. **Inline all content** — the agent should not need to read any input files.
|
|
126
|
+
|
|
127
|
+
Pass in the agent prompt:
|
|
128
|
+
- **Content of** all brand patterns foundation chunks + selective component chunks (loaded in Step 1)
|
|
129
|
+
- **Content of** brand identity chunks: color-system.md, typography.md, imagery-style.md (loaded in Step 1)
|
|
130
|
+
- **Content of** brand style prompt ({brand-name}.md) when available
|
|
131
|
+
- **Content of** brief chunks: scope.md, target-adaptations.md (loaded in Step 1)
|
|
132
|
+
- **Content of** research chunks: ux-patterns.md, recommendations.md, reference-specs.md (loaded in Step 1)
|
|
133
|
+
- **Content of** BRIEF.md
|
|
134
|
+
- **Content of** `.design/system/COMPONENTS.md`, `TOKENS.md` (when loaded in Step 2)
|
|
135
|
+
- **Content of** custom references (when loaded in Step 1)
|
|
136
|
+
- **Content of** critique fixes: prioritized-fixes.md, accessibility-fixes.md (when in revision mode)
|
|
137
|
+
- The UI/UX Pattern Master prompt (03), design output template (from execution_context)
|
|
138
|
+
- **Content of** Apple HIG patterns, visual effects, block patterns, anti-patterns references (loaded in Step 2.5)
|
|
139
|
+
- `implementation_target`, `design_scope`, `codebase_type`
|
|
140
|
+
- Target screens (when partial)
|
|
141
|
+
- **Output path:** `{PROJECT_PATH}/design/`
|
|
119
142
|
|
|
120
143
|
The agent writes chunks directly:
|
|
121
144
|
- `design/screen-{NN}-{name}.md` (one per screen)
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
name: project-research
|
|
3
3
|
description: Research UX patterns and technical approaches
|
|
4
4
|
user-invocable: true
|
|
5
|
+
model: sonnet
|
|
6
|
+
effort: high
|
|
5
7
|
allowed-tools:
|
|
6
8
|
- Read
|
|
7
9
|
- Write
|
|
@@ -80,16 +82,16 @@ If competitor URLs or reference sites are mentioned in BRIEF.md or `{PROJECT_PAT
|
|
|
80
82
|
|
|
81
83
|
## Step 2: Spawn project researcher
|
|
82
84
|
|
|
83
|
-
|
|
85
|
+
Spawn the `gsp-project-researcher` agent. **Inline all content** — the agent should not need to read any input files.
|
|
84
86
|
|
|
85
|
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
- The research output template
|
|
87
|
+
Pass in the agent prompt:
|
|
88
|
+
- **Content of** brief scope chunks: scope.md, target-adaptations.md (loaded in Step 1)
|
|
89
|
+
- **Content of** brand patterns foundation chunks (loaded in Step 1)
|
|
90
|
+
- **Content of** brand discovery chunks: competitive-audit.md, trend-analysis.md (loaded in Step 1)
|
|
91
|
+
- **Content of** custom references (loaded in Step 1)
|
|
92
|
+
- **Content of** BRIEF.md (loaded in Step 1)
|
|
93
|
+
- Any pre-fetched reference content (from Step 1.75)
|
|
94
|
+
- The Project Researcher prompt (12), research output template (from execution_context)
|
|
93
95
|
- `implementation_target`, `platform`, `tech_stack`
|
|
94
96
|
- **Output path:** `{PROJECT_PATH}/research/`
|
|
95
97
|
|