gsd-antigravity-kit 1.32.0 → 2.0.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 (163) hide show
  1. package/.agent/skills/gsd/SKILL.md +152 -123
  2. package/.agent/skills/gsd/VERSION +1 -0
  3. package/.agent/skills/gsd/assets/templates/user-profile.md +8 -8
  4. package/.agent/skills/gsd/bin/gsd-tools.cjs +81 -3
  5. package/.agent/skills/gsd/bin/help-manifest.json +24 -1
  6. package/.agent/skills/gsd/bin/hooks/gsd-check-update.js +15 -5
  7. package/.agent/skills/gsd/bin/hooks/gsd-context-monitor.js +1 -1
  8. package/.agent/skills/gsd/bin/hooks/gsd-phase-boundary.sh +27 -0
  9. package/.agent/skills/gsd/bin/hooks/gsd-prompt-guard.js +2 -1
  10. package/.agent/skills/gsd/bin/hooks/gsd-read-guard.js +1 -1
  11. package/.agent/skills/gsd/bin/hooks/gsd-session-state.sh +33 -0
  12. package/.agent/skills/gsd/bin/hooks/gsd-statusline.js +5 -5
  13. package/.agent/skills/gsd/bin/hooks/gsd-validate-commit.sh +47 -0
  14. package/.agent/skills/gsd/bin/hooks/gsd-workflow-guard.js +1 -1
  15. package/.agent/skills/gsd/bin/lib/config.cjs +31 -10
  16. package/.agent/skills/gsd/bin/lib/core.cjs +48 -13
  17. package/.agent/skills/gsd/bin/lib/frontmatter.cjs +34 -2
  18. package/.agent/skills/gsd/bin/lib/intel.cjs +660 -0
  19. package/.agent/skills/gsd/bin/lib/learnings.cjs +378 -0
  20. package/.agent/skills/gsd/bin/lib/milestone.cjs +13 -4
  21. package/.agent/skills/gsd/bin/lib/model-profiles.cjs +17 -17
  22. package/.agent/skills/gsd/bin/lib/profile-output.cjs +31 -31
  23. package/.agent/skills/gsd/bin/lib/security.cjs +119 -0
  24. package/.agent/skills/gsd/bin/lib/verify.cjs +15 -15
  25. package/.agent/skills/gsd/migration_report.md +7 -0
  26. package/.agent/skills/gsd/references/agents/gsd-code-fixer.md +516 -0
  27. package/.agent/skills/gsd/references/agents/gsd-code-reviewer.md +355 -0
  28. package/.agent/skills/gsd/references/agents/gsd-debugger.md +10 -1
  29. package/.agent/skills/gsd/references/agents/gsd-executor.md +3 -0
  30. package/.agent/skills/gsd/references/agents/gsd-intel-updater.md +314 -0
  31. package/.agent/skills/gsd/references/agents/gsd-phase-researcher.md +3 -0
  32. package/.agent/skills/gsd/references/agents/gsd-plan-checker.md +16 -4
  33. package/.agent/skills/gsd/references/agents/gsd-planner.md +7 -0
  34. package/.agent/skills/gsd/references/agents/gsd-user-profiler.md +5 -5
  35. package/.agent/skills/gsd/references/agents/gsd-verifier.md +55 -1
  36. package/.agent/skills/gsd/references/agents/profiles/dev.md +21 -0
  37. package/.agent/skills/gsd/references/agents/profiles/research.md +22 -0
  38. package/.agent/skills/gsd/references/agents/profiles/review.md +22 -0
  39. package/.agent/skills/gsd/references/commands/{gsd-add-todo.md → atomic/add-todo.md} +5 -4
  40. package/.agent/skills/gsd/references/commands/{gsd-check-todos.md → atomic/check-todos.md} +5 -4
  41. package/.agent/skills/gsd/references/commands/{gsd-cleanup.md → atomic/cleanup.md} +4 -3
  42. package/.agent/skills/gsd/references/commands/{gsd-do.md → atomic/do.md} +4 -3
  43. package/.agent/skills/gsd/references/commands/{gsd-help.md → atomic/help.md} +4 -3
  44. package/.agent/skills/gsd/references/commands/{gsd-join-discord.md → atomic/join-discord.md} +21 -19
  45. package/.agent/skills/gsd/references/commands/{gsd-note.md → atomic/note.md} +4 -3
  46. package/.agent/skills/gsd/references/commands/{gsd-session-report.md → atomic/session-report.md} +4 -3
  47. package/.agent/skills/gsd/references/commands/{gsd-ship.md → atomic/ship.md} +4 -3
  48. package/.agent/skills/gsd/references/commands/{gsd-stats.md → atomic/stats.md} +4 -3
  49. package/.agent/skills/gsd/references/commands/{gsd-thread.md → atomic/thread.md} +7 -6
  50. package/.agent/skills/gsd/references/commands/atomic/undo.md +36 -0
  51. package/.agent/skills/gsd/references/commands/{gsd-add-backlog.md → milestone/add-backlog.md} +8 -7
  52. package/.agent/skills/gsd/references/commands/{gsd-audit-milestone.md → milestone/audit-milestone.md} +4 -3
  53. package/.agent/skills/gsd/references/commands/{gsd-complete-milestone.md → milestone/complete-milestone.md} +6 -4
  54. package/.agent/skills/gsd/references/commands/{gsd-milestone-summary.md → milestone/milestone-summary.md} +5 -3
  55. package/.agent/skills/gsd/references/commands/{gsd-new-milestone.md → milestone/new-milestone.md} +4 -3
  56. package/.agent/skills/gsd/references/commands/{gsd-plan-milestone-gaps.md → milestone/plan-milestone-gaps.md} +4 -3
  57. package/.agent/skills/gsd/references/commands/{gsd-plant-seed.md → milestone/plant-seed.md} +4 -3
  58. package/.agent/skills/gsd/references/commands/{gsd-review-backlog.md → milestone/review-backlog.md} +6 -5
  59. package/.agent/skills/gsd/references/commands/misc/audit-fix.md +35 -0
  60. package/.agent/skills/gsd/references/commands/{gsd-audit-uat.md → misc/audit-uat.md} +4 -3
  61. package/.agent/skills/gsd/references/commands/{gsd-next.md → misc/next.md} +6 -3
  62. package/.agent/skills/gsd/references/commands/{gsd-progress.md → misc/progress.md} +4 -3
  63. package/.agent/skills/gsd/references/commands/{gsd-verify-work.md → misc/verify-work.md} +4 -3
  64. package/.agent/skills/gsd/references/commands/{gsd-add-phase.md → phase/add-phase.md} +5 -4
  65. package/.agent/skills/gsd/references/commands/{gsd-add-tests.md → phase/add-tests.md} +8 -3
  66. package/.agent/skills/gsd/references/commands/{gsd-discuss-phase.md → phase/discuss-phase.md} +5 -4
  67. package/.agent/skills/gsd/references/commands/{gsd-execute-phase.md → phase/execute-phase.md} +4 -3
  68. package/.agent/skills/gsd/references/commands/{gsd-insert-phase.md → phase/insert-phase.md} +5 -4
  69. package/.agent/skills/gsd/references/commands/{gsd-list-phase-assumptions.md → phase/list-phase-assumptions.md} +4 -3
  70. package/.agent/skills/gsd/references/commands/{gsd-plan-phase.md → phase/plan-phase.md} +4 -3
  71. package/.agent/skills/gsd/references/commands/{gsd-remove-phase.md → phase/remove-phase.md} +5 -4
  72. package/.agent/skills/gsd/references/commands/{gsd-research-phase.md → phase/research-phase.md} +7 -6
  73. package/.agent/skills/gsd/references/commands/{gsd-secure-phase.md → phase/secure-phase.md} +4 -3
  74. package/.agent/skills/gsd/references/commands/{gsd-ui-phase.md → phase/ui-phase.md} +4 -3
  75. package/.agent/skills/gsd/references/commands/{gsd-ui-review.md → phase/ui-review.md} +4 -3
  76. package/.agent/skills/gsd/references/commands/{gsd-validate-phase.md → phase/validate-phase.md} +4 -3
  77. package/.agent/skills/gsd/references/commands/{gsd-workstreams.md → phase/workstreams.md} +71 -70
  78. package/.agent/skills/gsd/references/commands/{gsd-analyze-dependencies.md → project/analyze-dependencies.md} +5 -4
  79. package/.agent/skills/gsd/references/commands/project/explore.md +29 -0
  80. package/.agent/skills/gsd/references/commands/project/import.md +38 -0
  81. package/.agent/skills/gsd/references/commands/project/intel.md +181 -0
  82. package/.agent/skills/gsd/references/commands/{gsd-list-workspaces.md → project/list-workspaces.md} +4 -3
  83. package/.agent/skills/gsd/references/commands/{gsd-map-codebase.md → project/map-codebase.md} +4 -3
  84. package/.agent/skills/gsd/references/commands/{gsd-new-project.md → project/new-project.md} +4 -3
  85. package/.agent/skills/gsd/references/commands/{gsd-new-workspace.md → project/new-workspace.md} +4 -3
  86. package/.agent/skills/gsd/references/commands/{gsd-remove-workspace.md → project/remove-workspace.md} +4 -3
  87. package/.agent/skills/gsd/references/commands/project/scan.md +28 -0
  88. package/.agent/skills/gsd/references/commands/{gsd-autonomous.md → system/autonomous.md} +4 -3
  89. package/.agent/skills/gsd/references/commands/system/code-review-fix.md +54 -0
  90. package/.agent/skills/gsd/references/commands/system/code-review.md +57 -0
  91. package/.agent/skills/gsd/references/commands/{gsd-debug.md → system/debug.md} +7 -6
  92. package/.agent/skills/gsd/references/commands/{gsd-docs-update.md → system/docs-update.md} +4 -3
  93. package/.agent/skills/gsd/references/commands/{gsd-fast.md → system/fast.md} +4 -3
  94. package/.agent/skills/gsd/references/commands/{gsd-forensics.md → system/forensics.md} +5 -3
  95. package/.agent/skills/gsd/references/commands/{gsd-health.md → system/health.md} +5 -4
  96. package/.agent/skills/gsd/references/commands/{gsd-manager.md → system/manager.md} +4 -3
  97. package/.agent/skills/gsd/references/commands/{gsd-pause-work.md → system/pause-work.md} +4 -3
  98. package/.agent/skills/gsd/references/commands/{gsd-pr-branch.md → system/pr-branch.md} +4 -3
  99. package/.agent/skills/gsd/references/commands/{gsd-profile-user.md → system/profile-user.md} +4 -3
  100. package/.agent/skills/gsd/references/commands/{gsd-quick.md → system/quick.md} +4 -3
  101. package/.agent/skills/gsd/references/commands/{gsd-reapply-patches.md → system/reapply-patches.md} +25 -7
  102. package/.agent/skills/gsd/references/commands/{gsd-resume-work.md → system/resume-work.md} +4 -3
  103. package/.agent/skills/gsd/references/commands/{gsd-review.md → system/review.md} +4 -3
  104. package/.agent/skills/gsd/references/commands/system/set-profile.md +14 -0
  105. package/.agent/skills/gsd/references/commands/{gsd-settings.md → system/settings.md} +4 -3
  106. package/.agent/skills/gsd/references/commands/{gsd-update.md → system/update.md} +4 -3
  107. package/.agent/skills/gsd/references/docs/agent-contracts.md +79 -0
  108. package/.agent/skills/gsd/references/docs/common-bug-patterns.md +114 -0
  109. package/.agent/skills/gsd/references/docs/context-budget.md +49 -0
  110. package/.agent/skills/gsd/references/docs/domain-probes.md +125 -0
  111. package/.agent/skills/gsd/references/docs/few-shot-examples/plan-checker.md +73 -0
  112. package/.agent/skills/gsd/references/docs/few-shot-examples/verifier.md +109 -0
  113. package/.agent/skills/gsd/references/docs/gate-prompts.md +100 -0
  114. package/.agent/skills/gsd/references/docs/gates.md +70 -0
  115. package/.agent/skills/gsd/references/docs/model-profile-resolution.md +2 -0
  116. package/.agent/skills/gsd/references/docs/model-profiles.md +20 -14
  117. package/.agent/skills/gsd/references/docs/planning-config.md +216 -1
  118. package/.agent/skills/gsd/references/docs/revision-loop.md +97 -0
  119. package/.agent/skills/gsd/references/docs/thinking-models-debug.md +44 -0
  120. package/.agent/skills/gsd/references/docs/thinking-models-execution.md +50 -0
  121. package/.agent/skills/gsd/references/docs/thinking-models-planning.md +62 -0
  122. package/.agent/skills/gsd/references/docs/thinking-models-research.md +50 -0
  123. package/.agent/skills/gsd/references/docs/thinking-models-verification.md +55 -0
  124. package/.agent/skills/gsd/references/docs/thinking-partner.md +96 -0
  125. package/.agent/skills/gsd/references/docs/universal-anti-patterns.md +58 -0
  126. package/.agent/skills/gsd/references/docs/user-profiling.md +10 -10
  127. package/.agent/skills/gsd/references/docs/verification-overrides.md +227 -0
  128. package/.agent/skills/gsd/references/docs/workstream-flag.md +2 -2
  129. package/.agent/skills/gsd/references/mapping.md +11 -21
  130. package/.agent/skills/gsd/references/workflows/analyze-dependencies.md +3 -3
  131. package/.agent/skills/gsd/references/workflows/audit-fix.md +157 -0
  132. package/.agent/skills/gsd/references/workflows/autonomous.md +22 -1
  133. package/.agent/skills/gsd/references/workflows/code-review-fix.md +497 -0
  134. package/.agent/skills/gsd/references/workflows/code-review.md +515 -0
  135. package/.agent/skills/gsd/references/workflows/discuss-phase-power.md +3 -3
  136. package/.agent/skills/gsd/references/workflows/discuss-phase.md +20 -0
  137. package/.agent/skills/gsd/references/workflows/execute-phase.md +103 -0
  138. package/.agent/skills/gsd/references/workflows/explore.md +139 -0
  139. package/.agent/skills/gsd/references/workflows/import.md +274 -0
  140. package/.agent/skills/gsd/references/workflows/inbox.md +384 -0
  141. package/.agent/skills/gsd/references/workflows/manager.md +5 -5
  142. package/.agent/skills/gsd/references/workflows/new-milestone.md +1 -1
  143. package/.agent/skills/gsd/references/workflows/next.md +56 -0
  144. package/.agent/skills/gsd/references/workflows/plan-phase.md +48 -1
  145. package/.agent/skills/gsd/references/workflows/quick.md +96 -2
  146. package/.agent/skills/gsd/references/workflows/review.md +23 -3
  147. package/.agent/skills/gsd/references/workflows/scan.md +102 -0
  148. package/.agent/skills/gsd/references/workflows/settings.md +1 -1
  149. package/.agent/skills/gsd/references/workflows/ui-review.md +2 -2
  150. package/.agent/skills/gsd/references/workflows/undo.md +312 -0
  151. package/.agent/skills/gsd/references/workflows/update.md +5 -5
  152. package/.agent/skills/gsd-converter/SKILL.md +67 -59
  153. package/.agent/skills/gsd-converter/assets/migration-manifest.json +74 -0
  154. package/.agent/skills/gsd-converter/references/mapping.md +6 -16
  155. package/.agent/skills/gsd-converter/scripts/convert.py +419 -80
  156. package/.agent/skills/gsd-converter/scripts/regression_test.py +33 -0
  157. package/.agent/skills/selectpaste-update/SKILL.md +46 -0
  158. package/.agent/skills/selectpaste-update/scripts/sync-commands.py +317 -0
  159. package/README.md +4 -2
  160. package/bin/install.js +116 -116
  161. package/package.json +1 -1
  162. package/.agent/skills/gsd/references/commands/gsd-set-profile.md +0 -12
  163. /package/.agent/skills/gsd/references/commands/{gsd-tools.md → system/gsd-tools.md} +0 -0
@@ -1,15 +1,16 @@
1
1
  ---
2
- name: gsd-list-phase-assumptions
3
- description: "Surface Antigravity's assumptions about a phase approach before planning"
2
+ name: gsd:list-phase-assumptions
3
+ description: Surface Antigravity's assumptions about a phase approach before planning
4
4
  argument-hint: "[phase]"
5
5
  allowed-tools:
6
6
  - Read
7
7
  - Bash
8
8
  - Grep
9
9
  - Glob
10
+ gsd-source-version: 1.34.2
11
+ migration-date: 2026-04-08
10
12
  ---
11
13
 
12
-
13
14
  <objective>
14
15
  Analyze a phase and present Antigravity's assumptions about technical approach, implementation order, scope boundaries, risk areas, and dependencies.
15
16
 
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: gsd-plan-phase
3
- description: "Create detailed phase plan (PLAN.md) with verification loop"
2
+ name: gsd:plan-phase
3
+ description: Create detailed phase plan (PLAN.md) with verification loop
4
4
  argument-hint: "[phase] [--auto] [--research] [--skip-research] [--gaps] [--skip-verify] [--prd <file>] [--reviews] [--text]"
5
5
  agent: gsd-planner
6
6
  allowed-tools:
@@ -13,8 +13,9 @@ allowed-tools:
13
13
  - AskUserQuestion
14
14
  - WebFetch
15
15
  - mcp__context7__*
16
+ gsd-source-version: 1.34.2
17
+ migration-date: 2026-04-08
16
18
  ---
17
-
18
19
  <objective>
19
20
  Create executable phase prompts (PLAN.md files) for a roadmap phase with integrated research and verification.
20
21
 
@@ -1,14 +1,15 @@
1
1
  ---
2
- name: gsd-remove-phase
3
- description: "Remove a future phase from roadmap and renumber subsequent phases"
4
- argument-hint: "<phase-number>"
2
+ name: gsd:remove-phase
3
+ description: Remove a future phase from roadmap and renumber subsequent phases
4
+ argument-hint: <phase-number>
5
5
  allowed-tools:
6
6
  - Read
7
7
  - Write
8
8
  - Bash
9
9
  - Glob
10
+ gsd-source-version: 1.34.2
11
+ migration-date: 2026-04-08
10
12
  ---
11
-
12
13
  <objective>
13
14
  Remove an unstarted future phase from the roadmap and renumber all subsequent phases to maintain a clean, linear sequence.
14
15
 
@@ -1,14 +1,15 @@
1
1
  ---
2
- name: gsd-research-phase
3
- description: "Research how to implement a phase (standalone - usually use /gsd-plan-phase instead)"
2
+ name: gsd:research-phase
3
+ description: Research how to implement a phase (standalone - usually use /gsd-plan-phase instead)
4
4
  argument-hint: "[phase]"
5
5
  allowed-tools:
6
6
  - Read
7
7
  - Bash
8
8
  - Task
9
+ gsd-source-version: 1.34.2
10
+ migration-date: 2026-04-08
9
11
  ---
10
12
 
11
-
12
13
  <objective>
13
14
  Research how to implement a phase. Spawns gsd-phase-researcher agent with phase context.
14
15
 
@@ -40,7 +41,7 @@ Normalize phase input in step 1 before any directory lookups.
40
41
  ## 0. Initialize Context
41
42
 
42
43
  ```bash
43
- INIT=$(node ".agent/skills/gsd/bin/gsd-tools.cjs" init phase-op "$ARGUMENTS")
44
+ .agent/skills/gsd/bin/gsd-tools.cjs" init phase-op "$ARGUMENTS")
44
45
  if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
45
46
  ```
46
47
 
@@ -48,13 +49,13 @@ Extract from init JSON: `phase_dir`, `phase_number`, `phase_name`, `phase_found`
48
49
 
49
50
  Resolve researcher model:
50
51
  ```bash
51
- RESEARCHER_MODEL=$(node ".agent/skills/gsd/bin/gsd-tools.cjs" resolve-model gsd-phase-researcher --raw)
52
+ .agent/skills/gsd/bin/gsd-tools.cjs" resolve-model gsd-phase-researcher --raw)
52
53
  ```
53
54
 
54
55
  ## 1. Validate Phase
55
56
 
56
57
  ```bash
57
- PHASE_INFO=$(node ".agent/skills/gsd/bin/gsd-tools.cjs" roadmap get-phase "${phase_number}")
58
+ .agent/skills/gsd/bin/gsd-tools.cjs" roadmap get-phase "${phase_number}")
58
59
  ```
59
60
 
60
61
  **If `found` is false:** Error and exit. **If `found` is true:** Extract `phase_number`, `phase_name`, `goal` from JSON.
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: gsd-secure-phase
3
- description: "Retroactively verify threat mitigations for a completed phase"
2
+ name: gsd:secure-phase
3
+ description: Retroactively verify threat mitigations for a completed phase
4
4
  argument-hint: "[phase number]"
5
5
  allowed-tools:
6
6
  - Read
@@ -11,8 +11,9 @@ allowed-tools:
11
11
  - Grep
12
12
  - Task
13
13
  - AskUserQuestion
14
+ gsd-source-version: 1.34.2
15
+ migration-date: 2026-04-08
14
16
  ---
15
-
16
17
  <objective>
17
18
  Verify threat mitigations for a completed phase. Three states:
18
19
  - (A) SECURITY.md exists — audit and verify mitigations
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: gsd-ui-phase
3
- description: "Generate UI design contract (UI-SPEC.md) for frontend phases"
2
+ name: gsd:ui-phase
3
+ description: Generate UI design contract (UI-SPEC.md) for frontend phases
4
4
  argument-hint: "[phase]"
5
5
  allowed-tools:
6
6
  - Read
@@ -12,8 +12,9 @@ allowed-tools:
12
12
  - WebFetch
13
13
  - AskUserQuestion
14
14
  - mcp__context7__*
15
+ gsd-source-version: 1.34.2
16
+ migration-date: 2026-04-08
15
17
  ---
16
-
17
18
  <objective>
18
19
  Create a UI design contract (UI-SPEC.md) for a frontend phase.
19
20
  Orchestrates gsd-ui-researcher and gsd-ui-checker.
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: gsd-ui-review
3
- description: "Retroactive 6-pillar visual audit of implemented frontend code"
2
+ name: gsd:ui-review
3
+ description: Retroactive 6-pillar visual audit of implemented frontend code
4
4
  argument-hint: "[phase]"
5
5
  allowed-tools:
6
6
  - Read
@@ -10,8 +10,9 @@ allowed-tools:
10
10
  - Grep
11
11
  - Task
12
12
  - AskUserQuestion
13
+ gsd-source-version: 1.34.2
14
+ migration-date: 2026-04-08
13
15
  ---
14
-
15
16
  <objective>
16
17
  Conduct a retroactive 6-pillar visual audit. Produces UI-REVIEW.md with
17
18
  graded assessment (1-4 per pillar). Works on any project.
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: gsd-validate-phase
3
- description: "Retroactively audit and fill Nyquist validation gaps for a completed phase"
2
+ name: gsd:validate-phase
3
+ description: Retroactively audit and fill Nyquist validation gaps for a completed phase
4
4
  argument-hint: "[phase number]"
5
5
  allowed-tools:
6
6
  - Read
@@ -11,8 +11,9 @@ allowed-tools:
11
11
  - Grep
12
12
  - Task
13
13
  - AskUserQuestion
14
+ gsd-source-version: 1.34.2
15
+ migration-date: 2026-04-08
14
16
  ---
15
-
16
17
  <objective>
17
18
  Audit Nyquist validation coverage for a completed phase. Three states:
18
19
  - (A) VALIDATION.md exists — audit and fill gaps
@@ -1,70 +1,71 @@
1
- ---
2
- name: gsd-workstreams
3
- description: "Manage parallel workstreams — list, create, switch, status, progress, complete, and resume"
4
- allowed-tools:
5
- - Read
6
- - Bash
7
- ---
8
-
9
-
10
- # /gsd-workstreams
11
-
12
- Manage parallel workstreams for concurrent milestone work.
13
-
14
- ## Usage
15
-
16
- `/gsd-workstreams [subcommand] [args]`
17
-
18
- ### Subcommands
19
-
20
- | Command | Description |
21
- |---------|-------------|
22
- | `list` | List all workstreams with status |
23
- | `create <name>` | Create a new workstream |
24
- | `status <name>` | Detailed status for one workstream |
25
- | `switch <name>` | Set active workstream |
26
- | `progress` | Progress summary across all workstreams |
27
- | `complete <name>` | Archive a completed workstream |
28
- | `resume <name>` | Resume work in a workstream |
29
-
30
- ## Step 1: Parse Subcommand
31
-
32
- Parse the user's input to determine which workstream operation to perform.
33
- If no subcommand given, default to `list`.
34
-
35
- ## Step 2: Execute Operation
36
-
37
- ### list
38
- Run: `node "$GSD_TOOLS" workstream list --raw --cwd "$CWD"`
39
- Display the workstreams in a table format showing name, status, current phase, and progress.
40
-
41
- ### create
42
- Run: `node "$GSD_TOOLS" workstream create <name> --raw --cwd "$CWD"`
43
- After creation, display the new workstream path and suggest next steps:
44
- - `/gsd-new-milestone --ws <name>` to set up the milestone
45
-
46
- ### status
47
- Run: `node "$GSD_TOOLS" workstream status <name> --raw --cwd "$CWD"`
48
- Display detailed phase breakdown and state information.
49
-
50
- ### switch
51
- Run: `node "$GSD_TOOLS" workstream set <name> --raw --cwd "$CWD"`
52
- Also set `GSD_WORKSTREAM` for the current session when the runtime supports it.
53
- If the runtime exposes a session identifier, GSD also stores the active workstream
54
- session-locally so concurrent sessions do not overwrite each other.
55
-
56
- ### progress
57
- Run: `node "$GSD_TOOLS" workstream progress --raw --cwd "$CWD"`
58
- Display a progress overview across all workstreams.
59
-
60
- ### complete
61
- Run: `node "$GSD_TOOLS" workstream complete <name> --raw --cwd "$CWD"`
62
- Archive the workstream to milestones/.
63
-
64
- ### resume
65
- Set the workstream as active and suggest `/gsd-resume-work --ws <name>`.
66
-
67
- ## Step 3: Display Results
68
-
69
- Format the JSON output from gsd-tools into a human-readable display.
70
- Include the `${GSD_WS}` flag in any routing suggestions.
1
+ ---
2
+ name: gsd:workstreams
3
+ description: Manage parallel workstreams — list, create, switch, status, progress, complete, and resume
4
+ allowed-tools:
5
+ - Read
6
+ - Bash
7
+ gsd-source-version: 1.34.2
8
+ migration-date: 2026-04-08
9
+ ---
10
+
11
+ # /gsd-workstreams
12
+
13
+ Manage parallel workstreams for concurrent milestone work.
14
+
15
+ ## Usage
16
+
17
+ `/gsd-workstreams [subcommand] [args]`
18
+
19
+ ### Subcommands
20
+
21
+ | Command | Description |
22
+ |---------|-------------|
23
+ | `list` | List all workstreams with status |
24
+ | `create <name>` | Create a new workstream |
25
+ | `status <name>` | Detailed status for one workstream |
26
+ | `switch <name>` | Set active workstream |
27
+ | `progress` | Progress summary across all workstreams |
28
+ | `complete <name>` | Archive a completed workstream |
29
+ | `resume <name>` | Resume work in a workstream |
30
+
31
+ ## Step 1: Parse Subcommand
32
+
33
+ Parse the user's input to determine which workstream operation to perform.
34
+ If no subcommand given, default to `list`.
35
+
36
+ ## Step 2: Execute Operation
37
+
38
+ ### list
39
+ .agent/skills/gsd/bin/gsd-tools.cjs" workstream list --raw --cwd "$CWD"`
40
+ Display the workstreams in a table format showing name, status, current phase, and progress.
41
+
42
+ ### create
43
+ .agent/skills/gsd/bin/gsd-tools.cjs" workstream create <name> --raw --cwd "$CWD"`
44
+ After creation, display the new workstream path and suggest next steps:
45
+ - `/gsd-new-milestone --ws <name>` to set up the milestone
46
+
47
+ ### status
48
+ .agent/skills/gsd/bin/gsd-tools.cjs" workstream status <name> --raw --cwd "$CWD"`
49
+ Display detailed phase breakdown and state information.
50
+
51
+ ### switch
52
+ .agent/skills/gsd/bin/gsd-tools.cjs" workstream set <name> --raw --cwd "$CWD"`
53
+ Also set `GSD_WORKSTREAM` for the current session when the runtime supports it.
54
+ If the runtime exposes a session identifier, GSD also stores the active workstream
55
+ session-locally so concurrent sessions do not overwrite each other.
56
+
57
+ ### progress
58
+ .agent/skills/gsd/bin/gsd-tools.cjs" workstream progress --raw --cwd "$CWD"`
59
+ Display a progress overview across all workstreams.
60
+
61
+ ### complete
62
+ .agent/skills/gsd/bin/gsd-tools.cjs" workstream complete <name> --raw --cwd "$CWD"`
63
+ Archive the workstream to milestones/.
64
+
65
+ ### resume
66
+ Set the workstream as active and suggest `/gsd-resume-work --ws <name>`.
67
+
68
+ ## Step 3: Display Results
69
+
70
+ Format the JSON output from gsd-tools into a human-readable display.
71
+ Include the `${GSD_WS}` flag in any routing suggestions.
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: gsd-analyze-dependencies
3
- description: "Analyze phase dependencies and suggest Depends on entries for ROADMAP.md"
2
+ name: gsd:analyze-dependencies
3
+ description: Analyze phase dependencies and suggest Depends on entries for ROADMAP.md
4
4
  allowed-tools:
5
5
  - Read
6
6
  - Write
@@ -8,8 +8,9 @@ allowed-tools:
8
8
  - Glob
9
9
  - Grep
10
10
  - AskUserQuestion
11
+ gsd-source-version: 1.34.2
12
+ migration-date: 2026-04-08
11
13
  ---
12
-
13
14
  <objective>
14
15
  Analyze the phase dependency graph for the current milestone. For each phase pair, determine if there is a dependency relationship based on:
15
16
  - File overlap (phases that modify the same files must be ordered)
@@ -26,7 +27,7 @@ Then suggest `Depends on` updates to ROADMAP.md.
26
27
  <context>
27
28
  No arguments required. Requires an active milestone with ROADMAP.md.
28
29
 
29
- Run this command BEFORE `/gsd:manager` to fill in missing `Depends on` fields and prevent merge conflicts from unordered parallel execution.
30
+ Run this command BEFORE `/gsd-manager` to fill in missing `Depends on` fields and prevent merge conflicts from unordered parallel execution.
30
31
  </context>
31
32
 
32
33
  <process>
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: gsd:explore
3
+ description: Socratic ideation and idea routing — think through ideas before committing to plans
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - Bash
8
+ - Grep
9
+ - Glob
10
+ - Task
11
+ - AskUserQuestion
12
+ gsd-source-version: 1.34.2
13
+ migration-date: 2026-04-08
14
+ ---
15
+ <objective>
16
+ Open-ended Socratic ideation session. Guides the developer through exploring an idea via
17
+ probing questions, optionally spawns research, then routes outputs to the appropriate GSD
18
+ artifacts (notes, todos, seeds, research questions, requirements, or new phases).
19
+
20
+ Accepts an optional topic argument: `/gsd-explore authentication strategy`
21
+ </objective>
22
+
23
+ <execution_context>
24
+ @references/workflows/explore.md
25
+ </execution_context>
26
+
27
+ <process>
28
+ Execute the explore workflow from @references/workflows/explore.md end-to-end.
29
+ </process>
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: gsd:import
3
+ description: Ingest external plans with conflict detection against project decisions before writing anything.
4
+ argument-hint: "--from <filepath>"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - AskUserQuestion
13
+ - Task
14
+ gsd-source-version: 1.34.2
15
+ migration-date: 2026-04-08
16
+ ---
17
+
18
+ <objective>
19
+ Import external plan files into the GSD planning system with conflict detection against PROJECT.md decisions.
20
+
21
+ - **--from**: Import an external plan file, detect conflicts, write as GSD PLAN.md, validate via gsd-plan-checker.
22
+
23
+ Future: `--prd` mode for PRD extraction is planned for a follow-up PR.
24
+ </objective>
25
+
26
+ <execution_context>
27
+ @references/workflows/import.md
28
+ @references/docs/ui-brand.md
29
+ @references/docs/gate-prompts.md
30
+ </execution_context>
31
+
32
+ <context>
33
+ $ARGUMENTS
34
+ </context>
35
+
36
+ <process>
37
+ Execute the import workflow end-to-end.
38
+ </process>
@@ -0,0 +1,181 @@
1
+ ---
2
+ name: gsd:intel
3
+ description: "Query, inspect, or refresh codebase intelligence files in .planning/intel/"
4
+ argument-hint: "[query <term>|status|diff|refresh]"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Task
9
+ gsd-source-version: 1.34.2
10
+ migration-date: 2026-04-08
11
+ ---
12
+
13
+ **STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Antigravity's command system. Using the Read tool on this file wastes tokens. Begin executing Step 0 immediately.**
14
+
15
+ ## Step 0 -- Banner
16
+
17
+ **Before ANY tool calls**, display this banner:
18
+
19
+ ```
20
+ GSD > INTEL
21
+ ```
22
+
23
+ Then proceed to Step 1.
24
+
25
+ ## Step 1 -- Config Gate
26
+
27
+ Check if intel is enabled by reading `.planning/config.json` directly using the Read tool.
28
+
29
+ **DO NOT use the gsd-tools config get-value command** -- it hard-exits on missing keys.
30
+
31
+ 1. Read `.planning/config.json` using the Read tool
32
+ 2. If the file does not exist: display the disabled message below and **STOP**
33
+ 3. Parse the JSON content. Check if `config.intel && config.intel.enabled === true`
34
+ 4. If `intel.enabled` is NOT explicitly `true`: display the disabled message below and **STOP**
35
+ 5. If `intel.enabled` is `true`: proceed to Step 2
36
+
37
+ **Disabled message:**
38
+
39
+ ```
40
+ GSD > INTEL
41
+
42
+ Intel system is disabled. To activate:
43
+
44
+ .agent/skills/gsd/bin/gsd-tools.cjs config-set intel.enabled true
45
+
46
+ Then run /gsd-intel refresh to build the initial index.
47
+ ```
48
+
49
+ ---
50
+
51
+ ## Step 2 -- Parse Argument
52
+
53
+ Parse `$ARGUMENTS` to determine the operation mode:
54
+
55
+ | Argument | Action |
56
+ |----------|--------|
57
+ | `query <term>` | Run inline query (Step 2a) |
58
+ | `status` | Run inline status check (Step 2b) |
59
+ | `diff` | Run inline diff check (Step 2c) |
60
+ | `refresh` | Spawn intel-updater agent (Step 3) |
61
+ | No argument or unknown | Show usage message |
62
+
63
+ **Usage message** (shown when no argument or unrecognized argument):
64
+
65
+ ```
66
+ GSD > INTEL
67
+
68
+ Usage: /gsd-intel <mode>
69
+
70
+ Modes:
71
+ query <term> Search intel files for a term
72
+ status Show intel file freshness and staleness
73
+ diff Show changes since last snapshot
74
+ refresh Rebuild all intel files from codebase analysis
75
+ ```
76
+
77
+ ### Step 2a -- Query
78
+
79
+ Run:
80
+
81
+ ```bash
82
+ .agent/skills/gsd/bin/gsd-tools.cjs intel query <term>
83
+ ```
84
+
85
+ Parse the JSON output and display results:
86
+ - If the output contains `"disabled": true`, display the disabled message from Step 1 and **STOP**
87
+ - If no matches found, display: `No intel matches for '<term>'. Try /gsd-intel refresh to build the index.`
88
+ - Otherwise, display matching entries grouped by intel file
89
+
90
+ **STOP** after displaying results. Do not spawn an agent.
91
+
92
+ ### Step 2b -- Status
93
+
94
+ Run:
95
+
96
+ ```bash
97
+ .agent/skills/gsd/bin/gsd-tools.cjs intel status
98
+ ```
99
+
100
+ Parse the JSON output and display each intel file with:
101
+ - File name
102
+ - Last `updated_at` timestamp
103
+ - STALE or FRESH status (stale if older than 24 hours or missing)
104
+
105
+ **STOP** after displaying status. Do not spawn an agent.
106
+
107
+ ### Step 2c -- Diff
108
+
109
+ Run:
110
+
111
+ ```bash
112
+ .agent/skills/gsd/bin/gsd-tools.cjs intel diff
113
+ ```
114
+
115
+ Parse the JSON output and display:
116
+ - Added entries since last snapshot
117
+ - Removed entries since last snapshot
118
+ - Changed entries since last snapshot
119
+
120
+ If no snapshot exists, suggest running `refresh` first.
121
+
122
+ **STOP** after displaying diff. Do not spawn an agent.
123
+
124
+ ---
125
+
126
+ ## Step 3 -- Refresh (Agent Spawn)
127
+
128
+ Display before spawning:
129
+
130
+ ```
131
+ GSD > Spawning intel-updater agent to analyze codebase...
132
+ ```
133
+
134
+ Spawn a Task:
135
+
136
+ ```
137
+ Task(
138
+ description="Refresh codebase intelligence files",
139
+ prompt="You are the gsd-intel-updater agent. Your job is to analyze this codebase and write/update intelligence files in .planning/intel/.
140
+
141
+ Project root: ${CWD}
142
+ .agent/skills/gsd/bin/gsd-tools.cjs
143
+
144
+ Instructions:
145
+ 1. Analyze the codebase structure, dependencies, APIs, and architecture
146
+ 2. Write JSON intel files to .planning/intel/ (stack.json, api-map.json, dependency-graph.json, file-roles.json, arch-decisions.json)
147
+ 3. Each file must have a _meta object with updated_at timestamp
148
+ 4. Use gsd-tools intel extract-exports <file> to analyze source files
149
+ 5. Use gsd-tools intel patch-meta <file> to update timestamps after writing
150
+ 6. Use gsd-tools intel validate to check your output
151
+
152
+ When complete, output: ## INTEL UPDATE COMPLETE
153
+ If something fails, output: ## INTEL UPDATE FAILED with details."
154
+ )
155
+ ```
156
+
157
+ Wait for the agent to complete.
158
+
159
+ ---
160
+
161
+ ## Step 4 -- Post-Refresh Summary
162
+
163
+ After the agent completes, run:
164
+
165
+ ```bash
166
+ .agent/skills/gsd/bin/gsd-tools.cjs intel status
167
+ ```
168
+
169
+ Display a summary showing:
170
+ - Which intel files were written or updated
171
+ - Last update timestamps
172
+ - Overall health of the intel index
173
+
174
+ ---
175
+
176
+ ## Anti-Patterns
177
+
178
+ 1. DO NOT spawn an agent for query/status/diff operations -- these are inline CLI calls
179
+ 2. DO NOT modify intel files directly -- the agent handles writes during refresh
180
+ 3. DO NOT skip the config gate check
181
+ 4. DO NOT use the gsd-tools config get-value CLI for the config gate -- it exits on missing keys
@@ -1,11 +1,12 @@
1
1
  ---
2
- name: gsd-list-workspaces
3
- description: "List active GSD workspaces and their status"
2
+ name: gsd:list-workspaces
3
+ description: List active GSD workspaces and their status
4
4
  allowed-tools:
5
5
  - Bash
6
6
  - Read
7
+ gsd-source-version: 1.34.2
8
+ migration-date: 2026-04-08
7
9
  ---
8
-
9
10
  <objective>
10
11
  Scan `~/gsd-workspaces/` for workspace directories containing `WORKSPACE.md` manifests. Display a summary table with name, path, repo count, strategy, and GSD project status.
11
12
  </objective>
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: gsd-map-codebase
3
- description: "Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents"
2
+ name: gsd:map-codebase
3
+ description: Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
4
4
  argument-hint: "[optional: specific area to map, e.g., 'api' or 'auth']"
5
5
  allowed-tools:
6
6
  - Read
@@ -9,9 +9,10 @@ allowed-tools:
9
9
  - Grep
10
10
  - Write
11
11
  - Task
12
+ gsd-source-version: 1.34.2
13
+ migration-date: 2026-04-08
12
14
  ---
13
15
 
14
-
15
16
  <objective>
16
17
  Analyze existing codebase using parallel gsd-codebase-mapper agents to produce structured codebase documents.
17
18
 
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: gsd-new-project
3
- description: "Initialize a new project with deep context gathering and PROJECT.md"
2
+ name: gsd:new-project
3
+ description: Initialize a new project with deep context gathering and PROJECT.md
4
4
  argument-hint: "[--auto]"
5
5
  allowed-tools:
6
6
  - Read
@@ -8,8 +8,9 @@ allowed-tools:
8
8
  - Write
9
9
  - Task
10
10
  - AskUserQuestion
11
+ gsd-source-version: 1.34.2
12
+ migration-date: 2026-04-08
11
13
  ---
12
-
13
14
  <runtime_note>
14
15
  **Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API.
15
16
  </runtime_note>