opengstack 0.13.10 → 0.14.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.
Files changed (151) hide show
  1. package/{skills/land-and-deploy/SKILL.md → commands/autoplan.md} +0 -16
  2. package/{skills/benchmark/SKILL.md → commands/benchmark.md} +0 -17
  3. package/{skills/browse/SKILL.md → commands/browse.md} +0 -17
  4. package/{skills/ship/SKILL.md → commands/canary.md} +0 -18
  5. package/{skills/careful/SKILL.md → commands/careful.md} +0 -20
  6. package/{skills/canary/SKILL.md → commands/codex.md} +0 -17
  7. package/{skills/connect-chrome/SKILL.md → commands/connect-chrome.md} +0 -15
  8. package/commands/cso.md +72 -0
  9. package/commands/design-consultation.md +72 -0
  10. package/commands/design-review.md +72 -0
  11. package/commands/design-shotgun.md +72 -0
  12. package/commands/document-release.md +72 -0
  13. package/{skills/freeze/SKILL.md → commands/freeze.md} +0 -26
  14. package/{skills/gstack-upgrade/SKILL.md → commands/gstack-upgrade.md} +0 -14
  15. package/{skills/guard/SKILL.md → commands/guard.md} +0 -31
  16. package/commands/investigate.md +72 -0
  17. package/commands/land-and-deploy.md +72 -0
  18. package/commands/office-hours.md +72 -0
  19. package/commands/plan-ceo-review.md +72 -0
  20. package/commands/plan-design-review.md +72 -0
  21. package/commands/plan-eng-review.md +72 -0
  22. package/commands/qa-only.md +72 -0
  23. package/commands/qa.md +72 -0
  24. package/commands/retro.md +72 -0
  25. package/commands/review.md +72 -0
  26. package/{skills/setup-browser-cookies/SKILL.md → commands/setup-browser-cookies.md} +0 -14
  27. package/commands/setup-deploy.md +72 -0
  28. package/commands/ship.md +72 -0
  29. package/{skills/unfreeze/SKILL.md → commands/unfreeze.md} +0 -12
  30. package/package.json +4 -4
  31. package/scripts/install-commands.js +45 -0
  32. package/skills/autoplan/SKILL.md +0 -96
  33. package/skills/autoplan/SKILL.md.tmpl +0 -694
  34. package/skills/benchmark/SKILL.md.tmpl +0 -222
  35. package/skills/browse/SKILL.md.tmpl +0 -131
  36. package/skills/browse/bin/find-browse +0 -21
  37. package/skills/browse/bin/remote-slug +0 -14
  38. package/skills/browse/scripts/build-node-server.sh +0 -48
  39. package/skills/browse/src/activity.ts +0 -208
  40. package/skills/browse/src/browser-manager.ts +0 -959
  41. package/skills/browse/src/buffers.ts +0 -137
  42. package/skills/browse/src/bun-polyfill.cjs +0 -109
  43. package/skills/browse/src/cli.ts +0 -678
  44. package/skills/browse/src/commands.ts +0 -128
  45. package/skills/browse/src/config.ts +0 -150
  46. package/skills/browse/src/cookie-import-browser.ts +0 -625
  47. package/skills/browse/src/cookie-picker-routes.ts +0 -230
  48. package/skills/browse/src/cookie-picker-ui.ts +0 -688
  49. package/skills/browse/src/find-browse.ts +0 -61
  50. package/skills/browse/src/meta-commands.ts +0 -550
  51. package/skills/browse/src/platform.ts +0 -17
  52. package/skills/browse/src/read-commands.ts +0 -358
  53. package/skills/browse/src/server.ts +0 -1192
  54. package/skills/browse/src/sidebar-agent.ts +0 -280
  55. package/skills/browse/src/sidebar-utils.ts +0 -21
  56. package/skills/browse/src/snapshot.ts +0 -407
  57. package/skills/browse/src/url-validation.ts +0 -95
  58. package/skills/browse/src/write-commands.ts +0 -364
  59. package/skills/browse/test/activity.test.ts +0 -120
  60. package/skills/browse/test/adversarial-security.test.ts +0 -32
  61. package/skills/browse/test/browser-manager-unit.test.ts +0 -17
  62. package/skills/browse/test/bun-polyfill.test.ts +0 -72
  63. package/skills/browse/test/commands.test.ts +0 -2075
  64. package/skills/browse/test/compare-board.test.ts +0 -342
  65. package/skills/browse/test/config.test.ts +0 -316
  66. package/skills/browse/test/cookie-import-browser.test.ts +0 -519
  67. package/skills/browse/test/cookie-picker-routes.test.ts +0 -260
  68. package/skills/browse/test/file-drop.test.ts +0 -271
  69. package/skills/browse/test/find-browse.test.ts +0 -50
  70. package/skills/browse/test/findport.test.ts +0 -191
  71. package/skills/browse/test/fixtures/basic.html +0 -33
  72. package/skills/browse/test/fixtures/cursor-interactive.html +0 -22
  73. package/skills/browse/test/fixtures/dialog.html +0 -15
  74. package/skills/browse/test/fixtures/empty.html +0 -2
  75. package/skills/browse/test/fixtures/forms.html +0 -55
  76. package/skills/browse/test/fixtures/iframe.html +0 -30
  77. package/skills/browse/test/fixtures/network-idle.html +0 -30
  78. package/skills/browse/test/fixtures/qa-eval-checkout.html +0 -108
  79. package/skills/browse/test/fixtures/qa-eval-spa.html +0 -98
  80. package/skills/browse/test/fixtures/qa-eval.html +0 -51
  81. package/skills/browse/test/fixtures/responsive.html +0 -49
  82. package/skills/browse/test/fixtures/snapshot.html +0 -55
  83. package/skills/browse/test/fixtures/spa.html +0 -24
  84. package/skills/browse/test/fixtures/states.html +0 -17
  85. package/skills/browse/test/fixtures/upload.html +0 -25
  86. package/skills/browse/test/gstack-config.test.ts +0 -138
  87. package/skills/browse/test/gstack-update-check.test.ts +0 -514
  88. package/skills/browse/test/handoff.test.ts +0 -235
  89. package/skills/browse/test/path-validation.test.ts +0 -91
  90. package/skills/browse/test/platform.test.ts +0 -37
  91. package/skills/browse/test/server-auth.test.ts +0 -65
  92. package/skills/browse/test/sidebar-agent-roundtrip.test.ts +0 -226
  93. package/skills/browse/test/sidebar-agent.test.ts +0 -199
  94. package/skills/browse/test/sidebar-integration.test.ts +0 -320
  95. package/skills/browse/test/sidebar-unit.test.ts +0 -96
  96. package/skills/browse/test/snapshot.test.ts +0 -467
  97. package/skills/browse/test/state-ttl.test.ts +0 -35
  98. package/skills/browse/test/test-server.ts +0 -57
  99. package/skills/browse/test/url-validation.test.ts +0 -72
  100. package/skills/browse/test/watch.test.ts +0 -129
  101. package/skills/canary/SKILL.md.tmpl +0 -212
  102. package/skills/careful/SKILL.md.tmpl +0 -56
  103. package/skills/careful/bin/check-careful.sh +0 -112
  104. package/skills/codex/SKILL.md +0 -90
  105. package/skills/codex/SKILL.md.tmpl +0 -417
  106. package/skills/connect-chrome/SKILL.md.tmpl +0 -195
  107. package/skills/cso/ACKNOWLEDGEMENTS.md +0 -14
  108. package/skills/cso/SKILL.md +0 -93
  109. package/skills/cso/SKILL.md.tmpl +0 -606
  110. package/skills/design-consultation/SKILL.md +0 -94
  111. package/skills/design-consultation/SKILL.md.tmpl +0 -415
  112. package/skills/design-review/SKILL.md +0 -94
  113. package/skills/design-review/SKILL.md.tmpl +0 -290
  114. package/skills/design-shotgun/SKILL.md +0 -91
  115. package/skills/design-shotgun/SKILL.md.tmpl +0 -285
  116. package/skills/document-release/SKILL.md +0 -91
  117. package/skills/document-release/SKILL.md.tmpl +0 -359
  118. package/skills/freeze/SKILL.md.tmpl +0 -77
  119. package/skills/freeze/bin/check-freeze.sh +0 -79
  120. package/skills/gstack-upgrade/SKILL.md.tmpl +0 -222
  121. package/skills/guard/SKILL.md.tmpl +0 -77
  122. package/skills/investigate/SKILL.md +0 -105
  123. package/skills/investigate/SKILL.md.tmpl +0 -194
  124. package/skills/land-and-deploy/SKILL.md.tmpl +0 -881
  125. package/skills/office-hours/SKILL.md +0 -96
  126. package/skills/office-hours/SKILL.md.tmpl +0 -645
  127. package/skills/plan-ceo-review/SKILL.md +0 -94
  128. package/skills/plan-ceo-review/SKILL.md.tmpl +0 -811
  129. package/skills/plan-design-review/SKILL.md +0 -92
  130. package/skills/plan-design-review/SKILL.md.tmpl +0 -446
  131. package/skills/plan-eng-review/SKILL.md +0 -93
  132. package/skills/plan-eng-review/SKILL.md.tmpl +0 -303
  133. package/skills/qa/SKILL.md +0 -95
  134. package/skills/qa/SKILL.md.tmpl +0 -316
  135. package/skills/qa/references/issue-taxonomy.md +0 -85
  136. package/skills/qa/templates/qa-report-template.md +0 -126
  137. package/skills/qa-only/SKILL.md +0 -89
  138. package/skills/qa-only/SKILL.md.tmpl +0 -101
  139. package/skills/retro/SKILL.md +0 -89
  140. package/skills/retro/SKILL.md.tmpl +0 -820
  141. package/skills/review/SKILL.md +0 -92
  142. package/skills/review/SKILL.md.tmpl +0 -281
  143. package/skills/review/TODOS-format.md +0 -62
  144. package/skills/review/checklist.md +0 -220
  145. package/skills/review/design-checklist.md +0 -132
  146. package/skills/review/greptile-triage.md +0 -220
  147. package/skills/setup-browser-cookies/SKILL.md.tmpl +0 -81
  148. package/skills/setup-deploy/SKILL.md +0 -92
  149. package/skills/setup-deploy/SKILL.md.tmpl +0 -215
  150. package/skills/ship/SKILL.md.tmpl +0 -636
  151. package/skills/unfreeze/SKILL.md.tmpl +0 -36
@@ -1,215 +0,0 @@
1
- ---
2
- name: setup-deploy
3
- preamble-tier: 2
4
- version: 1.0.0
5
- description: |
6
- Configure deployment settings for /land-and-deploy. Detects your deploy
7
- platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom),
8
- production URL, health check endpoints, and deploy status commands. Writes
9
- the configuration to CLAUDE.md so all future deploys are automatic.
10
- Use when: "setup deploy", "configure deployment", "set up land-and-deploy",
11
- "how do I deploy with gstack", "add deploy config".
12
- allowed-tools:
13
- - Bash
14
- - Read
15
- - Write
16
- - Edit
17
- - Glob
18
- - Grep
19
- - AskUserQuestion
20
- ---
21
-
22
- {{PREAMBLE}}
23
-
24
- # /setup-deploy — Configure Deployment for gstack
25
-
26
- You are helping the user configure their deployment so `/land-and-deploy` works
27
- automatically. Your job is to detect the deploy platform, production URL, health
28
- checks, and deploy status commands — then persist everything to CLAUDE.md.
29
-
30
- After this runs once, `/land-and-deploy` reads CLAUDE.md and skips detection entirely.
31
-
32
- ## User-invocable
33
- When the user types `/setup-deploy`, run this skill.
34
-
35
- ## Instructions
36
-
37
- ### Step 1: Check existing configuration
38
-
39
- ```bash
40
- grep -A 20 "## Deploy Configuration" CLAUDE.md 2>/dev/null || echo "NO_CONFIG"
41
-
42
- If configuration already exists, show it and ask:
43
-
44
- - **Context:** Deploy configuration already exists in CLAUDE.md.
45
- - **RECOMMENDATION:** Choose A to update if your setup changed.
46
- - A) Reconfigure from scratch (overwrite existing)
47
- - B) Edit specific fields (show current config, let me change one thing)
48
- - C) Done — configuration looks correct
49
-
50
- If the user picks C, stop.
51
-
52
- ### Step 2: Detect platform
53
-
54
- Run the platform detection from the deploy bootstrap:
55
-
56
- ```bash
57
- # Platform config files
58
- [ -f fly.toml ] && echo "PLATFORM:fly" && cat fly.toml
59
- [ -f render.yaml ] && echo "PLATFORM:render" && cat render.yaml
60
- [ -f vercel.json ] || [ -d .vercel ] && echo "PLATFORM:vercel"
61
- [ -f netlify.toml ] && echo "PLATFORM:netlify" && cat netlify.toml
62
- [ -f Procfile ] && echo "PLATFORM:heroku"
63
- [ -f railway.json ] || [ -f railway.toml ] && echo "PLATFORM:railway"
64
-
65
- # GitHub Actions deploy workflows
66
- for f in $(find .github/workflows -maxdepth 1 \( -name '*.yml' -o -name '*.yaml' \) 2>/dev/null); do
67
- [ -f "$f" ] && grep -qiE "deploy|release|production|staging|cd" "$f" 2>/dev/null && echo "DEPLOY_WORKFLOW:$f"
68
- done
69
-
70
- # Project type
71
- [ -f package.json ] && grep -q '"bin"' package.json 2>/dev/null && echo "PROJECT_TYPE:cli"
72
- find . -maxdepth 1 -name '*.gemspec' 2>/dev/null | grep -q . && echo "PROJECT_TYPE:library"
73
-
74
- ### Step 3: Platform-specific setup
75
-
76
- Based on what was detected, guide the user through platform-specific configuration.
77
-
78
- #### Fly.io
79
-
80
- If `fly.toml` detected:
81
-
82
- 1. Extract app name: `grep -m1 "^app" fly.toml | sed 's/app = "\(.*\)"/\1/'`
83
- 2. Check if `fly` CLI is installed: `which fly 2>/dev/null`
84
- 3. If installed, verify: `fly status --app {app} 2>/dev/null`
85
- 4. Infer URL: `https://{app}.fly.dev`
86
- 5. Set deploy status command: `fly status --app {app}`
87
- 6. Set health check: `https://{app}.fly.dev` (or `/health` if the app has one)
88
-
89
- Ask the user to confirm the production URL. Some Fly apps use custom domains.
90
-
91
- #### Render
92
-
93
- If `render.yaml` detected:
94
-
95
- 1. Extract service name and type from render.yaml
96
- 2. Check for Render API key: `echo $RENDER_API_KEY | head -c 4` (don't expose the full key)
97
- 3. Infer URL: `https://{service-name}.onrender.com`
98
- 4. Render deploys automatically on push to the connected branch — no deploy workflow needed
99
- 5. Set health check: the inferred URL
100
-
101
- Ask the user to confirm. Render uses auto-deploy from the connected git branch — after
102
- merge to main, Render picks it up automatically. The "deploy wait" in /land-and-deploy
103
- should poll the Render URL until it responds with the new version.
104
-
105
- #### Vercel
106
-
107
- If vercel.json or .vercel detected:
108
-
109
- 1. Check for `vercel` CLI: `which vercel 2>/dev/null`
110
- 2. If installed: `vercel ls --prod 2>/dev/null | head -3`
111
- 3. Vercel deploys automatically on push — preview on PR, production on merge to main
112
- 4. Set health check: the production URL from vercel project settings
113
-
114
- #### Netlify
115
-
116
- If netlify.toml detected:
117
-
118
- 1. Extract site info from netlify.toml
119
- 2. Netlify deploys automatically on push
120
- 3. Set health check: the production URL
121
-
122
- #### GitHub Actions only
123
-
124
- If deploy workflows detected but no platform config:
125
-
126
- 1. Read the workflow file to understand what it does
127
- 2. Extract the deploy target (if mentioned)
128
- 3. Ask the user for the production URL
129
-
130
- #### Custom / Manual
131
-
132
- If nothing detected:
133
-
134
- Use AskUserQuestion to gather the information:
135
-
136
- 1. **How are deploys triggered?**
137
- - A) Automatically on push to main (Fly, Render, Vercel, Netlify, etc.)
138
- - B) Via GitHub Actions workflow
139
- - C) Via a deploy script or CLI command (describe it)
140
- - D) Manually (SSH, dashboard, etc.)
141
- - E) This project doesn't deploy (library, CLI, tool)
142
-
143
- 2. **What's the production URL?** (Free text — the URL where the app runs)
144
-
145
- 3. **How can gstack check if a deploy succeeded?**
146
- - A) HTTP health check at a specific URL (e.g., /health, /api/status)
147
- - B) CLI command (e.g., `fly status`, `kubectl rollout status`)
148
- - C) Check the GitHub Actions workflow status
149
- - D) No automated way — just check the URL loads
150
-
151
- 4. **Any pre-merge or post-merge hooks?**
152
- - Commands to run before merging (e.g., `bun run build`)
153
- - Commands to run after merge but before deploy verification
154
-
155
- ### Step 4: Write configuration
156
-
157
- Read CLAUDE.md (or create it). Find and replace the `## Deploy Configuration` section
158
- if it exists, or append it at the end.
159
-
160
- ```markdown
161
- ## Deploy Configuration (configured by /setup-deploy)
162
- - Platform: {platform}
163
- - Production URL: {url}
164
- - Deploy workflow: {workflow file or "auto-deploy on push"}
165
- - Deploy status command: {command or "HTTP health check"}
166
- - Merge method: {squash/merge/rebase}
167
- - Project type: {web app / API / CLI / library}
168
- - Post-deploy health check: {health check URL or command}
169
-
170
- ### Custom deploy hooks
171
- - Pre-merge: {command or "none"}
172
- - Deploy trigger: {command or "automatic on push to main"}
173
- - Deploy status: {command or "poll production URL"}
174
- - Health check: {URL or command}
175
-
176
- ### Step 5: Verify
177
-
178
- After writing, verify the configuration works:
179
-
180
- 1. If a health check URL was configured, try it:
181
- ```bash
182
- curl -sf "{health-check-url}" -o /dev/null -w "%{http_code}" 2>/dev/null || echo "UNREACHABLE"
183
-
184
- 2. If a deploy status command was configured, try it:
185
- ```bash
186
- {deploy-status-command} 2>/dev/null | head -5 || echo "COMMAND_FAILED"
187
-
188
- Report results. If anything failed, note it but don't block — the config is still
189
- useful even if the health check is temporarily unreachable.
190
-
191
- ### Step 6: Summary
192
-
193
-
194
- DEPLOY CONFIGURATION — COMPLETE
195
- ════════════════════════════════
196
- Platform: {platform}
197
- URL: {url}
198
- Health check: {health check}
199
- Status cmd: {status command}
200
- Merge method: {merge method}
201
-
202
- Saved to CLAUDE.md. /land-and-deploy will use these settings automatically.
203
-
204
- Next steps:
205
- - Run /land-and-deploy to merge and deploy your current PR
206
- - Edit the "## Deploy Configuration" section in CLAUDE.md to change settings
207
- - Run /setup-deploy again to reconfigure
208
-
209
- ## Important Rules
210
-
211
- - **Never expose secrets.** Don't print full API keys, tokens, or passwords.
212
- - **Confirm with the user.** Always show the detected config and ask for confirmation before writing.
213
- - **CLAUDE.md is the source of truth.** All configuration lives there — not in a separate config file.
214
- - **Idempotent.** Running /setup-deploy multiple times overwrites the previous config cleanly.
215
- - **Platform CLIs are optional.** If `fly` or `vercel` CLI isn't installed, fall back to URL-based health checks.