@hegemonart/get-design-done 1.28.0 → 1.28.6
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/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +134 -0
- package/SKILL.md +1 -1
- package/hooks/gdd-decision-injector.js +149 -3
- package/package.json +1 -1
- package/reference/adr-format.md +96 -0
- package/reference/architecture-vocabulary.md +102 -0
- package/reference/context-md-format.md +106 -0
- package/reference/heuristics.md +84 -0
- package/reference/registry.json +29 -1
- package/reference/registry.schema.json +1 -1
- package/reference/shared-preamble.md +78 -6
- package/reference/skill-authoring-contract.md +159 -0
- package/scripts/validate-skill-length.cjs +283 -0
- package/skills/add-backlog/SKILL.md +1 -0
- package/skills/analyze-dependencies/SKILL.md +33 -122
- package/skills/apply-reflections/SKILL.md +1 -40
- package/skills/apply-reflections/apply-reflections-procedure.md +68 -0
- package/skills/audit/SKILL.md +3 -1
- package/skills/bandit-status/SKILL.md +31 -66
- package/skills/benchmark/SKILL.md +15 -55
- package/skills/brief/SKILL.md +12 -1
- package/skills/cache-manager/SKILL.md +3 -57
- package/skills/cache-manager/cache-policy.md +126 -0
- package/skills/check-update/SKILL.md +38 -75
- package/skills/compare/SKILL.md +29 -269
- package/skills/compare/compare-rubric.md +171 -0
- package/skills/complete-cycle/SKILL.md +1 -1
- package/skills/connections/SKILL.md +21 -427
- package/skills/connections/connections-onboarding.md +417 -0
- package/skills/continue/SKILL.md +1 -0
- package/skills/darkmode/SKILL.md +32 -287
- package/skills/darkmode/darkmode-audit-procedure.md +258 -0
- package/skills/debug/SKILL.md +11 -8
- package/skills/debug/debug-feedback-loops.md +119 -0
- package/skills/design/SKILL.md +27 -245
- package/skills/design/design-procedure.md +304 -0
- package/skills/discover/SKILL.md +26 -133
- package/skills/discover/discover-procedure.md +204 -0
- package/skills/discuss/SKILL.md +18 -2
- package/skills/explore/SKILL.md +40 -205
- package/skills/explore/explore-procedure.md +267 -0
- package/skills/fast/SKILL.md +1 -0
- package/skills/figma-write/SKILL.md +2 -2
- package/skills/health/SKILL.md +11 -33
- package/skills/health/health-mcp-detection.md +44 -0
- package/skills/health/health-skill-length-report.md +69 -0
- package/skills/help/SKILL.md +1 -0
- package/skills/list-assumptions/SKILL.md +1 -0
- package/skills/map/SKILL.md +8 -31
- package/skills/new-cycle/SKILL.md +3 -1
- package/skills/new-cycle/milestone-completeness-rubric.md +87 -0
- package/skills/next/SKILL.md +1 -0
- package/skills/note/SKILL.md +1 -0
- package/skills/optimize/SKILL.md +21 -44
- package/skills/pause/SKILL.md +1 -0
- package/skills/peer-cli-add/SKILL.md +26 -108
- package/skills/peer-cli-add/peer-cli-protocol.md +161 -0
- package/skills/peer-cli-customize/SKILL.md +22 -42
- package/skills/peers/SKILL.md +33 -57
- package/skills/plan/SKILL.md +33 -220
- package/skills/plan/plan-procedure.md +278 -0
- package/skills/plant-seed/SKILL.md +1 -0
- package/skills/pr-branch/SKILL.md +1 -0
- package/skills/progress/SKILL.md +1 -7
- package/skills/quality-gate/SKILL.md +34 -166
- package/skills/quality-gate/threat-modeling.md +101 -0
- package/skills/quick/SKILL.md +1 -0
- package/skills/reapply-patches/SKILL.md +1 -0
- package/skills/recall/SKILL.md +1 -0
- package/skills/resume/SKILL.md +1 -0
- package/skills/review-backlog/SKILL.md +1 -0
- package/skills/router/SKILL.md +3 -59
- package/skills/router/router-rules.md +84 -0
- package/skills/scan/SKILL.md +36 -675
- package/skills/scan/scan-procedure.md +731 -0
- package/skills/settings/SKILL.md +1 -0
- package/skills/ship/SKILL.md +1 -0
- package/skills/sketch/SKILL.md +1 -1
- package/skills/sketch-wrap-up/SKILL.md +13 -54
- package/skills/spike/SKILL.md +1 -1
- package/skills/spike-wrap-up/SKILL.md +12 -46
- package/skills/start/SKILL.md +13 -112
- package/skills/start/start-procedure.md +115 -0
- package/skills/stats/SKILL.md +1 -0
- package/skills/style/SKILL.md +18 -140
- package/skills/style/style-doc-procedure.md +150 -0
- package/skills/synthesize/SKILL.md +1 -0
- package/skills/timeline/SKILL.md +1 -0
- package/skills/todo/SKILL.md +1 -0
- package/skills/turn-closeout/SKILL.md +36 -56
- package/skills/undo/SKILL.md +1 -0
- package/skills/update/SKILL.md +1 -0
- package/skills/verify/SKILL.md +42 -457
- package/skills/verify/verify-procedure.md +512 -0
- package/skills/warm-cache/SKILL.md +3 -35
- package/skills/zoom-out/SKILL.md +26 -0
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: connections-onboarding
|
|
3
|
+
type: meta-rules
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
phase: 28.5
|
|
6
|
+
tags: [connections, onboarding, probes, mcp, wizard, procedure, extracted]
|
|
7
|
+
last_updated: 2026-05-18
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
Source: extracted from `skills/connections/SKILL.md` (Phase 28.5 rework — D-10 extract-then-link).
|
|
11
|
+
The skill's load-bearing routing + invocation-mode dispatch stays in `../skills/connections/SKILL.md`;
|
|
12
|
+
this file holds the 12 probe scripts, bucket categorization, per-connection setup screen,
|
|
13
|
+
auto-run eligibility matrix, value-prop one-liners, and STATE.md / config.json write contracts.
|
|
14
|
+
|
|
15
|
+
# Connections Onboarding Procedure
|
|
16
|
+
|
|
17
|
+
Detailed procedure for the `/gdd:connections` interactive wizard — companion to
|
|
18
|
+
`../skills/connections/SKILL.md`. Read this file when executing a specific probe, deciding
|
|
19
|
+
auto-run vs manual, writing config.json, or merging STATE.md `<connections>`. The SKILL.md
|
|
20
|
+
keeps the load-bearing top-level flow + AskUserQuestion routing; this file holds the deep
|
|
21
|
+
methodology + per-connection detail.
|
|
22
|
+
|
|
23
|
+
For the cross-skill probe pattern + connection handshake (ToolSearch → live call → STATE.md
|
|
24
|
+
write), see `./shared-preamble.md#connection-handshake-summary`. The canonical per-connection
|
|
25
|
+
specs (setup commands, OAuth flows, capability matrix) live in `../connections/<name>.md` —
|
|
26
|
+
this file does NOT duplicate them; it points at them by name.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Step 1 — Probe all 12 connections
|
|
31
|
+
|
|
32
|
+
Run every probe below in order. MCP probes call `ToolSearch` first (deferred tools fail silently without it). Write every result to `STATE.md <connections>` when done.
|
|
33
|
+
|
|
34
|
+
### MCP-based probes
|
|
35
|
+
|
|
36
|
+
**figma:**
|
|
37
|
+
```
|
|
38
|
+
ToolSearch({ query: "select:mcp__figma__get_metadata", max_results: 1 })
|
|
39
|
+
→ Empty → figma: not_configured
|
|
40
|
+
→ Non-empty → call mcp__figma__get_metadata
|
|
41
|
+
Success → figma: available
|
|
42
|
+
Error → figma: unavailable
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**refero:**
|
|
46
|
+
```
|
|
47
|
+
ToolSearch({ query: "refero", max_results: 5 })
|
|
48
|
+
→ Empty → refero: not_configured
|
|
49
|
+
→ Non-empty → refero: available
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**preview:**
|
|
53
|
+
```
|
|
54
|
+
ToolSearch({ query: "Claude_Preview", max_results: 5 })
|
|
55
|
+
→ Empty → preview: not_configured
|
|
56
|
+
→ Non-empty → call mcp__Claude_Preview__preview_list
|
|
57
|
+
Success → preview: available
|
|
58
|
+
Error → preview: unavailable
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**pinterest:**
|
|
62
|
+
```
|
|
63
|
+
ToolSearch({ query: "mcp-pinterest", max_results: 5 })
|
|
64
|
+
→ Empty → pinterest: not_configured
|
|
65
|
+
→ Non-empty → pinterest: available
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
**paper-design:**
|
|
69
|
+
```
|
|
70
|
+
ToolSearch({ query: "mcp__paper", max_results: 5 })
|
|
71
|
+
→ Empty → paper_design: not_configured
|
|
72
|
+
→ Non-empty → paper_design: available
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**21st-dev:**
|
|
76
|
+
```
|
|
77
|
+
ToolSearch({ query: "mcp__21st", max_results: 5 })
|
|
78
|
+
→ Empty → twenty_first: not_configured
|
|
79
|
+
→ Non-empty → twenty_first: available
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**magic-patterns:**
|
|
83
|
+
```
|
|
84
|
+
ToolSearch({ query: "mcp__magic_patterns", max_results: 5 })
|
|
85
|
+
→ Empty → magic_patterns: not_configured
|
|
86
|
+
→ Non-empty → magic_patterns: available
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Non-MCP probes
|
|
90
|
+
|
|
91
|
+
**storybook** (HTTP):
|
|
92
|
+
```
|
|
93
|
+
Bash: curl -sf http://localhost:6006/index.json 2>/dev/null
|
|
94
|
+
→ Success → storybook: available
|
|
95
|
+
→ Fail → curl -sf http://localhost:6006/stories.json 2>/dev/null
|
|
96
|
+
Success → storybook: available
|
|
97
|
+
Fail → storybook: not_configured
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**chromatic** (CLI + env):
|
|
101
|
+
```
|
|
102
|
+
Bash: command -v chromatic >/dev/null 2>&1 || npx --yes chromatic --version 2>/dev/null
|
|
103
|
+
→ Fail (non-zero) → chromatic: not_configured
|
|
104
|
+
→ Success → check env CHROMATIC_PROJECT_TOKEN
|
|
105
|
+
Empty → chromatic: unavailable
|
|
106
|
+
Set → chromatic: available
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**graphify** (CLI + file):
|
|
110
|
+
```
|
|
111
|
+
Bash: node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" graphify status 2>/dev/null
|
|
112
|
+
→ Error or enabled:false → graphify: not_configured
|
|
113
|
+
→ enabled:true → check graphify-out/graph.json exists
|
|
114
|
+
Absent → graphify: unavailable
|
|
115
|
+
Present → graphify: available
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
**pencil-dev** (file probe):
|
|
119
|
+
```
|
|
120
|
+
Bash: find . -name "*.pen" -not -path "*/node_modules/*" -not -path "*/.git/*" 2>/dev/null | head -1
|
|
121
|
+
→ Empty → pencil_dev: not_configured
|
|
122
|
+
→ Non-empty → pencil_dev: available
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
**claude-design** (file probe — handoff bundle):
|
|
126
|
+
```
|
|
127
|
+
Bash: ls .design/handoff/ 2>/dev/null || find . -maxdepth 3 \
|
|
128
|
+
\( -name "*.claude-design.html" -o -name "*.claude-design.zip" \
|
|
129
|
+
-o -name "claude-design-*.html" \) 2>/dev/null | head -1
|
|
130
|
+
→ Empty → claude_design: not_configured
|
|
131
|
+
→ Non-empty → claude_design: available
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
After all 12 probes complete, merge results into `STATE.md <connections>`. Preserve the three-value schema verbatim (`available | unavailable | not_configured`). Do not add new values.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## Step 2 — Bucket categorization
|
|
139
|
+
|
|
140
|
+
### Project-hint detection
|
|
141
|
+
|
|
142
|
+
Run once, cache in-memory:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
HAS_TAILWIND=$( ls tailwind.config.* 2>/dev/null | head -1 )
|
|
146
|
+
HAS_STORYBOOK_DIR=$( test -d .storybook && echo yes )
|
|
147
|
+
HAS_PEN_FILES=$( find . -name "*.pen" -not -path "*/node_modules/*" 2>/dev/null | head -1 )
|
|
148
|
+
HAS_REACT=$( grep -l '"react"' package.json 2>/dev/null )
|
|
149
|
+
HAS_FIGMA_HINT=$( grep -r "figma\.com/file" -l . --include="*.md" 2>/dev/null | head -1 )
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Bucketing rules
|
|
153
|
+
|
|
154
|
+
| Bucket | Criteria |
|
|
155
|
+
|---|---|
|
|
156
|
+
| **available** | probe returned `available` |
|
|
157
|
+
| **recommended** | probe returned `not_configured` AND matches a project hint below |
|
|
158
|
+
| **optional** | probe returned `not_configured` AND no project hint match |
|
|
159
|
+
| **skipped** | name appears in `config.json connections.skip[]` |
|
|
160
|
+
| **unavailable** | probe returned `unavailable` (configured but broken — needs attention) |
|
|
161
|
+
|
|
162
|
+
### Recommendation mapping
|
|
163
|
+
|
|
164
|
+
| Project hint | Recommend |
|
|
165
|
+
|---|---|
|
|
166
|
+
| `HAS_TAILWIND` or `HAS_FIGMA_HINT` | figma |
|
|
167
|
+
| `HAS_STORYBOOK_DIR` or storybook available | storybook, chromatic |
|
|
168
|
+
| `HAS_PEN_FILES` | pencil-dev |
|
|
169
|
+
| `HAS_REACT` | 21st-dev, magic-patterns |
|
|
170
|
+
| Always | refero, preview |
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## Step 3 — Summary table
|
|
175
|
+
|
|
176
|
+
```
|
|
177
|
+
┌── Connections ──────────────────────────
|
|
178
|
+
Available (<N>)
|
|
179
|
+
• <name> <one-line detail from probe>
|
|
180
|
+
...
|
|
181
|
+
|
|
182
|
+
Unavailable (<N>) — configured but not responding
|
|
183
|
+
⚠ <name> <reason>
|
|
184
|
+
...
|
|
185
|
+
|
|
186
|
+
Recommended for this project (<N>)
|
|
187
|
+
▸ <name> <one-line value prop>
|
|
188
|
+
...
|
|
189
|
+
|
|
190
|
+
Optional (<N>)
|
|
191
|
+
▸ <name> <one-line value prop>
|
|
192
|
+
...
|
|
193
|
+
|
|
194
|
+
Skipped by you (<N>)
|
|
195
|
+
· <name> (re-enable: /gdd:connections <name>)
|
|
196
|
+
─────────────────────────────────────────
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
One-line value props (use verbatim):
|
|
200
|
+
|
|
201
|
+
| Name | Value prop |
|
|
202
|
+
|---|---|
|
|
203
|
+
| figma | design-token extraction, annotations, Code Connect |
|
|
204
|
+
| refero | design reference search for discover stage |
|
|
205
|
+
| preview | live browser screenshots for verify visual checks |
|
|
206
|
+
| storybook | component inventory + per-story a11y |
|
|
207
|
+
| chromatic | visual regression against your Storybook baseline |
|
|
208
|
+
| graphify | knowledge-graph queries over component–token–decision |
|
|
209
|
+
| pinterest | visual inspiration collection |
|
|
210
|
+
| claude-design | Claude Design handoff bundle ingestion |
|
|
211
|
+
| paper-design | bidirectional canvas (free tier: 100 calls/week) |
|
|
212
|
+
| pencil-dev | `.pen` spec files as canonical design source |
|
|
213
|
+
| 21st-dev | AI component generator (marketplace search) |
|
|
214
|
+
| magic-patterns | AI component generator (DS-aware) |
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## Step 4 — Route by mode
|
|
219
|
+
|
|
220
|
+
### Mode: `list` or `--auto`
|
|
221
|
+
|
|
222
|
+
After printing the summary, write STATE.md, append one-line hint: `Run /gdd:connections to configure.` Emit `## CONNECTIONS COMPLETE`. Exit.
|
|
223
|
+
|
|
224
|
+
### Mode: `<connection-name>`
|
|
225
|
+
|
|
226
|
+
Skip the top-level AskUserQuestion. Jump directly to Step 5 for that single connection.
|
|
227
|
+
|
|
228
|
+
### Mode: interactive (default)
|
|
229
|
+
|
|
230
|
+
AskUserQuestion:
|
|
231
|
+
|
|
232
|
+
```
|
|
233
|
+
question: "What would you like to do?"
|
|
234
|
+
options:
|
|
235
|
+
- "Configure recommended (<N>)" → loop Step 5 over recommended bucket
|
|
236
|
+
- "Pick one by one" → loop Step 5 over all not_configured
|
|
237
|
+
- "Configure all optional" → loop Step 5 over optional bucket
|
|
238
|
+
- "Re-check a specific connection" → prompt for name, run Step 1 for it only
|
|
239
|
+
- "Exit" → emit ## CONNECTIONS COMPLETE, exit
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
If recommended bucket is empty, swap that option for "Show all 12 and pick."
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
|
|
246
|
+
## Step 5 — Per-connection setup screen
|
|
247
|
+
|
|
248
|
+
### 5.1 Read the spec
|
|
249
|
+
|
|
250
|
+
Read `connections/<name>.md`. Extract:
|
|
251
|
+
- The "Setup" section (prerequisites + install command)
|
|
252
|
+
- The "Contributes at" row from the capability matrix (stages affected)
|
|
253
|
+
|
|
254
|
+
### 5.2 Present the screen
|
|
255
|
+
|
|
256
|
+
Print:
|
|
257
|
+
|
|
258
|
+
```
|
|
259
|
+
┌─ <name> ────────────────────────────────────────
|
|
260
|
+
│ Status: <current probe result>
|
|
261
|
+
│ Contributes: <one-line value prop from Step 3>
|
|
262
|
+
│ Stages affected: <list from capability matrix>
|
|
263
|
+
│ Requires: <prereqs line from spec>
|
|
264
|
+
│
|
|
265
|
+
│ Setup command:
|
|
266
|
+
│ <install command from spec>
|
|
267
|
+
└─────────────────────────────────────────────────
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### 5.3 AskUserQuestion
|
|
271
|
+
|
|
272
|
+
```
|
|
273
|
+
question: "Install <name>?"
|
|
274
|
+
options:
|
|
275
|
+
- "Run install command now" → 5.4a (auto-run path)
|
|
276
|
+
- "Copy command — I'll run it" → 5.4b (manual path)
|
|
277
|
+
- "Skip for now" → 5.4c (no config change)
|
|
278
|
+
- "Never ask again" → 5.4d (add to skip list)
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### 5.4 Auto-run eligibility matrix
|
|
282
|
+
|
|
283
|
+
**Only auto-run if the install command is reversible.** The matrix:
|
|
284
|
+
|
|
285
|
+
| Connection | Install kind | Auto-run? | Rationale |
|
|
286
|
+
|---|---|---|---|
|
|
287
|
+
| figma | `claude mcp add` (remote MCP) | ✓ yes | Reversible via `claude mcp remove` |
|
|
288
|
+
| preview | built-in, no install | — | Already present or not — no command to run |
|
|
289
|
+
| paper-design | `claude mcp add` | ✓ yes | Reversible |
|
|
290
|
+
| magic-patterns | `claude mcp add` | ✓ yes | Reversible |
|
|
291
|
+
| pinterest | `npx -y @smithery/cli install` | ✓ yes | Smithery CLI manages entry |
|
|
292
|
+
| refero | vendor-specific install | ✗ no | Vendor doesn't document a stable CLI — print link only |
|
|
293
|
+
| storybook | `npx storybook init` | ✗ no | Mutates repo files — force manual |
|
|
294
|
+
| chromatic | `npm install --save-dev chromatic` + env var | ✗ no | Writes package.json + needs `CHROMATIC_PROJECT_TOKEN` — force manual |
|
|
295
|
+
| graphify | `pip install` + `gsd-tools config-set` | ✗ no | Python install + cross-tool config — force manual |
|
|
296
|
+
| 21st-dev | `npx @21st-dev/magic init` + env var | ✗ no | Env var required — force manual |
|
|
297
|
+
| pencil-dev | VS Code extension | ✗ no | IDE-level install — force manual |
|
|
298
|
+
| claude-design | handoff bundle drop | ✗ no | User-driven file drop — force manual |
|
|
299
|
+
|
|
300
|
+
For non-auto-run connections, hide the "Run install command now" option entirely in 5.3.
|
|
301
|
+
|
|
302
|
+
### 5.4a — Auto-run path
|
|
303
|
+
|
|
304
|
+
Bash the install command. On success: print stdout, print `"Installed. Session restart required before <name> is usable."`, append `<name>` to `.design/config.json > connections_onboarding.pending_verification[]`.
|
|
305
|
+
|
|
306
|
+
On failure: print stderr, print `"Install failed. Copy the command and run it manually, then rerun /gdd:connections <name> to verify."` Do not record pending_verification.
|
|
307
|
+
|
|
308
|
+
### 5.4b — Manual path
|
|
309
|
+
|
|
310
|
+
Print the install command inside a fenced code block for easy copy. Print: `"After installing, restart the session and run /gdd:connections <name> to verify."` Append `<name>` to `connections_onboarding.pending_verification[]`.
|
|
311
|
+
|
|
312
|
+
### 5.4c — Skip for now
|
|
313
|
+
|
|
314
|
+
No config change. Continue loop.
|
|
315
|
+
|
|
316
|
+
### 5.4d — Never ask again
|
|
317
|
+
|
|
318
|
+
Read `.design/config.json`. Ensure `connections.skip` is an array. Append `<name>` if not present. Write back.
|
|
319
|
+
|
|
320
|
+
### 5.5 After every per-connection screen
|
|
321
|
+
|
|
322
|
+
If mode is `<connection-name>` (single-target invocation), skip straight to Step 6. Otherwise continue the loop.
|
|
323
|
+
|
|
324
|
+
---
|
|
325
|
+
|
|
326
|
+
## Step 6 — Verification pass
|
|
327
|
+
|
|
328
|
+
Re-probe every connection whose name appears in `connections_onboarding.pending_verification[]`. For each:
|
|
329
|
+
|
|
330
|
+
- Now `available` → remove from `pending_verification[]`. Update STATE.md.
|
|
331
|
+
- Still `not_configured` → leave in `pending_verification[]`. User probably needs a session restart.
|
|
332
|
+
- Now `unavailable` → leave in `pending_verification[]`, print: `"<name> installed but probe errored — OAuth or auth may be required."`
|
|
333
|
+
|
|
334
|
+
Write STATE.md `<connections>` and `.design/config.json`.
|
|
335
|
+
|
|
336
|
+
### Print summary
|
|
337
|
+
|
|
338
|
+
```
|
|
339
|
+
┌── Setup complete ──
|
|
340
|
+
Newly available: <list>
|
|
341
|
+
Still pending (needs session restart): <list>
|
|
342
|
+
Skipped permanently: <list>
|
|
343
|
+
─────────────────────
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
If any pending remain, print: `"After restarting the session, run /gdd:connections to verify remaining."`
|
|
347
|
+
|
|
348
|
+
If no pending remain and at least one install happened, print: `"Run /gdd:scan to start your first cycle, or /gdd:brief to capture a design problem."`
|
|
349
|
+
|
|
350
|
+
---
|
|
351
|
+
|
|
352
|
+
## Resumability
|
|
353
|
+
|
|
354
|
+
If `.design/config.json > connections_onboarding.pending_verification[]` is non-empty at entry, this is a resumed session (most likely after a restart for a just-installed MCP):
|
|
355
|
+
|
|
356
|
+
1. Print: `"Resuming — <N> connections pending verification: <list>"`
|
|
357
|
+
2. Run Step 6 (verification pass) immediately.
|
|
358
|
+
3. If resumption completes cleanly (empty pending list), emit `## CONNECTIONS COMPLETE` and exit — do not re-enter the wizard.
|
|
359
|
+
4. Otherwise, fall through to Step 3 (summary) with the still-pending connections visible as `unavailable`.
|
|
360
|
+
|
|
361
|
+
---
|
|
362
|
+
|
|
363
|
+
## Config file writes
|
|
364
|
+
|
|
365
|
+
### `.design/config.json > connections.skip[]`
|
|
366
|
+
|
|
367
|
+
Pattern: read whole file, merge one field, write back (matches `/gdd:settings` pattern).
|
|
368
|
+
|
|
369
|
+
```json
|
|
370
|
+
{
|
|
371
|
+
"model_profile": "balanced",
|
|
372
|
+
"parallelism": { ... },
|
|
373
|
+
"connections": {
|
|
374
|
+
"skip": ["pinterest", "graphify"]
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
### `.design/config.json > connections_onboarding` (scratch block)
|
|
380
|
+
|
|
381
|
+
Deleted automatically when empty after a verification pass:
|
|
382
|
+
|
|
383
|
+
```json
|
|
384
|
+
{
|
|
385
|
+
"connections_onboarding": {
|
|
386
|
+
"started_at": "<ISO 8601>",
|
|
387
|
+
"pending_verification": ["figma", "chromatic"]
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
### `STATE.md <connections>` write
|
|
393
|
+
|
|
394
|
+
Always merge, never replace — other stages may have written entries this skill did not probe.
|
|
395
|
+
|
|
396
|
+
Key normalization:
|
|
397
|
+
- `21st-dev` → `twenty_first` in STATE.md (no leading digit in XML-ish key).
|
|
398
|
+
- `magic-patterns` → `magic_patterns`.
|
|
399
|
+
- `paper-design` → `paper_design`.
|
|
400
|
+
- `pencil-dev` → `pencil_dev`.
|
|
401
|
+
- `claude-design` → `claude_design`.
|
|
402
|
+
- All other names map 1:1.
|
|
403
|
+
|
|
404
|
+
---
|
|
405
|
+
|
|
406
|
+
## Do Not
|
|
407
|
+
|
|
408
|
+
- Never run `npm install -g` globals automatically. Always force manual path for globals.
|
|
409
|
+
- Never write to `~/.bashrc`, `~/.zshrc`, or shell RC files. Env-var setup is always manual.
|
|
410
|
+
- Never run `claude mcp add` without explicit `"Run install command now"` confirmation.
|
|
411
|
+
- Never auto-restart the Claude Code session. Print the instruction and let the user act.
|
|
412
|
+
- Never re-prompt for names in `connections.skip[]`. If the user wants to re-enable, they invoke `/gdd:connections <name>` explicitly.
|
|
413
|
+
- Never overwrite existing `<connections>` entries that this skill did not probe. Merge only.
|
|
414
|
+
|
|
415
|
+
---
|
|
416
|
+
|
|
417
|
+
*Imported by: `../skills/connections/SKILL.md`. Maintained as part of Phase 28.5 (Bucket 2 rework — D-10).*
|
package/skills/continue/SKILL.md
CHANGED