@opengsd/gsd-core 1.4.4 → 1.5.0-rc.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.
Files changed (197) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README.md +3 -3
  3. package/agents/gsd-code-fixer.md +3 -2
  4. package/agents/gsd-debug-session-manager.md +2 -1
  5. package/agents/gsd-debugger.md +4 -3
  6. package/agents/gsd-executor.md +17 -16
  7. package/agents/gsd-intel-updater.md +38 -41
  8. package/agents/gsd-phase-researcher.md +8 -8
  9. package/agents/gsd-plan-checker.md +23 -13
  10. package/agents/gsd-planner.md +32 -188
  11. package/agents/gsd-project-researcher.md +5 -4
  12. package/agents/gsd-research-synthesizer.md +2 -1
  13. package/agents/gsd-ui-researcher.md +2 -1
  14. package/agents/gsd-verifier.md +12 -11
  15. package/bin/install.js +965 -1486
  16. package/commands/gsd/autonomous.md +5 -1
  17. package/commands/gsd/ns-manage.md +8 -1
  18. package/commands/gsd/ns-project.md +5 -0
  19. package/commands/gsd/ns-review.md +4 -1
  20. package/commands/gsd/ns-workflow.md +7 -1
  21. package/commands/gsd/plan-review-convergence.md +5 -4
  22. package/commands/gsd/surface.md +12 -5
  23. package/gemini-extension.json +1 -1
  24. package/gsd-core/bin/gsd-tools.cjs +198 -101
  25. package/gsd-core/bin/gsd_run +20 -0
  26. package/gsd-core/bin/lib/audit-command-router.cjs +61 -0
  27. package/gsd-core/bin/lib/capability-registry.cjs +2234 -0
  28. package/gsd-core/bin/lib/capability-state.cjs +336 -0
  29. package/gsd-core/bin/lib/check-command-router.cjs +133 -2
  30. package/gsd-core/bin/lib/cli-exit.cjs +22 -3
  31. package/gsd-core/bin/lib/config-loader.cjs +716 -0
  32. package/gsd-core/bin/lib/configuration.cjs +4 -34
  33. package/gsd-core/bin/lib/core-utils.cjs +198 -0
  34. package/gsd-core/bin/lib/core.cjs +107 -1817
  35. package/gsd-core/bin/lib/edge-probe.cjs +173 -0
  36. package/gsd-core/bin/lib/fallow-runner.cjs +63 -25
  37. package/gsd-core/bin/lib/federated-config.cjs +182 -0
  38. package/gsd-core/bin/lib/graphify-command-router.cjs +74 -0
  39. package/gsd-core/bin/lib/init.cjs +58 -12
  40. package/gsd-core/bin/lib/install-profiles.cjs +157 -3
  41. package/gsd-core/bin/lib/intel-command-router.cjs +116 -0
  42. package/gsd-core/bin/lib/intel.cjs +3 -3
  43. package/gsd-core/bin/lib/io.cjs +222 -0
  44. package/gsd-core/bin/lib/loop-host-contract.cjs +105 -0
  45. package/gsd-core/bin/lib/loop-resolver.cjs +460 -0
  46. package/gsd-core/bin/lib/model-resolver.cjs +426 -0
  47. package/gsd-core/bin/lib/phase-command-router.cjs +20 -0
  48. package/gsd-core/bin/lib/phase-id.cjs +215 -0
  49. package/gsd-core/bin/lib/phase-locator.cjs +148 -0
  50. package/gsd-core/bin/lib/phase.cjs +17 -0
  51. package/gsd-core/bin/lib/probe-core.cjs +257 -0
  52. package/gsd-core/bin/lib/profile-pipeline.cjs +2 -2
  53. package/gsd-core/bin/lib/roadmap-parser.cjs +443 -0
  54. package/gsd-core/bin/lib/roadmap.cjs +44 -1
  55. package/gsd-core/bin/lib/runtime-artifact-layout.cjs +92 -95
  56. package/gsd-core/bin/lib/runtime-config-adapter-registry.cjs +68 -29
  57. package/gsd-core/bin/lib/runtime-homes.cjs +163 -87
  58. package/gsd-core/bin/lib/runtime-hooks-surface.cjs +1439 -0
  59. package/gsd-core/bin/lib/runtime-name-policy.cjs +2 -1
  60. package/gsd-core/bin/lib/runtime-slash.cjs +7 -2
  61. package/gsd-core/bin/lib/shell-command-projection.cjs +13 -0
  62. package/gsd-core/bin/lib/state-document.cjs +8 -0
  63. package/gsd-core/bin/lib/state.cjs +114 -2
  64. package/gsd-core/bin/lib/surface.cjs +66 -14
  65. package/gsd-core/bin/lib/uat-predicate.cjs +329 -0
  66. package/gsd-core/bin/lib/update-context.cjs +4 -1
  67. package/gsd-core/bin/lib/verify.cjs +104 -1
  68. package/gsd-core/bin/lib/worktree-base-ref.cjs +33 -8
  69. package/gsd-core/bin/shared/model-catalog.json +11 -6
  70. package/gsd-core/bin/shared/runtime-aliases.manifest.json +5 -1
  71. package/gsd-core/references/edge-probe-fixtures/01-round-half-even/expected-coverage.json +7 -0
  72. package/gsd-core/references/edge-probe-fixtures/01-round-half-even/requirements.json +1 -0
  73. package/gsd-core/references/edge-probe-fixtures/02-merge-intervals/expected-coverage.json +8 -0
  74. package/gsd-core/references/edge-probe-fixtures/02-merge-intervals/requirements.json +1 -0
  75. package/gsd-core/references/edge-probe-fixtures/03-truncate-graphemes/expected-coverage.json +7 -0
  76. package/gsd-core/references/edge-probe-fixtures/03-truncate-graphemes/requirements.json +1 -0
  77. package/gsd-core/references/edge-probe-fixtures/04-money-rounding/expected-coverage.json +7 -0
  78. package/gsd-core/references/edge-probe-fixtures/04-money-rounding/requirements.json +1 -0
  79. package/gsd-core/references/edge-probe-fixtures/05-list-dedupe/expected-coverage.json +8 -0
  80. package/gsd-core/references/edge-probe-fixtures/05-list-dedupe/requirements.json +1 -0
  81. package/gsd-core/references/edge-probe-fixtures/06-resolved-mixed/expected-coverage.json +8 -0
  82. package/gsd-core/references/edge-probe-fixtures/06-resolved-mixed/requirements.json +1 -0
  83. package/gsd-core/references/edge-probe-fixtures/06-resolved-mixed/resolutions.json +4 -0
  84. package/gsd-core/references/edge-probe.md +261 -0
  85. package/gsd-core/references/planner-antipatterns.md +41 -0
  86. package/gsd-core/references/planner-guidance.md +186 -0
  87. package/gsd-core/references/planner-reviews.md +5 -2
  88. package/gsd-core/templates/phase-prompt.md +7 -7
  89. package/gsd-core/templates/project.md +19 -2
  90. package/gsd-core/templates/spec.md +12 -0
  91. package/gsd-core/templates/summary-complex.md +1 -0
  92. package/gsd-core/templates/summary-minimal.md +1 -0
  93. package/gsd-core/templates/summary-standard.md +1 -0
  94. package/gsd-core/templates/summary.md +1 -0
  95. package/gsd-core/workflows/_runtime-launcher.snippet.sh +1 -1
  96. package/gsd-core/workflows/add-backlog.md +1 -1
  97. package/gsd-core/workflows/add-phase.md +1 -1
  98. package/gsd-core/workflows/add-tests.md +1 -1
  99. package/gsd-core/workflows/add-todo.md +1 -1
  100. package/gsd-core/workflows/ai-integration-phase.md +1 -1
  101. package/gsd-core/workflows/audit-fix.md +1 -1
  102. package/gsd-core/workflows/audit-milestone.md +1 -1
  103. package/gsd-core/workflows/audit-uat.md +1 -1
  104. package/gsd-core/workflows/autonomous.md +111 -51
  105. package/gsd-core/workflows/check-todos.md +1 -1
  106. package/gsd-core/workflows/cleanup.md +1 -1
  107. package/gsd-core/workflows/code-review-fix.md +6 -4
  108. package/gsd-core/workflows/code-review.md +53 -17
  109. package/gsd-core/workflows/complete-milestone.md +11 -5
  110. package/gsd-core/workflows/debug.md +1 -1
  111. package/gsd-core/workflows/diagnose-issues.md +1 -1
  112. package/gsd-core/workflows/discuss-phase/modes/advisor.md +1 -1
  113. package/gsd-core/workflows/discuss-phase/modes/auto.md +1 -1
  114. package/gsd-core/workflows/discuss-phase/modes/chain.md +1 -1
  115. package/gsd-core/workflows/discuss-phase-assumptions.md +1 -1
  116. package/gsd-core/workflows/discuss-phase.md +8 -1
  117. package/gsd-core/workflows/do.md +1 -1
  118. package/gsd-core/workflows/docs-update.md +1 -1
  119. package/gsd-core/workflows/edit-phase.md +1 -1
  120. package/gsd-core/workflows/eval-review.md +4 -1
  121. package/gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md +1 -1
  122. package/gsd-core/workflows/execute-phase/steps/post-merge-gate.md +1 -1
  123. package/gsd-core/workflows/execute-phase.md +8 -1
  124. package/gsd-core/workflows/execute-plan.md +1 -1
  125. package/gsd-core/workflows/explore.md +1 -1
  126. package/gsd-core/workflows/extract-learnings.md +1 -1
  127. package/gsd-core/workflows/forensics.md +1 -1
  128. package/gsd-core/workflows/graduation.md +1 -1
  129. package/gsd-core/workflows/health.md +1 -1
  130. package/gsd-core/workflows/help/modes/full.md +1 -1
  131. package/gsd-core/workflows/import.md +1 -1
  132. package/gsd-core/workflows/ingest-docs.md +1 -1
  133. package/gsd-core/workflows/insert-phase.md +1 -1
  134. package/gsd-core/workflows/list-workspaces.md +1 -1
  135. package/gsd-core/workflows/manager.md +1 -1
  136. package/gsd-core/workflows/map-codebase.md +1 -1
  137. package/gsd-core/workflows/milestone-summary.md +1 -1
  138. package/gsd-core/workflows/mvp-phase.md +1 -1
  139. package/gsd-core/workflows/new-milestone.md +9 -1
  140. package/gsd-core/workflows/new-project.md +9 -1
  141. package/gsd-core/workflows/new-workspace.md +1 -1
  142. package/gsd-core/workflows/next.md +1 -1
  143. package/gsd-core/workflows/pause-work.md +1 -1
  144. package/gsd-core/workflows/plan-milestone-gaps.md +1 -1
  145. package/gsd-core/workflows/plan-phase.md +65 -28
  146. package/gsd-core/workflows/plan-review-convergence.md +60 -33
  147. package/gsd-core/workflows/plant-seed.md +1 -1
  148. package/gsd-core/workflows/profile-user.md +1 -1
  149. package/gsd-core/workflows/progress.md +1 -1
  150. package/gsd-core/workflows/quick.md +2 -2
  151. package/gsd-core/workflows/remove-phase.md +1 -1
  152. package/gsd-core/workflows/remove-workspace.md +1 -1
  153. package/gsd-core/workflows/resume-project.md +1 -1
  154. package/gsd-core/workflows/review.md +1 -1
  155. package/gsd-core/workflows/scan.md +1 -1
  156. package/gsd-core/workflows/secure-phase.md +1 -1
  157. package/gsd-core/workflows/settings-advanced.md +7 -7
  158. package/gsd-core/workflows/settings-integrations.md +1 -1
  159. package/gsd-core/workflows/settings.md +2 -2
  160. package/gsd-core/workflows/ship.md +8 -1
  161. package/gsd-core/workflows/sketch-wrap-up.md +1 -1
  162. package/gsd-core/workflows/sketch.md +1 -1
  163. package/gsd-core/workflows/spec-phase.md +130 -1
  164. package/gsd-core/workflows/spike-wrap-up.md +1 -1
  165. package/gsd-core/workflows/spike.md +1 -1
  166. package/gsd-core/workflows/stats.md +1 -1
  167. package/gsd-core/workflows/thread.md +1 -1
  168. package/gsd-core/workflows/transition.md +1 -1
  169. package/gsd-core/workflows/ui-phase.md +1 -1
  170. package/gsd-core/workflows/ui-review.md +1 -1
  171. package/gsd-core/workflows/ultraplan-phase.md +1 -1
  172. package/gsd-core/workflows/update.md +2 -2
  173. package/gsd-core/workflows/validate-phase.md +1 -1
  174. package/gsd-core/workflows/verify-phase.md +1 -1
  175. package/gsd-core/workflows/verify-work.md +8 -1
  176. package/package.json +11 -3
  177. package/scripts/base64-scan.sh +1 -1
  178. package/scripts/changeset/cli.cjs +8 -1
  179. package/scripts/changeset/lint.cjs +38 -2
  180. package/scripts/ci-test-scope.cjs +21 -10
  181. package/scripts/gen-capability-registry.cjs +2293 -0
  182. package/scripts/gen-loop-host-contract.cjs +471 -0
  183. package/scripts/lib/allowlist-ratchet.cjs +101 -1
  184. package/scripts/lint-regression-test-names.allowlist.json +269 -0
  185. package/scripts/lint-regression-test-names.cjs +117 -0
  186. package/scripts/lint-test-file-count.allowlist.json +25 -4
  187. package/scripts/lint-windows-test-portability.cjs +178 -0
  188. package/scripts/prompt-injection-scan.sh +4 -4
  189. package/scripts/research-profiles.cjs +10 -10
  190. package/scripts/run-tests.cjs +133 -29
  191. package/scripts/secret-scan.sh +3 -3
  192. package/scripts/sync-next-version.cjs +133 -0
  193. package/scripts/sync-runtime-launcher.cjs +21 -5
  194. package/scripts/update-size-baseline.cjs +68 -0
  195. package/scripts/workflow-policy.cjs +42 -9
  196. package/scripts/workflow-size.cjs +90 -0
  197. package/scripts/run-cross-platform-tests.cjs +0 -67
@@ -0,0 +1,2234 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * capability-registry.cjs — generated by scripts/gen-capability-registry.cjs
5
+ * DO NOT EDIT BY HAND. Run: node scripts/gen-capability-registry.cjs --write
6
+ * ADR-894 §5 — role-partitioned Capability Registry.
7
+ */
8
+
9
+ const capabilities = {
10
+ "antigravity": {
11
+ "id": "antigravity",
12
+ "role": "runtime",
13
+ "title": "Antigravity",
14
+ "description": "Google Antigravity IDE — nested under ~/.gemini/antigravity; probed across 1.x and 2.x layouts; Gemini hook event dialect; nested skill layout; tier-1 support.",
15
+ "tier": "core",
16
+ "requires": [],
17
+ "runtime": {
18
+ "configHome": {
19
+ "kind": "dot-home-nested",
20
+ "name": "antigravity",
21
+ "parent": ".gemini",
22
+ "env": [
23
+ "ANTIGRAVITY_CONFIG_DIR"
24
+ ],
25
+ "probe": [
26
+ "antigravity",
27
+ "antigravity-ide",
28
+ "antigravity-cli"
29
+ ]
30
+ },
31
+ "configFormat": "settings-json",
32
+ "artifactLayout": {
33
+ "global": [
34
+ {
35
+ "kind": "skills",
36
+ "destSubpath": "skills",
37
+ "prefix": "gsd-",
38
+ "nesting": "nested",
39
+ "recursive": false,
40
+ "converter": "convertClaudeCommandToAntigravitySkill"
41
+ }
42
+ ],
43
+ "local": [
44
+ {
45
+ "kind": "skills",
46
+ "destSubpath": "skills",
47
+ "prefix": "gsd-",
48
+ "nesting": "nested",
49
+ "recursive": false,
50
+ "converter": "convertClaudeCommandToAntigravitySkill"
51
+ }
52
+ ]
53
+ },
54
+ "commandStyle": "slash-hyphen",
55
+ "hooksSurface": "settings-json",
56
+ "hookEvents": "gemini",
57
+ "sandboxTier": "none",
58
+ "supportTier": 1,
59
+ "installSurface": "settings-json",
60
+ "writesSharedSettings": true,
61
+ "permissionWriter": null,
62
+ "extendedHookEvents": []
63
+ }
64
+ },
65
+ "audit": {
66
+ "id": "audit",
67
+ "role": "feature",
68
+ "title": "Audit",
69
+ "description": "Open-artifact audit and UAT-gap audit for milestone close gates; exposes `gsd-tools audit-uat` (cross-phase UAT outstanding items) and `gsd-tools audit-open` (structured open-artifact scan across debug, tasks, threads, todos, seeds, UAT, verification, context-questions).",
70
+ "tier": "full",
71
+ "requires": [],
72
+ "skills": [],
73
+ "agents": [],
74
+ "config": {},
75
+ "commands": [
76
+ {
77
+ "family": "audit-uat",
78
+ "module": "audit-command-router.cjs",
79
+ "router": "routeAuditUat"
80
+ },
81
+ {
82
+ "family": "audit-open",
83
+ "module": "audit-command-router.cjs",
84
+ "router": "routeAuditOpen"
85
+ }
86
+ ],
87
+ "hooks": [],
88
+ "steps": [],
89
+ "contributions": [],
90
+ "gates": []
91
+ },
92
+ "augment": {
93
+ "id": "augment",
94
+ "role": "runtime",
95
+ "title": "Augment Code",
96
+ "description": "Augment Code CLI — commands + nested-skill artifact layout; settings-json hook surface; Claude hook event dialect; tier-2 support.",
97
+ "tier": "core",
98
+ "requires": [],
99
+ "runtime": {
100
+ "configHome": {
101
+ "kind": "dot-home",
102
+ "name": ".augment",
103
+ "env": [
104
+ "AUGMENT_CONFIG_DIR"
105
+ ]
106
+ },
107
+ "configFormat": "settings-json",
108
+ "artifactLayout": {
109
+ "global": [
110
+ {
111
+ "kind": "commands",
112
+ "destSubpath": "commands",
113
+ "prefix": "gsd-",
114
+ "nesting": "flat",
115
+ "recursive": false,
116
+ "converter": null
117
+ },
118
+ {
119
+ "kind": "skills",
120
+ "destSubpath": "skills",
121
+ "prefix": "gsd-",
122
+ "nesting": "nested",
123
+ "recursive": false,
124
+ "converter": "convertClaudeCommandToAugmentSkill"
125
+ }
126
+ ],
127
+ "local": [
128
+ {
129
+ "kind": "commands",
130
+ "destSubpath": "commands",
131
+ "prefix": "gsd-",
132
+ "nesting": "flat",
133
+ "recursive": false,
134
+ "converter": null
135
+ },
136
+ {
137
+ "kind": "skills",
138
+ "destSubpath": "skills",
139
+ "prefix": "gsd-",
140
+ "nesting": "nested",
141
+ "recursive": false,
142
+ "converter": "convertClaudeCommandToAugmentSkill"
143
+ }
144
+ ]
145
+ },
146
+ "commandStyle": "slash-hyphen",
147
+ "hooksSurface": "settings-json",
148
+ "hookEvents": "claude",
149
+ "sandboxTier": "none",
150
+ "supportTier": 2,
151
+ "installSurface": "settings-json",
152
+ "writesSharedSettings": true,
153
+ "permissionWriter": null,
154
+ "extendedHookEvents": []
155
+ }
156
+ },
157
+ "claude": {
158
+ "id": "claude",
159
+ "role": "runtime",
160
+ "title": "Claude Code",
161
+ "description": "Anthropic Claude Code — primary development runtime; tier-1 support with full hook surface and skills-based global install.",
162
+ "tier": "core",
163
+ "requires": [],
164
+ "runtime": {
165
+ "configHome": {
166
+ "kind": "dot-home",
167
+ "name": ".claude",
168
+ "env": [
169
+ "CLAUDE_CONFIG_DIR"
170
+ ]
171
+ },
172
+ "configFormat": "settings-json",
173
+ "artifactLayout": {
174
+ "global": [
175
+ {
176
+ "kind": "skills",
177
+ "destSubpath": "skills",
178
+ "prefix": "gsd-",
179
+ "nesting": "flat",
180
+ "recursive": false,
181
+ "converter": "convertClaudeCommandToClaudeSkill"
182
+ }
183
+ ],
184
+ "local": [
185
+ {
186
+ "kind": "commands",
187
+ "destSubpath": "commands/gsd",
188
+ "prefix": "gsd-",
189
+ "nesting": "flat",
190
+ "recursive": false,
191
+ "converter": null
192
+ },
193
+ {
194
+ "kind": "agents",
195
+ "destSubpath": "agents",
196
+ "prefix": "gsd-",
197
+ "nesting": "flat",
198
+ "recursive": false,
199
+ "converter": null
200
+ }
201
+ ]
202
+ },
203
+ "commandStyle": "slash-hyphen",
204
+ "hooksSurface": "settings-json",
205
+ "hookEvents": "claude",
206
+ "sandboxTier": "none",
207
+ "supportTier": 1,
208
+ "installSurface": "settings-json",
209
+ "writesSharedSettings": true,
210
+ "permissionWriter": null,
211
+ "extendedHookEvents": [
212
+ "SubagentStop",
213
+ "Stop",
214
+ "PreCompact",
215
+ "FileChanged"
216
+ ]
217
+ }
218
+ },
219
+ "cline": {
220
+ "id": "cline",
221
+ "role": "runtime",
222
+ "title": "Cline",
223
+ "description": "Cline (VS Code extension) — global-only nested-skill layout; cline-rules hook surface (.clinerules); no hook events emitted; tier-2 support.",
224
+ "tier": "core",
225
+ "requires": [],
226
+ "runtime": {
227
+ "configHome": {
228
+ "kind": "dot-home",
229
+ "name": ".cline",
230
+ "env": [
231
+ "CLINE_CONFIG_DIR"
232
+ ]
233
+ },
234
+ "configFormat": "markdown-dir",
235
+ "artifactLayout": {
236
+ "global": [
237
+ {
238
+ "kind": "skills",
239
+ "destSubpath": "skills",
240
+ "prefix": "gsd-",
241
+ "nesting": "nested",
242
+ "recursive": false,
243
+ "converter": "convertClaudeCommandToClineSkill"
244
+ }
245
+ ],
246
+ "local": []
247
+ },
248
+ "commandStyle": "slash-hyphen",
249
+ "hooksSurface": "cline-rules",
250
+ "sandboxTier": "none",
251
+ "supportTier": 2,
252
+ "installSurface": "cline-rules",
253
+ "writesSharedSettings": false,
254
+ "permissionWriter": null,
255
+ "extendedHookEvents": []
256
+ }
257
+ },
258
+ "codebuddy": {
259
+ "id": "codebuddy",
260
+ "role": "runtime",
261
+ "title": "CodeBuddy",
262
+ "description": "CodeBuddy (Tencent) — converted commands + skills artifact layout; settings-json hook surface; Claude hook event dialect; tier-2 support.",
263
+ "tier": "core",
264
+ "requires": [],
265
+ "runtime": {
266
+ "configHome": {
267
+ "kind": "dot-home",
268
+ "name": ".codebuddy",
269
+ "env": [
270
+ "CODEBUDDY_CONFIG_DIR"
271
+ ]
272
+ },
273
+ "configFormat": "settings-json",
274
+ "artifactLayout": {
275
+ "global": [
276
+ {
277
+ "kind": "commands",
278
+ "destSubpath": "commands",
279
+ "prefix": "gsd-",
280
+ "nesting": "flat",
281
+ "recursive": false,
282
+ "converter": "convertClaudeCommandToCodebuddyCommand"
283
+ },
284
+ {
285
+ "kind": "skills",
286
+ "destSubpath": "skills",
287
+ "prefix": "gsd-",
288
+ "nesting": "flat",
289
+ "recursive": false,
290
+ "converter": "convertClaudeCommandToCodebuddySkill"
291
+ }
292
+ ],
293
+ "local": [
294
+ {
295
+ "kind": "commands",
296
+ "destSubpath": "commands",
297
+ "prefix": "gsd-",
298
+ "nesting": "flat",
299
+ "recursive": false,
300
+ "converter": "convertClaudeCommandToCodebuddyCommand"
301
+ },
302
+ {
303
+ "kind": "skills",
304
+ "destSubpath": "skills",
305
+ "prefix": "gsd-",
306
+ "nesting": "flat",
307
+ "recursive": false,
308
+ "converter": "convertClaudeCommandToCodebuddySkill"
309
+ }
310
+ ]
311
+ },
312
+ "commandStyle": "slash-hyphen",
313
+ "hooksSurface": "settings-json",
314
+ "hookEvents": "claude",
315
+ "sandboxTier": "none",
316
+ "supportTier": 2,
317
+ "installSurface": "settings-json",
318
+ "writesSharedSettings": true,
319
+ "permissionWriter": null,
320
+ "extendedHookEvents": []
321
+ }
322
+ },
323
+ "codex": {
324
+ "id": "codex",
325
+ "role": "runtime",
326
+ "title": "OpenAI Codex CLI",
327
+ "description": "OpenAI Codex CLI — shell-var command style; per-agent sandbox tiers; config.toml + hooks.json hook surface; tier-1 support.",
328
+ "tier": "core",
329
+ "requires": [],
330
+ "runtime": {
331
+ "configHome": {
332
+ "kind": "dot-home",
333
+ "name": ".codex",
334
+ "env": [
335
+ "CODEX_HOME"
336
+ ]
337
+ },
338
+ "configFormat": "toml",
339
+ "artifactLayout": {
340
+ "global": [
341
+ {
342
+ "kind": "skills",
343
+ "destSubpath": "skills",
344
+ "prefix": "gsd-",
345
+ "nesting": "flat",
346
+ "recursive": false,
347
+ "converter": "convertClaudeCommandToCodexSkill"
348
+ }
349
+ ],
350
+ "local": [
351
+ {
352
+ "kind": "skills",
353
+ "destSubpath": "skills",
354
+ "prefix": "gsd-",
355
+ "nesting": "flat",
356
+ "recursive": false,
357
+ "converter": "convertClaudeCommandToCodexSkill"
358
+ }
359
+ ]
360
+ },
361
+ "commandStyle": "shell-var",
362
+ "hooksSurface": "codex-hooks-json",
363
+ "hookEvents": "claude",
364
+ "sandboxTier": "codex-agent-sandbox",
365
+ "supportTier": 1,
366
+ "installSurface": "codex-toml",
367
+ "writesSharedSettings": false,
368
+ "permissionWriter": null,
369
+ "extendedHookEvents": []
370
+ }
371
+ },
372
+ "copilot": {
373
+ "id": "copilot",
374
+ "role": "runtime",
375
+ "title": "GitHub Copilot",
376
+ "description": "GitHub Copilot (VS Code) — markdown config format; copilot-inline hook surface; no hook events emitted; flat skill nesting (unconfirmed recursive loader); tier-2 support.",
377
+ "tier": "core",
378
+ "requires": [],
379
+ "runtime": {
380
+ "configHome": {
381
+ "kind": "dot-home",
382
+ "name": ".copilot",
383
+ "env": [
384
+ "COPILOT_CONFIG_DIR",
385
+ "COPILOT_HOME"
386
+ ]
387
+ },
388
+ "configFormat": "markdown",
389
+ "artifactLayout": {
390
+ "global": [
391
+ {
392
+ "kind": "skills",
393
+ "destSubpath": "skills",
394
+ "prefix": "gsd-",
395
+ "nesting": "flat",
396
+ "recursive": false,
397
+ "converter": "convertClaudeCommandToCopilotSkill"
398
+ }
399
+ ],
400
+ "local": [
401
+ {
402
+ "kind": "skills",
403
+ "destSubpath": "skills",
404
+ "prefix": "gsd-",
405
+ "nesting": "flat",
406
+ "recursive": false,
407
+ "converter": "convertClaudeCommandToCopilotSkill"
408
+ }
409
+ ]
410
+ },
411
+ "commandStyle": "slash-hyphen",
412
+ "hooksSurface": "copilot-inline",
413
+ "sandboxTier": "none",
414
+ "supportTier": 2,
415
+ "installSurface": "copilot-instructions",
416
+ "writesSharedSettings": false,
417
+ "permissionWriter": null,
418
+ "extendedHookEvents": []
419
+ }
420
+ },
421
+ "cursor": {
422
+ "id": "cursor",
423
+ "role": "runtime",
424
+ "title": "Cursor",
425
+ "description": "Cursor IDE — skills + converted commands artifact layout; hooks.json surface; Claude hook event dialect; recursive skill loader (flat nesting); tier-2 support.",
426
+ "tier": "core",
427
+ "requires": [],
428
+ "runtime": {
429
+ "configHome": {
430
+ "kind": "dot-home",
431
+ "name": ".cursor",
432
+ "env": [
433
+ "CURSOR_CONFIG_DIR"
434
+ ]
435
+ },
436
+ "configFormat": "none",
437
+ "artifactLayout": {
438
+ "global": [
439
+ {
440
+ "kind": "skills",
441
+ "destSubpath": "skills",
442
+ "prefix": "gsd-",
443
+ "nesting": "flat",
444
+ "recursive": true,
445
+ "converter": "convertClaudeCommandToCursorSkill"
446
+ },
447
+ {
448
+ "kind": "commands",
449
+ "destSubpath": "commands",
450
+ "prefix": "gsd-",
451
+ "nesting": "flat",
452
+ "recursive": false,
453
+ "converter": "convertClaudeCommandToCursorCommand"
454
+ }
455
+ ],
456
+ "local": [
457
+ {
458
+ "kind": "skills",
459
+ "destSubpath": "skills",
460
+ "prefix": "gsd-",
461
+ "nesting": "flat",
462
+ "recursive": true,
463
+ "converter": "convertClaudeCommandToCursorSkill"
464
+ },
465
+ {
466
+ "kind": "commands",
467
+ "destSubpath": "commands",
468
+ "prefix": "gsd-",
469
+ "nesting": "flat",
470
+ "recursive": false,
471
+ "converter": "convertClaudeCommandToCursorCommand"
472
+ }
473
+ ]
474
+ },
475
+ "commandStyle": "slash-hyphen",
476
+ "hooksSurface": "cursor-hooks-json",
477
+ "hookEvents": "claude",
478
+ "sandboxTier": "none",
479
+ "supportTier": 2,
480
+ "installSurface": "cursor-hooks-json",
481
+ "writesSharedSettings": false,
482
+ "permissionWriter": null,
483
+ "extendedHookEvents": []
484
+ }
485
+ },
486
+ "gemini": {
487
+ "id": "gemini",
488
+ "role": "runtime",
489
+ "title": "Gemini CLI",
490
+ "description": "Google Gemini CLI — commands-only artifact layout (TOML); Gemini hook event dialect; settings-json hook surface; tier-2 support.",
491
+ "tier": "core",
492
+ "requires": [],
493
+ "runtime": {
494
+ "configHome": {
495
+ "kind": "dot-home",
496
+ "name": ".gemini",
497
+ "env": [
498
+ "GEMINI_CONFIG_DIR"
499
+ ]
500
+ },
501
+ "configFormat": "settings-json",
502
+ "artifactLayout": {
503
+ "global": [
504
+ {
505
+ "kind": "commands",
506
+ "destSubpath": "commands/gsd",
507
+ "prefix": "gsd-",
508
+ "nesting": "flat",
509
+ "recursive": false,
510
+ "converter": null
511
+ }
512
+ ],
513
+ "local": [
514
+ {
515
+ "kind": "commands",
516
+ "destSubpath": "commands/gsd",
517
+ "prefix": "gsd-",
518
+ "nesting": "flat",
519
+ "recursive": false,
520
+ "converter": null
521
+ }
522
+ ]
523
+ },
524
+ "commandStyle": "slash-hyphen",
525
+ "hooksSurface": "settings-json",
526
+ "hookEvents": "gemini",
527
+ "sandboxTier": "none",
528
+ "supportTier": 2,
529
+ "installSurface": "settings-json",
530
+ "writesSharedSettings": true,
531
+ "permissionWriter": null,
532
+ "extendedHookEvents": [
533
+ "BeforeAgent",
534
+ "AfterAgent",
535
+ "BeforeModel"
536
+ ]
537
+ }
538
+ },
539
+ "graphify": {
540
+ "id": "graphify",
541
+ "role": "feature",
542
+ "title": "Knowledge graph",
543
+ "description": "Build, query, and inspect the project knowledge graph in `.planning/graphs/`; exposes graphify CLI subcommands (build, query, status, diff) and the /gsd-graphify skill.",
544
+ "tier": "full",
545
+ "requires": [],
546
+ "skills": [
547
+ "graphify"
548
+ ],
549
+ "agents": [],
550
+ "config": {
551
+ "graphify.enabled": {
552
+ "type": "boolean",
553
+ "default": false,
554
+ "description": "Enable the graphify knowledge-graph command + skill."
555
+ }
556
+ },
557
+ "commands": [
558
+ {
559
+ "family": "graphify",
560
+ "module": "graphify-command-router.cjs",
561
+ "router": "routeGraphifyCommand"
562
+ }
563
+ ],
564
+ "hooks": [],
565
+ "steps": [],
566
+ "contributions": [],
567
+ "gates": []
568
+ },
569
+ "hermes": {
570
+ "id": "hermes",
571
+ "role": "runtime",
572
+ "title": "Hermes Agent",
573
+ "description": "Hermes Agent (NousResearch) — skills nest under skills/gsd/ category bucket; nested skill layout; settings-json hook surface; Claude hook event dialect; tier-2 support.",
574
+ "tier": "core",
575
+ "requires": [],
576
+ "runtime": {
577
+ "configHome": {
578
+ "kind": "dot-home",
579
+ "name": ".hermes",
580
+ "env": [
581
+ "HERMES_HOME"
582
+ ]
583
+ },
584
+ "configFormat": "settings-json",
585
+ "artifactLayout": {
586
+ "global": [
587
+ {
588
+ "kind": "skills",
589
+ "destSubpath": "skills/gsd",
590
+ "prefix": "gsd-",
591
+ "nesting": "nested",
592
+ "recursive": false,
593
+ "converter": "convertClaudeCommandToClaudeSkill"
594
+ }
595
+ ],
596
+ "local": [
597
+ {
598
+ "kind": "skills",
599
+ "destSubpath": "skills/gsd",
600
+ "prefix": "gsd-",
601
+ "nesting": "nested",
602
+ "recursive": false,
603
+ "converter": "convertClaudeCommandToClaudeSkill"
604
+ }
605
+ ]
606
+ },
607
+ "commandStyle": "slash-hyphen",
608
+ "hooksSurface": "settings-json",
609
+ "hookEvents": "claude",
610
+ "sandboxTier": "none",
611
+ "supportTier": 2,
612
+ "installSurface": "settings-json",
613
+ "writesSharedSettings": true,
614
+ "permissionWriter": null,
615
+ "extendedHookEvents": []
616
+ }
617
+ },
618
+ "intel": {
619
+ "id": "intel",
620
+ "role": "feature",
621
+ "title": "Codebase intelligence",
622
+ "description": "Code-intelligence store for codebase querying, diff, snapshot, and API-surface extraction; exposes `gsd-tools intel` subcommands (query, status, update, diff, snapshot, patch-meta, validate, extract-exports, api-surface) and backs `/gsd-map-codebase` and `gsd-intel-updater`.",
623
+ "tier": "full",
624
+ "requires": [],
625
+ "skills": [],
626
+ "agents": [],
627
+ "config": {
628
+ "intel.enabled": {
629
+ "type": "boolean",
630
+ "default": false,
631
+ "description": "Enable the intel code-intelligence command."
632
+ }
633
+ },
634
+ "commands": [
635
+ {
636
+ "family": "intel",
637
+ "module": "intel-command-router.cjs",
638
+ "router": "routeIntelCommand"
639
+ }
640
+ ],
641
+ "hooks": [],
642
+ "steps": [],
643
+ "contributions": [],
644
+ "gates": []
645
+ },
646
+ "kilo": {
647
+ "id": "kilo",
648
+ "role": "runtime",
649
+ "title": "Kilo Code",
650
+ "description": "Kilo Code — XDG-based config dir; global skills at ~/.kilo/skills (separate from XDG config); flat command/ + skills artifact layout; no lifecycle hook registration; tier-2 support.",
651
+ "tier": "core",
652
+ "requires": [],
653
+ "runtime": {
654
+ "configHome": {
655
+ "kind": "xdg",
656
+ "name": "kilo",
657
+ "env": [
658
+ "KILO_CONFIG_DIR",
659
+ "KILO_CONFIG",
660
+ "XDG_CONFIG_HOME"
661
+ ],
662
+ "skillsHome": {
663
+ "kind": "dot-home",
664
+ "name": ".kilo",
665
+ "env": []
666
+ }
667
+ },
668
+ "configFormat": "settings-json",
669
+ "artifactLayout": {
670
+ "global": [
671
+ {
672
+ "kind": "commands",
673
+ "destSubpath": "command",
674
+ "prefix": "gsd-",
675
+ "nesting": "flat",
676
+ "recursive": false,
677
+ "converter": null
678
+ },
679
+ {
680
+ "kind": "skills",
681
+ "destSubpath": "skills",
682
+ "prefix": "gsd-",
683
+ "nesting": "flat",
684
+ "recursive": true,
685
+ "converter": "convertClaudeCommandToKiloSkill"
686
+ }
687
+ ],
688
+ "local": [
689
+ {
690
+ "kind": "commands",
691
+ "destSubpath": "command",
692
+ "prefix": "gsd-",
693
+ "nesting": "flat",
694
+ "recursive": false,
695
+ "converter": null
696
+ },
697
+ {
698
+ "kind": "skills",
699
+ "destSubpath": "skills",
700
+ "prefix": "gsd-",
701
+ "nesting": "flat",
702
+ "recursive": true,
703
+ "converter": "convertClaudeCommandToKiloSkill"
704
+ }
705
+ ]
706
+ },
707
+ "commandStyle": "slash-hyphen",
708
+ "hooksSurface": "none",
709
+ "sandboxTier": "none",
710
+ "supportTier": 2,
711
+ "installSurface": "settings-json",
712
+ "writesSharedSettings": false,
713
+ "permissionWriter": "kilo",
714
+ "extendedHookEvents": []
715
+ }
716
+ },
717
+ "kimi": {
718
+ "id": "kimi",
719
+ "role": "runtime",
720
+ "title": "Kimi CLI",
721
+ "description": "Kimi CLI (Moonshot AI) — generic agents root at ~/.config/agents; skills + kimi-agents artifact layout; no hook surface; no hook events; tier-2 support.",
722
+ "tier": "core",
723
+ "requires": [],
724
+ "runtime": {
725
+ "configHome": {
726
+ "kind": "generic-agents-root",
727
+ "name": "agents",
728
+ "env": [
729
+ "KIMI_CONFIG_DIR"
730
+ ],
731
+ "probe": [
732
+ "~/.config/agents",
733
+ "~/.agents"
734
+ ],
735
+ "probeExists": "skills"
736
+ },
737
+ "configFormat": "none",
738
+ "artifactLayout": {
739
+ "global": [
740
+ {
741
+ "kind": "skills",
742
+ "destSubpath": "skills",
743
+ "prefix": "gsd-",
744
+ "nesting": "flat",
745
+ "recursive": false,
746
+ "converter": "convertClaudeCommandToKimiSkill"
747
+ },
748
+ {
749
+ "kind": "kimi-agents",
750
+ "destSubpath": "agents",
751
+ "prefix": "gsd",
752
+ "nesting": "flat",
753
+ "recursive": false,
754
+ "converter": null
755
+ }
756
+ ],
757
+ "local": []
758
+ },
759
+ "commandStyle": "slash-hyphen",
760
+ "hooksSurface": "none",
761
+ "sandboxTier": "none",
762
+ "supportTier": 2,
763
+ "installSurface": "profile-marker-only",
764
+ "writesSharedSettings": false,
765
+ "permissionWriter": null,
766
+ "extendedHookEvents": []
767
+ }
768
+ },
769
+ "opencode": {
770
+ "id": "opencode",
771
+ "role": "runtime",
772
+ "title": "OpenCode",
773
+ "description": "OpenCode — XDG-based config dir; flat command/ + skills artifact layout; settings-json config format; no lifecycle hook registration; tier-2 support.",
774
+ "tier": "core",
775
+ "requires": [],
776
+ "runtime": {
777
+ "configHome": {
778
+ "kind": "xdg",
779
+ "name": "opencode",
780
+ "env": [
781
+ "OPENCODE_CONFIG_DIR",
782
+ "OPENCODE_CONFIG",
783
+ "XDG_CONFIG_HOME"
784
+ ]
785
+ },
786
+ "configFormat": "settings-json",
787
+ "artifactLayout": {
788
+ "global": [
789
+ {
790
+ "kind": "commands",
791
+ "destSubpath": "command",
792
+ "prefix": "gsd-",
793
+ "nesting": "flat",
794
+ "recursive": false,
795
+ "converter": null
796
+ },
797
+ {
798
+ "kind": "skills",
799
+ "destSubpath": "skills",
800
+ "prefix": "gsd-",
801
+ "nesting": "flat",
802
+ "recursive": true,
803
+ "converter": "convertClaudeCommandToOpencodeSkill"
804
+ }
805
+ ],
806
+ "local": [
807
+ {
808
+ "kind": "commands",
809
+ "destSubpath": "command",
810
+ "prefix": "gsd-",
811
+ "nesting": "flat",
812
+ "recursive": false,
813
+ "converter": null
814
+ },
815
+ {
816
+ "kind": "skills",
817
+ "destSubpath": "skills",
818
+ "prefix": "gsd-",
819
+ "nesting": "flat",
820
+ "recursive": true,
821
+ "converter": "convertClaudeCommandToOpencodeSkill"
822
+ }
823
+ ]
824
+ },
825
+ "commandStyle": "slash-hyphen",
826
+ "hooksSurface": "none",
827
+ "sandboxTier": "none",
828
+ "supportTier": 2,
829
+ "installSurface": "settings-json",
830
+ "writesSharedSettings": true,
831
+ "permissionWriter": "opencode",
832
+ "extendedHookEvents": []
833
+ }
834
+ },
835
+ "qwen": {
836
+ "id": "qwen",
837
+ "role": "runtime",
838
+ "title": "Qwen Code",
839
+ "description": "Qwen Code (Alibaba) — nested-skill artifact layout; settings-json hook surface; Claude hook event dialect; tier-2 support.",
840
+ "tier": "core",
841
+ "requires": [],
842
+ "runtime": {
843
+ "configHome": {
844
+ "kind": "dot-home",
845
+ "name": ".qwen",
846
+ "env": [
847
+ "QWEN_CONFIG_DIR"
848
+ ]
849
+ },
850
+ "configFormat": "settings-json",
851
+ "artifactLayout": {
852
+ "global": [
853
+ {
854
+ "kind": "skills",
855
+ "destSubpath": "skills",
856
+ "prefix": "gsd-",
857
+ "nesting": "nested",
858
+ "recursive": false,
859
+ "converter": "convertClaudeCommandToClaudeSkill"
860
+ }
861
+ ],
862
+ "local": [
863
+ {
864
+ "kind": "skills",
865
+ "destSubpath": "skills",
866
+ "prefix": "gsd-",
867
+ "nesting": "nested",
868
+ "recursive": false,
869
+ "converter": "convertClaudeCommandToClaudeSkill"
870
+ }
871
+ ]
872
+ },
873
+ "commandStyle": "slash-hyphen",
874
+ "hooksSurface": "settings-json",
875
+ "hookEvents": "claude",
876
+ "sandboxTier": "none",
877
+ "supportTier": 2,
878
+ "installSurface": "settings-json",
879
+ "writesSharedSettings": true,
880
+ "permissionWriter": null,
881
+ "extendedHookEvents": [
882
+ "SubagentStop",
883
+ "Stop",
884
+ "PreCompact"
885
+ ]
886
+ }
887
+ },
888
+ "trae": {
889
+ "id": "trae",
890
+ "role": "runtime",
891
+ "title": "Trae IDE",
892
+ "description": "Trae IDE — nested-skill artifact layout; no hook surface (profile-marker-only config); tier-2 support.",
893
+ "tier": "core",
894
+ "requires": [],
895
+ "runtime": {
896
+ "configHome": {
897
+ "kind": "dot-home",
898
+ "name": ".trae",
899
+ "env": [
900
+ "TRAE_CONFIG_DIR"
901
+ ]
902
+ },
903
+ "configFormat": "none",
904
+ "artifactLayout": {
905
+ "global": [
906
+ {
907
+ "kind": "skills",
908
+ "destSubpath": "skills",
909
+ "prefix": "gsd-",
910
+ "nesting": "nested",
911
+ "recursive": false,
912
+ "converter": "convertClaudeCommandToTraeSkill"
913
+ }
914
+ ],
915
+ "local": [
916
+ {
917
+ "kind": "skills",
918
+ "destSubpath": "skills",
919
+ "prefix": "gsd-",
920
+ "nesting": "nested",
921
+ "recursive": false,
922
+ "converter": "convertClaudeCommandToTraeSkill"
923
+ }
924
+ ]
925
+ },
926
+ "commandStyle": "slash-hyphen",
927
+ "hooksSurface": "none",
928
+ "sandboxTier": "none",
929
+ "supportTier": 2,
930
+ "installSurface": "profile-marker-only",
931
+ "writesSharedSettings": false,
932
+ "permissionWriter": null,
933
+ "extendedHookEvents": []
934
+ }
935
+ },
936
+ "ui": {
937
+ "id": "ui",
938
+ "role": "feature",
939
+ "title": "UI design contracts",
940
+ "description": "UI-SPEC design contract + retrospective UI audit for frontend phases.",
941
+ "tier": "full",
942
+ "requires": [],
943
+ "skills": [
944
+ "ui-phase",
945
+ "ui-review"
946
+ ],
947
+ "agents": [
948
+ "gsd-ui-checker",
949
+ "gsd-ui-auditor"
950
+ ],
951
+ "hooks": [],
952
+ "config": {
953
+ "workflow.ui_phase": {
954
+ "type": "boolean",
955
+ "default": true,
956
+ "description": "Enable the UI design-contract gate during planning."
957
+ },
958
+ "workflow.ui_review": {
959
+ "type": "boolean",
960
+ "default": true,
961
+ "description": "Enable the retrospective UI audit."
962
+ },
963
+ "workflow.ui_safety_gate": {
964
+ "type": "boolean",
965
+ "default": true,
966
+ "description": "Block execution on unmet UI-SPEC contracts."
967
+ }
968
+ },
969
+ "steps": [
970
+ {
971
+ "point": "plan:pre",
972
+ "ref": {
973
+ "skill": "ui-phase"
974
+ },
975
+ "produces": [
976
+ "UI-SPEC.md"
977
+ ],
978
+ "consumes": [
979
+ "CONTEXT.md"
980
+ ],
981
+ "when": "workflow.ui_phase",
982
+ "onError": "skip"
983
+ },
984
+ {
985
+ "point": "verify:post",
986
+ "ref": {
987
+ "skill": "ui-review"
988
+ },
989
+ "produces": [
990
+ "UI-REVIEW.md"
991
+ ],
992
+ "consumes": [
993
+ "UI-SPEC.md"
994
+ ],
995
+ "when": "workflow.ui_review",
996
+ "onError": "skip"
997
+ }
998
+ ],
999
+ "contributions": [],
1000
+ "gates": [
1001
+ {
1002
+ "point": "plan:pre",
1003
+ "check": {
1004
+ "query": "ui.plan-gate"
1005
+ },
1006
+ "when": "workflow.ui_safety_gate",
1007
+ "blocking": true,
1008
+ "onError": "halt"
1009
+ },
1010
+ {
1011
+ "point": "execute:wave:post",
1012
+ "check": {
1013
+ "query": "ui.safety-gate"
1014
+ },
1015
+ "when": "workflow.ui_safety_gate",
1016
+ "blocking": true,
1017
+ "onError": "halt"
1018
+ }
1019
+ ]
1020
+ },
1021
+ "windsurf": {
1022
+ "id": "windsurf",
1023
+ "role": "runtime",
1024
+ "title": "Windsurf",
1025
+ "description": "Windsurf (Codeium) — nested under ~/.codeium/windsurf; skills-only artifact layout; no hook surface; no hook events; tier-2 support.",
1026
+ "tier": "core",
1027
+ "requires": [],
1028
+ "runtime": {
1029
+ "configHome": {
1030
+ "kind": "dot-home-nested",
1031
+ "name": "windsurf",
1032
+ "parent": ".codeium",
1033
+ "env": [
1034
+ "WINDSURF_CONFIG_DIR"
1035
+ ]
1036
+ },
1037
+ "configFormat": "none",
1038
+ "artifactLayout": {
1039
+ "global": [
1040
+ {
1041
+ "kind": "skills",
1042
+ "destSubpath": "skills",
1043
+ "prefix": "gsd-",
1044
+ "nesting": "flat",
1045
+ "recursive": false,
1046
+ "converter": "convertClaudeCommandToWindsurfSkill"
1047
+ }
1048
+ ],
1049
+ "local": [
1050
+ {
1051
+ "kind": "skills",
1052
+ "destSubpath": "skills",
1053
+ "prefix": "gsd-",
1054
+ "nesting": "flat",
1055
+ "recursive": false,
1056
+ "converter": "convertClaudeCommandToWindsurfSkill"
1057
+ }
1058
+ ]
1059
+ },
1060
+ "commandStyle": "slash-hyphen",
1061
+ "hooksSurface": "none",
1062
+ "sandboxTier": "none",
1063
+ "supportTier": 2,
1064
+ "installSurface": "profile-marker-only",
1065
+ "writesSharedSettings": false,
1066
+ "permissionWriter": null,
1067
+ "extendedHookEvents": []
1068
+ }
1069
+ }
1070
+ };
1071
+
1072
+ const bySkill = {
1073
+ "graphify": "graphify",
1074
+ "ui-phase": "ui",
1075
+ "ui-review": "ui"
1076
+ };
1077
+
1078
+ const byAgent = {
1079
+ "gsd-ui-checker": "ui",
1080
+ "gsd-ui-auditor": "ui"
1081
+ };
1082
+
1083
+ const byLoopPoint = {
1084
+ "discuss:pre": {
1085
+ "steps": [],
1086
+ "contributions": [],
1087
+ "gates": []
1088
+ },
1089
+ "discuss:post": {
1090
+ "steps": [],
1091
+ "contributions": [],
1092
+ "gates": []
1093
+ },
1094
+ "plan:pre": {
1095
+ "steps": [
1096
+ {
1097
+ "capId": "ui",
1098
+ "point": "plan:pre",
1099
+ "ref": {
1100
+ "skill": "ui-phase"
1101
+ },
1102
+ "produces": [
1103
+ "UI-SPEC.md"
1104
+ ],
1105
+ "consumes": [
1106
+ "CONTEXT.md"
1107
+ ],
1108
+ "when": "workflow.ui_phase",
1109
+ "onError": "skip"
1110
+ }
1111
+ ],
1112
+ "contributions": [],
1113
+ "gates": [
1114
+ {
1115
+ "capId": "ui",
1116
+ "point": "plan:pre",
1117
+ "check": {
1118
+ "query": "ui.plan-gate"
1119
+ },
1120
+ "when": "workflow.ui_safety_gate",
1121
+ "blocking": true,
1122
+ "onError": "halt"
1123
+ }
1124
+ ]
1125
+ },
1126
+ "plan:post": {
1127
+ "steps": [],
1128
+ "contributions": [],
1129
+ "gates": []
1130
+ },
1131
+ "execute:pre": {
1132
+ "steps": [],
1133
+ "contributions": [],
1134
+ "gates": []
1135
+ },
1136
+ "execute:wave:pre": {
1137
+ "steps": [],
1138
+ "contributions": [],
1139
+ "gates": []
1140
+ },
1141
+ "execute:wave:post": {
1142
+ "steps": [],
1143
+ "contributions": [],
1144
+ "gates": [
1145
+ {
1146
+ "capId": "ui",
1147
+ "point": "execute:wave:post",
1148
+ "check": {
1149
+ "query": "ui.safety-gate"
1150
+ },
1151
+ "when": "workflow.ui_safety_gate",
1152
+ "blocking": true,
1153
+ "onError": "halt"
1154
+ }
1155
+ ]
1156
+ },
1157
+ "execute:post": {
1158
+ "steps": [],
1159
+ "contributions": [],
1160
+ "gates": []
1161
+ },
1162
+ "verify:pre": {
1163
+ "steps": [],
1164
+ "contributions": [],
1165
+ "gates": []
1166
+ },
1167
+ "verify:post": {
1168
+ "steps": [
1169
+ {
1170
+ "capId": "ui",
1171
+ "point": "verify:post",
1172
+ "ref": {
1173
+ "skill": "ui-review"
1174
+ },
1175
+ "produces": [
1176
+ "UI-REVIEW.md"
1177
+ ],
1178
+ "consumes": [
1179
+ "UI-SPEC.md"
1180
+ ],
1181
+ "when": "workflow.ui_review",
1182
+ "onError": "skip"
1183
+ }
1184
+ ],
1185
+ "contributions": [],
1186
+ "gates": []
1187
+ },
1188
+ "ship:pre": {
1189
+ "steps": [],
1190
+ "contributions": [],
1191
+ "gates": []
1192
+ },
1193
+ "ship:post": {
1194
+ "steps": [],
1195
+ "contributions": [],
1196
+ "gates": []
1197
+ }
1198
+ };
1199
+
1200
+ const configKeys = {
1201
+ "graphify.enabled": "graphify",
1202
+ "intel.enabled": "intel",
1203
+ "workflow.ui_phase": "ui",
1204
+ "workflow.ui_review": "ui",
1205
+ "workflow.ui_safety_gate": "ui"
1206
+ };
1207
+
1208
+ const configSchema = {
1209
+ "graphify.enabled": {
1210
+ "owner": "graphify",
1211
+ "type": "boolean",
1212
+ "default": false,
1213
+ "description": "Enable the graphify knowledge-graph command + skill."
1214
+ },
1215
+ "intel.enabled": {
1216
+ "owner": "intel",
1217
+ "type": "boolean",
1218
+ "default": false,
1219
+ "description": "Enable the intel code-intelligence command."
1220
+ },
1221
+ "workflow.ui_phase": {
1222
+ "owner": "ui",
1223
+ "type": "boolean",
1224
+ "default": true,
1225
+ "description": "Enable the UI design-contract gate during planning."
1226
+ },
1227
+ "workflow.ui_review": {
1228
+ "owner": "ui",
1229
+ "type": "boolean",
1230
+ "default": true,
1231
+ "description": "Enable the retrospective UI audit."
1232
+ },
1233
+ "workflow.ui_safety_gate": {
1234
+ "owner": "ui",
1235
+ "type": "boolean",
1236
+ "default": true,
1237
+ "description": "Block execution on unmet UI-SPEC contracts."
1238
+ }
1239
+ };
1240
+
1241
+ const runtimes = {
1242
+ "antigravity": {
1243
+ "id": "antigravity",
1244
+ "role": "runtime",
1245
+ "title": "Antigravity",
1246
+ "description": "Google Antigravity IDE — nested under ~/.gemini/antigravity; probed across 1.x and 2.x layouts; Gemini hook event dialect; nested skill layout; tier-1 support.",
1247
+ "tier": "core",
1248
+ "requires": [],
1249
+ "runtime": {
1250
+ "configHome": {
1251
+ "kind": "dot-home-nested",
1252
+ "name": "antigravity",
1253
+ "parent": ".gemini",
1254
+ "env": [
1255
+ "ANTIGRAVITY_CONFIG_DIR"
1256
+ ],
1257
+ "probe": [
1258
+ "antigravity",
1259
+ "antigravity-ide",
1260
+ "antigravity-cli"
1261
+ ]
1262
+ },
1263
+ "configFormat": "settings-json",
1264
+ "artifactLayout": {
1265
+ "global": [
1266
+ {
1267
+ "kind": "skills",
1268
+ "destSubpath": "skills",
1269
+ "prefix": "gsd-",
1270
+ "nesting": "nested",
1271
+ "recursive": false,
1272
+ "converter": "convertClaudeCommandToAntigravitySkill"
1273
+ }
1274
+ ],
1275
+ "local": [
1276
+ {
1277
+ "kind": "skills",
1278
+ "destSubpath": "skills",
1279
+ "prefix": "gsd-",
1280
+ "nesting": "nested",
1281
+ "recursive": false,
1282
+ "converter": "convertClaudeCommandToAntigravitySkill"
1283
+ }
1284
+ ]
1285
+ },
1286
+ "commandStyle": "slash-hyphen",
1287
+ "hooksSurface": "settings-json",
1288
+ "hookEvents": "gemini",
1289
+ "sandboxTier": "none",
1290
+ "supportTier": 1,
1291
+ "installSurface": "settings-json",
1292
+ "writesSharedSettings": true,
1293
+ "permissionWriter": null,
1294
+ "extendedHookEvents": []
1295
+ }
1296
+ },
1297
+ "augment": {
1298
+ "id": "augment",
1299
+ "role": "runtime",
1300
+ "title": "Augment Code",
1301
+ "description": "Augment Code CLI — commands + nested-skill artifact layout; settings-json hook surface; Claude hook event dialect; tier-2 support.",
1302
+ "tier": "core",
1303
+ "requires": [],
1304
+ "runtime": {
1305
+ "configHome": {
1306
+ "kind": "dot-home",
1307
+ "name": ".augment",
1308
+ "env": [
1309
+ "AUGMENT_CONFIG_DIR"
1310
+ ]
1311
+ },
1312
+ "configFormat": "settings-json",
1313
+ "artifactLayout": {
1314
+ "global": [
1315
+ {
1316
+ "kind": "commands",
1317
+ "destSubpath": "commands",
1318
+ "prefix": "gsd-",
1319
+ "nesting": "flat",
1320
+ "recursive": false,
1321
+ "converter": null
1322
+ },
1323
+ {
1324
+ "kind": "skills",
1325
+ "destSubpath": "skills",
1326
+ "prefix": "gsd-",
1327
+ "nesting": "nested",
1328
+ "recursive": false,
1329
+ "converter": "convertClaudeCommandToAugmentSkill"
1330
+ }
1331
+ ],
1332
+ "local": [
1333
+ {
1334
+ "kind": "commands",
1335
+ "destSubpath": "commands",
1336
+ "prefix": "gsd-",
1337
+ "nesting": "flat",
1338
+ "recursive": false,
1339
+ "converter": null
1340
+ },
1341
+ {
1342
+ "kind": "skills",
1343
+ "destSubpath": "skills",
1344
+ "prefix": "gsd-",
1345
+ "nesting": "nested",
1346
+ "recursive": false,
1347
+ "converter": "convertClaudeCommandToAugmentSkill"
1348
+ }
1349
+ ]
1350
+ },
1351
+ "commandStyle": "slash-hyphen",
1352
+ "hooksSurface": "settings-json",
1353
+ "hookEvents": "claude",
1354
+ "sandboxTier": "none",
1355
+ "supportTier": 2,
1356
+ "installSurface": "settings-json",
1357
+ "writesSharedSettings": true,
1358
+ "permissionWriter": null,
1359
+ "extendedHookEvents": []
1360
+ }
1361
+ },
1362
+ "claude": {
1363
+ "id": "claude",
1364
+ "role": "runtime",
1365
+ "title": "Claude Code",
1366
+ "description": "Anthropic Claude Code — primary development runtime; tier-1 support with full hook surface and skills-based global install.",
1367
+ "tier": "core",
1368
+ "requires": [],
1369
+ "runtime": {
1370
+ "configHome": {
1371
+ "kind": "dot-home",
1372
+ "name": ".claude",
1373
+ "env": [
1374
+ "CLAUDE_CONFIG_DIR"
1375
+ ]
1376
+ },
1377
+ "configFormat": "settings-json",
1378
+ "artifactLayout": {
1379
+ "global": [
1380
+ {
1381
+ "kind": "skills",
1382
+ "destSubpath": "skills",
1383
+ "prefix": "gsd-",
1384
+ "nesting": "flat",
1385
+ "recursive": false,
1386
+ "converter": "convertClaudeCommandToClaudeSkill"
1387
+ }
1388
+ ],
1389
+ "local": [
1390
+ {
1391
+ "kind": "commands",
1392
+ "destSubpath": "commands/gsd",
1393
+ "prefix": "gsd-",
1394
+ "nesting": "flat",
1395
+ "recursive": false,
1396
+ "converter": null
1397
+ },
1398
+ {
1399
+ "kind": "agents",
1400
+ "destSubpath": "agents",
1401
+ "prefix": "gsd-",
1402
+ "nesting": "flat",
1403
+ "recursive": false,
1404
+ "converter": null
1405
+ }
1406
+ ]
1407
+ },
1408
+ "commandStyle": "slash-hyphen",
1409
+ "hooksSurface": "settings-json",
1410
+ "hookEvents": "claude",
1411
+ "sandboxTier": "none",
1412
+ "supportTier": 1,
1413
+ "installSurface": "settings-json",
1414
+ "writesSharedSettings": true,
1415
+ "permissionWriter": null,
1416
+ "extendedHookEvents": [
1417
+ "SubagentStop",
1418
+ "Stop",
1419
+ "PreCompact",
1420
+ "FileChanged"
1421
+ ]
1422
+ }
1423
+ },
1424
+ "cline": {
1425
+ "id": "cline",
1426
+ "role": "runtime",
1427
+ "title": "Cline",
1428
+ "description": "Cline (VS Code extension) — global-only nested-skill layout; cline-rules hook surface (.clinerules); no hook events emitted; tier-2 support.",
1429
+ "tier": "core",
1430
+ "requires": [],
1431
+ "runtime": {
1432
+ "configHome": {
1433
+ "kind": "dot-home",
1434
+ "name": ".cline",
1435
+ "env": [
1436
+ "CLINE_CONFIG_DIR"
1437
+ ]
1438
+ },
1439
+ "configFormat": "markdown-dir",
1440
+ "artifactLayout": {
1441
+ "global": [
1442
+ {
1443
+ "kind": "skills",
1444
+ "destSubpath": "skills",
1445
+ "prefix": "gsd-",
1446
+ "nesting": "nested",
1447
+ "recursive": false,
1448
+ "converter": "convertClaudeCommandToClineSkill"
1449
+ }
1450
+ ],
1451
+ "local": []
1452
+ },
1453
+ "commandStyle": "slash-hyphen",
1454
+ "hooksSurface": "cline-rules",
1455
+ "sandboxTier": "none",
1456
+ "supportTier": 2,
1457
+ "installSurface": "cline-rules",
1458
+ "writesSharedSettings": false,
1459
+ "permissionWriter": null,
1460
+ "extendedHookEvents": []
1461
+ }
1462
+ },
1463
+ "codebuddy": {
1464
+ "id": "codebuddy",
1465
+ "role": "runtime",
1466
+ "title": "CodeBuddy",
1467
+ "description": "CodeBuddy (Tencent) — converted commands + skills artifact layout; settings-json hook surface; Claude hook event dialect; tier-2 support.",
1468
+ "tier": "core",
1469
+ "requires": [],
1470
+ "runtime": {
1471
+ "configHome": {
1472
+ "kind": "dot-home",
1473
+ "name": ".codebuddy",
1474
+ "env": [
1475
+ "CODEBUDDY_CONFIG_DIR"
1476
+ ]
1477
+ },
1478
+ "configFormat": "settings-json",
1479
+ "artifactLayout": {
1480
+ "global": [
1481
+ {
1482
+ "kind": "commands",
1483
+ "destSubpath": "commands",
1484
+ "prefix": "gsd-",
1485
+ "nesting": "flat",
1486
+ "recursive": false,
1487
+ "converter": "convertClaudeCommandToCodebuddyCommand"
1488
+ },
1489
+ {
1490
+ "kind": "skills",
1491
+ "destSubpath": "skills",
1492
+ "prefix": "gsd-",
1493
+ "nesting": "flat",
1494
+ "recursive": false,
1495
+ "converter": "convertClaudeCommandToCodebuddySkill"
1496
+ }
1497
+ ],
1498
+ "local": [
1499
+ {
1500
+ "kind": "commands",
1501
+ "destSubpath": "commands",
1502
+ "prefix": "gsd-",
1503
+ "nesting": "flat",
1504
+ "recursive": false,
1505
+ "converter": "convertClaudeCommandToCodebuddyCommand"
1506
+ },
1507
+ {
1508
+ "kind": "skills",
1509
+ "destSubpath": "skills",
1510
+ "prefix": "gsd-",
1511
+ "nesting": "flat",
1512
+ "recursive": false,
1513
+ "converter": "convertClaudeCommandToCodebuddySkill"
1514
+ }
1515
+ ]
1516
+ },
1517
+ "commandStyle": "slash-hyphen",
1518
+ "hooksSurface": "settings-json",
1519
+ "hookEvents": "claude",
1520
+ "sandboxTier": "none",
1521
+ "supportTier": 2,
1522
+ "installSurface": "settings-json",
1523
+ "writesSharedSettings": true,
1524
+ "permissionWriter": null,
1525
+ "extendedHookEvents": []
1526
+ }
1527
+ },
1528
+ "codex": {
1529
+ "id": "codex",
1530
+ "role": "runtime",
1531
+ "title": "OpenAI Codex CLI",
1532
+ "description": "OpenAI Codex CLI — shell-var command style; per-agent sandbox tiers; config.toml + hooks.json hook surface; tier-1 support.",
1533
+ "tier": "core",
1534
+ "requires": [],
1535
+ "runtime": {
1536
+ "configHome": {
1537
+ "kind": "dot-home",
1538
+ "name": ".codex",
1539
+ "env": [
1540
+ "CODEX_HOME"
1541
+ ]
1542
+ },
1543
+ "configFormat": "toml",
1544
+ "artifactLayout": {
1545
+ "global": [
1546
+ {
1547
+ "kind": "skills",
1548
+ "destSubpath": "skills",
1549
+ "prefix": "gsd-",
1550
+ "nesting": "flat",
1551
+ "recursive": false,
1552
+ "converter": "convertClaudeCommandToCodexSkill"
1553
+ }
1554
+ ],
1555
+ "local": [
1556
+ {
1557
+ "kind": "skills",
1558
+ "destSubpath": "skills",
1559
+ "prefix": "gsd-",
1560
+ "nesting": "flat",
1561
+ "recursive": false,
1562
+ "converter": "convertClaudeCommandToCodexSkill"
1563
+ }
1564
+ ]
1565
+ },
1566
+ "commandStyle": "shell-var",
1567
+ "hooksSurface": "codex-hooks-json",
1568
+ "hookEvents": "claude",
1569
+ "sandboxTier": "codex-agent-sandbox",
1570
+ "supportTier": 1,
1571
+ "installSurface": "codex-toml",
1572
+ "writesSharedSettings": false,
1573
+ "permissionWriter": null,
1574
+ "extendedHookEvents": []
1575
+ }
1576
+ },
1577
+ "copilot": {
1578
+ "id": "copilot",
1579
+ "role": "runtime",
1580
+ "title": "GitHub Copilot",
1581
+ "description": "GitHub Copilot (VS Code) — markdown config format; copilot-inline hook surface; no hook events emitted; flat skill nesting (unconfirmed recursive loader); tier-2 support.",
1582
+ "tier": "core",
1583
+ "requires": [],
1584
+ "runtime": {
1585
+ "configHome": {
1586
+ "kind": "dot-home",
1587
+ "name": ".copilot",
1588
+ "env": [
1589
+ "COPILOT_CONFIG_DIR",
1590
+ "COPILOT_HOME"
1591
+ ]
1592
+ },
1593
+ "configFormat": "markdown",
1594
+ "artifactLayout": {
1595
+ "global": [
1596
+ {
1597
+ "kind": "skills",
1598
+ "destSubpath": "skills",
1599
+ "prefix": "gsd-",
1600
+ "nesting": "flat",
1601
+ "recursive": false,
1602
+ "converter": "convertClaudeCommandToCopilotSkill"
1603
+ }
1604
+ ],
1605
+ "local": [
1606
+ {
1607
+ "kind": "skills",
1608
+ "destSubpath": "skills",
1609
+ "prefix": "gsd-",
1610
+ "nesting": "flat",
1611
+ "recursive": false,
1612
+ "converter": "convertClaudeCommandToCopilotSkill"
1613
+ }
1614
+ ]
1615
+ },
1616
+ "commandStyle": "slash-hyphen",
1617
+ "hooksSurface": "copilot-inline",
1618
+ "sandboxTier": "none",
1619
+ "supportTier": 2,
1620
+ "installSurface": "copilot-instructions",
1621
+ "writesSharedSettings": false,
1622
+ "permissionWriter": null,
1623
+ "extendedHookEvents": []
1624
+ }
1625
+ },
1626
+ "cursor": {
1627
+ "id": "cursor",
1628
+ "role": "runtime",
1629
+ "title": "Cursor",
1630
+ "description": "Cursor IDE — skills + converted commands artifact layout; hooks.json surface; Claude hook event dialect; recursive skill loader (flat nesting); tier-2 support.",
1631
+ "tier": "core",
1632
+ "requires": [],
1633
+ "runtime": {
1634
+ "configHome": {
1635
+ "kind": "dot-home",
1636
+ "name": ".cursor",
1637
+ "env": [
1638
+ "CURSOR_CONFIG_DIR"
1639
+ ]
1640
+ },
1641
+ "configFormat": "none",
1642
+ "artifactLayout": {
1643
+ "global": [
1644
+ {
1645
+ "kind": "skills",
1646
+ "destSubpath": "skills",
1647
+ "prefix": "gsd-",
1648
+ "nesting": "flat",
1649
+ "recursive": true,
1650
+ "converter": "convertClaudeCommandToCursorSkill"
1651
+ },
1652
+ {
1653
+ "kind": "commands",
1654
+ "destSubpath": "commands",
1655
+ "prefix": "gsd-",
1656
+ "nesting": "flat",
1657
+ "recursive": false,
1658
+ "converter": "convertClaudeCommandToCursorCommand"
1659
+ }
1660
+ ],
1661
+ "local": [
1662
+ {
1663
+ "kind": "skills",
1664
+ "destSubpath": "skills",
1665
+ "prefix": "gsd-",
1666
+ "nesting": "flat",
1667
+ "recursive": true,
1668
+ "converter": "convertClaudeCommandToCursorSkill"
1669
+ },
1670
+ {
1671
+ "kind": "commands",
1672
+ "destSubpath": "commands",
1673
+ "prefix": "gsd-",
1674
+ "nesting": "flat",
1675
+ "recursive": false,
1676
+ "converter": "convertClaudeCommandToCursorCommand"
1677
+ }
1678
+ ]
1679
+ },
1680
+ "commandStyle": "slash-hyphen",
1681
+ "hooksSurface": "cursor-hooks-json",
1682
+ "hookEvents": "claude",
1683
+ "sandboxTier": "none",
1684
+ "supportTier": 2,
1685
+ "installSurface": "cursor-hooks-json",
1686
+ "writesSharedSettings": false,
1687
+ "permissionWriter": null,
1688
+ "extendedHookEvents": []
1689
+ }
1690
+ },
1691
+ "gemini": {
1692
+ "id": "gemini",
1693
+ "role": "runtime",
1694
+ "title": "Gemini CLI",
1695
+ "description": "Google Gemini CLI — commands-only artifact layout (TOML); Gemini hook event dialect; settings-json hook surface; tier-2 support.",
1696
+ "tier": "core",
1697
+ "requires": [],
1698
+ "runtime": {
1699
+ "configHome": {
1700
+ "kind": "dot-home",
1701
+ "name": ".gemini",
1702
+ "env": [
1703
+ "GEMINI_CONFIG_DIR"
1704
+ ]
1705
+ },
1706
+ "configFormat": "settings-json",
1707
+ "artifactLayout": {
1708
+ "global": [
1709
+ {
1710
+ "kind": "commands",
1711
+ "destSubpath": "commands/gsd",
1712
+ "prefix": "gsd-",
1713
+ "nesting": "flat",
1714
+ "recursive": false,
1715
+ "converter": null
1716
+ }
1717
+ ],
1718
+ "local": [
1719
+ {
1720
+ "kind": "commands",
1721
+ "destSubpath": "commands/gsd",
1722
+ "prefix": "gsd-",
1723
+ "nesting": "flat",
1724
+ "recursive": false,
1725
+ "converter": null
1726
+ }
1727
+ ]
1728
+ },
1729
+ "commandStyle": "slash-hyphen",
1730
+ "hooksSurface": "settings-json",
1731
+ "hookEvents": "gemini",
1732
+ "sandboxTier": "none",
1733
+ "supportTier": 2,
1734
+ "installSurface": "settings-json",
1735
+ "writesSharedSettings": true,
1736
+ "permissionWriter": null,
1737
+ "extendedHookEvents": [
1738
+ "BeforeAgent",
1739
+ "AfterAgent",
1740
+ "BeforeModel"
1741
+ ]
1742
+ }
1743
+ },
1744
+ "hermes": {
1745
+ "id": "hermes",
1746
+ "role": "runtime",
1747
+ "title": "Hermes Agent",
1748
+ "description": "Hermes Agent (NousResearch) — skills nest under skills/gsd/ category bucket; nested skill layout; settings-json hook surface; Claude hook event dialect; tier-2 support.",
1749
+ "tier": "core",
1750
+ "requires": [],
1751
+ "runtime": {
1752
+ "configHome": {
1753
+ "kind": "dot-home",
1754
+ "name": ".hermes",
1755
+ "env": [
1756
+ "HERMES_HOME"
1757
+ ]
1758
+ },
1759
+ "configFormat": "settings-json",
1760
+ "artifactLayout": {
1761
+ "global": [
1762
+ {
1763
+ "kind": "skills",
1764
+ "destSubpath": "skills/gsd",
1765
+ "prefix": "gsd-",
1766
+ "nesting": "nested",
1767
+ "recursive": false,
1768
+ "converter": "convertClaudeCommandToClaudeSkill"
1769
+ }
1770
+ ],
1771
+ "local": [
1772
+ {
1773
+ "kind": "skills",
1774
+ "destSubpath": "skills/gsd",
1775
+ "prefix": "gsd-",
1776
+ "nesting": "nested",
1777
+ "recursive": false,
1778
+ "converter": "convertClaudeCommandToClaudeSkill"
1779
+ }
1780
+ ]
1781
+ },
1782
+ "commandStyle": "slash-hyphen",
1783
+ "hooksSurface": "settings-json",
1784
+ "hookEvents": "claude",
1785
+ "sandboxTier": "none",
1786
+ "supportTier": 2,
1787
+ "installSurface": "settings-json",
1788
+ "writesSharedSettings": true,
1789
+ "permissionWriter": null,
1790
+ "extendedHookEvents": []
1791
+ }
1792
+ },
1793
+ "kilo": {
1794
+ "id": "kilo",
1795
+ "role": "runtime",
1796
+ "title": "Kilo Code",
1797
+ "description": "Kilo Code — XDG-based config dir; global skills at ~/.kilo/skills (separate from XDG config); flat command/ + skills artifact layout; no lifecycle hook registration; tier-2 support.",
1798
+ "tier": "core",
1799
+ "requires": [],
1800
+ "runtime": {
1801
+ "configHome": {
1802
+ "kind": "xdg",
1803
+ "name": "kilo",
1804
+ "env": [
1805
+ "KILO_CONFIG_DIR",
1806
+ "KILO_CONFIG",
1807
+ "XDG_CONFIG_HOME"
1808
+ ],
1809
+ "skillsHome": {
1810
+ "kind": "dot-home",
1811
+ "name": ".kilo",
1812
+ "env": []
1813
+ }
1814
+ },
1815
+ "configFormat": "settings-json",
1816
+ "artifactLayout": {
1817
+ "global": [
1818
+ {
1819
+ "kind": "commands",
1820
+ "destSubpath": "command",
1821
+ "prefix": "gsd-",
1822
+ "nesting": "flat",
1823
+ "recursive": false,
1824
+ "converter": null
1825
+ },
1826
+ {
1827
+ "kind": "skills",
1828
+ "destSubpath": "skills",
1829
+ "prefix": "gsd-",
1830
+ "nesting": "flat",
1831
+ "recursive": true,
1832
+ "converter": "convertClaudeCommandToKiloSkill"
1833
+ }
1834
+ ],
1835
+ "local": [
1836
+ {
1837
+ "kind": "commands",
1838
+ "destSubpath": "command",
1839
+ "prefix": "gsd-",
1840
+ "nesting": "flat",
1841
+ "recursive": false,
1842
+ "converter": null
1843
+ },
1844
+ {
1845
+ "kind": "skills",
1846
+ "destSubpath": "skills",
1847
+ "prefix": "gsd-",
1848
+ "nesting": "flat",
1849
+ "recursive": true,
1850
+ "converter": "convertClaudeCommandToKiloSkill"
1851
+ }
1852
+ ]
1853
+ },
1854
+ "commandStyle": "slash-hyphen",
1855
+ "hooksSurface": "none",
1856
+ "sandboxTier": "none",
1857
+ "supportTier": 2,
1858
+ "installSurface": "settings-json",
1859
+ "writesSharedSettings": false,
1860
+ "permissionWriter": "kilo",
1861
+ "extendedHookEvents": []
1862
+ }
1863
+ },
1864
+ "kimi": {
1865
+ "id": "kimi",
1866
+ "role": "runtime",
1867
+ "title": "Kimi CLI",
1868
+ "description": "Kimi CLI (Moonshot AI) — generic agents root at ~/.config/agents; skills + kimi-agents artifact layout; no hook surface; no hook events; tier-2 support.",
1869
+ "tier": "core",
1870
+ "requires": [],
1871
+ "runtime": {
1872
+ "configHome": {
1873
+ "kind": "generic-agents-root",
1874
+ "name": "agents",
1875
+ "env": [
1876
+ "KIMI_CONFIG_DIR"
1877
+ ],
1878
+ "probe": [
1879
+ "~/.config/agents",
1880
+ "~/.agents"
1881
+ ],
1882
+ "probeExists": "skills"
1883
+ },
1884
+ "configFormat": "none",
1885
+ "artifactLayout": {
1886
+ "global": [
1887
+ {
1888
+ "kind": "skills",
1889
+ "destSubpath": "skills",
1890
+ "prefix": "gsd-",
1891
+ "nesting": "flat",
1892
+ "recursive": false,
1893
+ "converter": "convertClaudeCommandToKimiSkill"
1894
+ },
1895
+ {
1896
+ "kind": "kimi-agents",
1897
+ "destSubpath": "agents",
1898
+ "prefix": "gsd",
1899
+ "nesting": "flat",
1900
+ "recursive": false,
1901
+ "converter": null
1902
+ }
1903
+ ],
1904
+ "local": []
1905
+ },
1906
+ "commandStyle": "slash-hyphen",
1907
+ "hooksSurface": "none",
1908
+ "sandboxTier": "none",
1909
+ "supportTier": 2,
1910
+ "installSurface": "profile-marker-only",
1911
+ "writesSharedSettings": false,
1912
+ "permissionWriter": null,
1913
+ "extendedHookEvents": []
1914
+ }
1915
+ },
1916
+ "opencode": {
1917
+ "id": "opencode",
1918
+ "role": "runtime",
1919
+ "title": "OpenCode",
1920
+ "description": "OpenCode — XDG-based config dir; flat command/ + skills artifact layout; settings-json config format; no lifecycle hook registration; tier-2 support.",
1921
+ "tier": "core",
1922
+ "requires": [],
1923
+ "runtime": {
1924
+ "configHome": {
1925
+ "kind": "xdg",
1926
+ "name": "opencode",
1927
+ "env": [
1928
+ "OPENCODE_CONFIG_DIR",
1929
+ "OPENCODE_CONFIG",
1930
+ "XDG_CONFIG_HOME"
1931
+ ]
1932
+ },
1933
+ "configFormat": "settings-json",
1934
+ "artifactLayout": {
1935
+ "global": [
1936
+ {
1937
+ "kind": "commands",
1938
+ "destSubpath": "command",
1939
+ "prefix": "gsd-",
1940
+ "nesting": "flat",
1941
+ "recursive": false,
1942
+ "converter": null
1943
+ },
1944
+ {
1945
+ "kind": "skills",
1946
+ "destSubpath": "skills",
1947
+ "prefix": "gsd-",
1948
+ "nesting": "flat",
1949
+ "recursive": true,
1950
+ "converter": "convertClaudeCommandToOpencodeSkill"
1951
+ }
1952
+ ],
1953
+ "local": [
1954
+ {
1955
+ "kind": "commands",
1956
+ "destSubpath": "command",
1957
+ "prefix": "gsd-",
1958
+ "nesting": "flat",
1959
+ "recursive": false,
1960
+ "converter": null
1961
+ },
1962
+ {
1963
+ "kind": "skills",
1964
+ "destSubpath": "skills",
1965
+ "prefix": "gsd-",
1966
+ "nesting": "flat",
1967
+ "recursive": true,
1968
+ "converter": "convertClaudeCommandToOpencodeSkill"
1969
+ }
1970
+ ]
1971
+ },
1972
+ "commandStyle": "slash-hyphen",
1973
+ "hooksSurface": "none",
1974
+ "sandboxTier": "none",
1975
+ "supportTier": 2,
1976
+ "installSurface": "settings-json",
1977
+ "writesSharedSettings": true,
1978
+ "permissionWriter": "opencode",
1979
+ "extendedHookEvents": []
1980
+ }
1981
+ },
1982
+ "qwen": {
1983
+ "id": "qwen",
1984
+ "role": "runtime",
1985
+ "title": "Qwen Code",
1986
+ "description": "Qwen Code (Alibaba) — nested-skill artifact layout; settings-json hook surface; Claude hook event dialect; tier-2 support.",
1987
+ "tier": "core",
1988
+ "requires": [],
1989
+ "runtime": {
1990
+ "configHome": {
1991
+ "kind": "dot-home",
1992
+ "name": ".qwen",
1993
+ "env": [
1994
+ "QWEN_CONFIG_DIR"
1995
+ ]
1996
+ },
1997
+ "configFormat": "settings-json",
1998
+ "artifactLayout": {
1999
+ "global": [
2000
+ {
2001
+ "kind": "skills",
2002
+ "destSubpath": "skills",
2003
+ "prefix": "gsd-",
2004
+ "nesting": "nested",
2005
+ "recursive": false,
2006
+ "converter": "convertClaudeCommandToClaudeSkill"
2007
+ }
2008
+ ],
2009
+ "local": [
2010
+ {
2011
+ "kind": "skills",
2012
+ "destSubpath": "skills",
2013
+ "prefix": "gsd-",
2014
+ "nesting": "nested",
2015
+ "recursive": false,
2016
+ "converter": "convertClaudeCommandToClaudeSkill"
2017
+ }
2018
+ ]
2019
+ },
2020
+ "commandStyle": "slash-hyphen",
2021
+ "hooksSurface": "settings-json",
2022
+ "hookEvents": "claude",
2023
+ "sandboxTier": "none",
2024
+ "supportTier": 2,
2025
+ "installSurface": "settings-json",
2026
+ "writesSharedSettings": true,
2027
+ "permissionWriter": null,
2028
+ "extendedHookEvents": [
2029
+ "SubagentStop",
2030
+ "Stop",
2031
+ "PreCompact"
2032
+ ]
2033
+ }
2034
+ },
2035
+ "trae": {
2036
+ "id": "trae",
2037
+ "role": "runtime",
2038
+ "title": "Trae IDE",
2039
+ "description": "Trae IDE — nested-skill artifact layout; no hook surface (profile-marker-only config); tier-2 support.",
2040
+ "tier": "core",
2041
+ "requires": [],
2042
+ "runtime": {
2043
+ "configHome": {
2044
+ "kind": "dot-home",
2045
+ "name": ".trae",
2046
+ "env": [
2047
+ "TRAE_CONFIG_DIR"
2048
+ ]
2049
+ },
2050
+ "configFormat": "none",
2051
+ "artifactLayout": {
2052
+ "global": [
2053
+ {
2054
+ "kind": "skills",
2055
+ "destSubpath": "skills",
2056
+ "prefix": "gsd-",
2057
+ "nesting": "nested",
2058
+ "recursive": false,
2059
+ "converter": "convertClaudeCommandToTraeSkill"
2060
+ }
2061
+ ],
2062
+ "local": [
2063
+ {
2064
+ "kind": "skills",
2065
+ "destSubpath": "skills",
2066
+ "prefix": "gsd-",
2067
+ "nesting": "nested",
2068
+ "recursive": false,
2069
+ "converter": "convertClaudeCommandToTraeSkill"
2070
+ }
2071
+ ]
2072
+ },
2073
+ "commandStyle": "slash-hyphen",
2074
+ "hooksSurface": "none",
2075
+ "sandboxTier": "none",
2076
+ "supportTier": 2,
2077
+ "installSurface": "profile-marker-only",
2078
+ "writesSharedSettings": false,
2079
+ "permissionWriter": null,
2080
+ "extendedHookEvents": []
2081
+ }
2082
+ },
2083
+ "windsurf": {
2084
+ "id": "windsurf",
2085
+ "role": "runtime",
2086
+ "title": "Windsurf",
2087
+ "description": "Windsurf (Codeium) — nested under ~/.codeium/windsurf; skills-only artifact layout; no hook surface; no hook events; tier-2 support.",
2088
+ "tier": "core",
2089
+ "requires": [],
2090
+ "runtime": {
2091
+ "configHome": {
2092
+ "kind": "dot-home-nested",
2093
+ "name": "windsurf",
2094
+ "parent": ".codeium",
2095
+ "env": [
2096
+ "WINDSURF_CONFIG_DIR"
2097
+ ]
2098
+ },
2099
+ "configFormat": "none",
2100
+ "artifactLayout": {
2101
+ "global": [
2102
+ {
2103
+ "kind": "skills",
2104
+ "destSubpath": "skills",
2105
+ "prefix": "gsd-",
2106
+ "nesting": "flat",
2107
+ "recursive": false,
2108
+ "converter": "convertClaudeCommandToWindsurfSkill"
2109
+ }
2110
+ ],
2111
+ "local": [
2112
+ {
2113
+ "kind": "skills",
2114
+ "destSubpath": "skills",
2115
+ "prefix": "gsd-",
2116
+ "nesting": "flat",
2117
+ "recursive": false,
2118
+ "converter": "convertClaudeCommandToWindsurfSkill"
2119
+ }
2120
+ ]
2121
+ },
2122
+ "commandStyle": "slash-hyphen",
2123
+ "hooksSurface": "none",
2124
+ "sandboxTier": "none",
2125
+ "supportTier": 2,
2126
+ "installSurface": "profile-marker-only",
2127
+ "writesSharedSettings": false,
2128
+ "permissionWriter": null,
2129
+ "extendedHookEvents": []
2130
+ }
2131
+ }
2132
+ };
2133
+
2134
+ const commandFamilies = {
2135
+ "audit-open": {
2136
+ "capId": "audit",
2137
+ "module": "audit-command-router.cjs",
2138
+ "router": "routeAuditOpen"
2139
+ },
2140
+ "audit-uat": {
2141
+ "capId": "audit",
2142
+ "module": "audit-command-router.cjs",
2143
+ "router": "routeAuditUat"
2144
+ },
2145
+ "graphify": {
2146
+ "capId": "graphify",
2147
+ "module": "graphify-command-router.cjs",
2148
+ "router": "routeGraphifyCommand"
2149
+ },
2150
+ "intel": {
2151
+ "capId": "intel",
2152
+ "module": "intel-command-router.cjs",
2153
+ "router": "routeIntelCommand"
2154
+ }
2155
+ };
2156
+
2157
+ const capabilityClusters = {
2158
+ "graphify": [
2159
+ "graphify"
2160
+ ],
2161
+ "ui": [
2162
+ "ui-phase",
2163
+ "ui-review"
2164
+ ]
2165
+ };
2166
+
2167
+ const profileMembership = {
2168
+ "graphify": {
2169
+ "tier": "full",
2170
+ "profiles": [
2171
+ "full"
2172
+ ]
2173
+ },
2174
+ "ui": {
2175
+ "tier": "full",
2176
+ "profiles": [
2177
+ "full"
2178
+ ]
2179
+ }
2180
+ };
2181
+
2182
+ const _requiresGraph = {
2183
+ "antigravity": [],
2184
+ "audit": [],
2185
+ "augment": [],
2186
+ "claude": [],
2187
+ "cline": [],
2188
+ "codebuddy": [],
2189
+ "codex": [],
2190
+ "copilot": [],
2191
+ "cursor": [],
2192
+ "gemini": [],
2193
+ "graphify": [],
2194
+ "hermes": [],
2195
+ "intel": [],
2196
+ "kilo": [],
2197
+ "kimi": [],
2198
+ "opencode": [],
2199
+ "qwen": [],
2200
+ "trae": [],
2201
+ "ui": [],
2202
+ "windsurf": []
2203
+ };
2204
+
2205
+ function requiresClosure(id) {
2206
+ const visited = new Set();
2207
+ const queue = [id];
2208
+ while (queue.length > 0) {
2209
+ const current = queue.shift();
2210
+ const reqs = _requiresGraph[current] || [];
2211
+ for (const req of reqs) {
2212
+ if (!visited.has(req)) {
2213
+ visited.add(req);
2214
+ queue.push(req);
2215
+ }
2216
+ }
2217
+ }
2218
+ return visited;
2219
+ }
2220
+
2221
+ module.exports = {
2222
+ version: '1',
2223
+ capabilities,
2224
+ bySkill,
2225
+ byAgent,
2226
+ byLoopPoint,
2227
+ configKeys,
2228
+ configSchema,
2229
+ runtimes,
2230
+ commandFamilies,
2231
+ capabilityClusters,
2232
+ profileMembership,
2233
+ requiresClosure,
2234
+ };