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.
- package/.agent/skills/gsd/SKILL.md +152 -123
- package/.agent/skills/gsd/VERSION +1 -0
- package/.agent/skills/gsd/assets/templates/user-profile.md +8 -8
- package/.agent/skills/gsd/bin/gsd-tools.cjs +81 -3
- package/.agent/skills/gsd/bin/help-manifest.json +24 -1
- package/.agent/skills/gsd/bin/hooks/gsd-check-update.js +15 -5
- package/.agent/skills/gsd/bin/hooks/gsd-context-monitor.js +1 -1
- package/.agent/skills/gsd/bin/hooks/gsd-phase-boundary.sh +27 -0
- package/.agent/skills/gsd/bin/hooks/gsd-prompt-guard.js +2 -1
- package/.agent/skills/gsd/bin/hooks/gsd-read-guard.js +1 -1
- package/.agent/skills/gsd/bin/hooks/gsd-session-state.sh +33 -0
- package/.agent/skills/gsd/bin/hooks/gsd-statusline.js +5 -5
- package/.agent/skills/gsd/bin/hooks/gsd-validate-commit.sh +47 -0
- package/.agent/skills/gsd/bin/hooks/gsd-workflow-guard.js +1 -1
- package/.agent/skills/gsd/bin/lib/config.cjs +31 -10
- package/.agent/skills/gsd/bin/lib/core.cjs +48 -13
- package/.agent/skills/gsd/bin/lib/frontmatter.cjs +34 -2
- package/.agent/skills/gsd/bin/lib/intel.cjs +660 -0
- package/.agent/skills/gsd/bin/lib/learnings.cjs +378 -0
- package/.agent/skills/gsd/bin/lib/milestone.cjs +13 -4
- package/.agent/skills/gsd/bin/lib/model-profiles.cjs +17 -17
- package/.agent/skills/gsd/bin/lib/profile-output.cjs +31 -31
- package/.agent/skills/gsd/bin/lib/security.cjs +119 -0
- package/.agent/skills/gsd/bin/lib/verify.cjs +15 -15
- package/.agent/skills/gsd/migration_report.md +7 -0
- package/.agent/skills/gsd/references/agents/gsd-code-fixer.md +516 -0
- package/.agent/skills/gsd/references/agents/gsd-code-reviewer.md +355 -0
- package/.agent/skills/gsd/references/agents/gsd-debugger.md +10 -1
- package/.agent/skills/gsd/references/agents/gsd-executor.md +3 -0
- package/.agent/skills/gsd/references/agents/gsd-intel-updater.md +314 -0
- package/.agent/skills/gsd/references/agents/gsd-phase-researcher.md +3 -0
- package/.agent/skills/gsd/references/agents/gsd-plan-checker.md +16 -4
- package/.agent/skills/gsd/references/agents/gsd-planner.md +7 -0
- package/.agent/skills/gsd/references/agents/gsd-user-profiler.md +5 -5
- package/.agent/skills/gsd/references/agents/gsd-verifier.md +55 -1
- package/.agent/skills/gsd/references/agents/profiles/dev.md +21 -0
- package/.agent/skills/gsd/references/agents/profiles/research.md +22 -0
- package/.agent/skills/gsd/references/agents/profiles/review.md +22 -0
- package/.agent/skills/gsd/references/commands/{gsd-add-todo.md → atomic/add-todo.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-check-todos.md → atomic/check-todos.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-cleanup.md → atomic/cleanup.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-do.md → atomic/do.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-help.md → atomic/help.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-join-discord.md → atomic/join-discord.md} +21 -19
- package/.agent/skills/gsd/references/commands/{gsd-note.md → atomic/note.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-session-report.md → atomic/session-report.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-ship.md → atomic/ship.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-stats.md → atomic/stats.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-thread.md → atomic/thread.md} +7 -6
- package/.agent/skills/gsd/references/commands/atomic/undo.md +36 -0
- package/.agent/skills/gsd/references/commands/{gsd-add-backlog.md → milestone/add-backlog.md} +8 -7
- package/.agent/skills/gsd/references/commands/{gsd-audit-milestone.md → milestone/audit-milestone.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-complete-milestone.md → milestone/complete-milestone.md} +6 -4
- package/.agent/skills/gsd/references/commands/{gsd-milestone-summary.md → milestone/milestone-summary.md} +5 -3
- package/.agent/skills/gsd/references/commands/{gsd-new-milestone.md → milestone/new-milestone.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-plan-milestone-gaps.md → milestone/plan-milestone-gaps.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-plant-seed.md → milestone/plant-seed.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-review-backlog.md → milestone/review-backlog.md} +6 -5
- package/.agent/skills/gsd/references/commands/misc/audit-fix.md +35 -0
- package/.agent/skills/gsd/references/commands/{gsd-audit-uat.md → misc/audit-uat.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-next.md → misc/next.md} +6 -3
- package/.agent/skills/gsd/references/commands/{gsd-progress.md → misc/progress.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-verify-work.md → misc/verify-work.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-add-phase.md → phase/add-phase.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-add-tests.md → phase/add-tests.md} +8 -3
- package/.agent/skills/gsd/references/commands/{gsd-discuss-phase.md → phase/discuss-phase.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-execute-phase.md → phase/execute-phase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-insert-phase.md → phase/insert-phase.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-list-phase-assumptions.md → phase/list-phase-assumptions.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-plan-phase.md → phase/plan-phase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-remove-phase.md → phase/remove-phase.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-research-phase.md → phase/research-phase.md} +7 -6
- package/.agent/skills/gsd/references/commands/{gsd-secure-phase.md → phase/secure-phase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-ui-phase.md → phase/ui-phase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-ui-review.md → phase/ui-review.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-validate-phase.md → phase/validate-phase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-workstreams.md → phase/workstreams.md} +71 -70
- package/.agent/skills/gsd/references/commands/{gsd-analyze-dependencies.md → project/analyze-dependencies.md} +5 -4
- package/.agent/skills/gsd/references/commands/project/explore.md +29 -0
- package/.agent/skills/gsd/references/commands/project/import.md +38 -0
- package/.agent/skills/gsd/references/commands/project/intel.md +181 -0
- package/.agent/skills/gsd/references/commands/{gsd-list-workspaces.md → project/list-workspaces.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-map-codebase.md → project/map-codebase.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-new-project.md → project/new-project.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-new-workspace.md → project/new-workspace.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-remove-workspace.md → project/remove-workspace.md} +4 -3
- package/.agent/skills/gsd/references/commands/project/scan.md +28 -0
- package/.agent/skills/gsd/references/commands/{gsd-autonomous.md → system/autonomous.md} +4 -3
- package/.agent/skills/gsd/references/commands/system/code-review-fix.md +54 -0
- package/.agent/skills/gsd/references/commands/system/code-review.md +57 -0
- package/.agent/skills/gsd/references/commands/{gsd-debug.md → system/debug.md} +7 -6
- package/.agent/skills/gsd/references/commands/{gsd-docs-update.md → system/docs-update.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-fast.md → system/fast.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-forensics.md → system/forensics.md} +5 -3
- package/.agent/skills/gsd/references/commands/{gsd-health.md → system/health.md} +5 -4
- package/.agent/skills/gsd/references/commands/{gsd-manager.md → system/manager.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-pause-work.md → system/pause-work.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-pr-branch.md → system/pr-branch.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-profile-user.md → system/profile-user.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-quick.md → system/quick.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-reapply-patches.md → system/reapply-patches.md} +25 -7
- package/.agent/skills/gsd/references/commands/{gsd-resume-work.md → system/resume-work.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-review.md → system/review.md} +4 -3
- package/.agent/skills/gsd/references/commands/system/set-profile.md +14 -0
- package/.agent/skills/gsd/references/commands/{gsd-settings.md → system/settings.md} +4 -3
- package/.agent/skills/gsd/references/commands/{gsd-update.md → system/update.md} +4 -3
- package/.agent/skills/gsd/references/docs/agent-contracts.md +79 -0
- package/.agent/skills/gsd/references/docs/common-bug-patterns.md +114 -0
- package/.agent/skills/gsd/references/docs/context-budget.md +49 -0
- package/.agent/skills/gsd/references/docs/domain-probes.md +125 -0
- package/.agent/skills/gsd/references/docs/few-shot-examples/plan-checker.md +73 -0
- package/.agent/skills/gsd/references/docs/few-shot-examples/verifier.md +109 -0
- package/.agent/skills/gsd/references/docs/gate-prompts.md +100 -0
- package/.agent/skills/gsd/references/docs/gates.md +70 -0
- package/.agent/skills/gsd/references/docs/model-profile-resolution.md +2 -0
- package/.agent/skills/gsd/references/docs/model-profiles.md +20 -14
- package/.agent/skills/gsd/references/docs/planning-config.md +216 -1
- package/.agent/skills/gsd/references/docs/revision-loop.md +97 -0
- package/.agent/skills/gsd/references/docs/thinking-models-debug.md +44 -0
- package/.agent/skills/gsd/references/docs/thinking-models-execution.md +50 -0
- package/.agent/skills/gsd/references/docs/thinking-models-planning.md +62 -0
- package/.agent/skills/gsd/references/docs/thinking-models-research.md +50 -0
- package/.agent/skills/gsd/references/docs/thinking-models-verification.md +55 -0
- package/.agent/skills/gsd/references/docs/thinking-partner.md +96 -0
- package/.agent/skills/gsd/references/docs/universal-anti-patterns.md +58 -0
- package/.agent/skills/gsd/references/docs/user-profiling.md +10 -10
- package/.agent/skills/gsd/references/docs/verification-overrides.md +227 -0
- package/.agent/skills/gsd/references/docs/workstream-flag.md +2 -2
- package/.agent/skills/gsd/references/mapping.md +11 -21
- package/.agent/skills/gsd/references/workflows/analyze-dependencies.md +3 -3
- package/.agent/skills/gsd/references/workflows/audit-fix.md +157 -0
- package/.agent/skills/gsd/references/workflows/autonomous.md +22 -1
- package/.agent/skills/gsd/references/workflows/code-review-fix.md +497 -0
- package/.agent/skills/gsd/references/workflows/code-review.md +515 -0
- package/.agent/skills/gsd/references/workflows/discuss-phase-power.md +3 -3
- package/.agent/skills/gsd/references/workflows/discuss-phase.md +20 -0
- package/.agent/skills/gsd/references/workflows/execute-phase.md +103 -0
- package/.agent/skills/gsd/references/workflows/explore.md +139 -0
- package/.agent/skills/gsd/references/workflows/import.md +274 -0
- package/.agent/skills/gsd/references/workflows/inbox.md +384 -0
- package/.agent/skills/gsd/references/workflows/manager.md +5 -5
- package/.agent/skills/gsd/references/workflows/new-milestone.md +1 -1
- package/.agent/skills/gsd/references/workflows/next.md +56 -0
- package/.agent/skills/gsd/references/workflows/plan-phase.md +48 -1
- package/.agent/skills/gsd/references/workflows/quick.md +96 -2
- package/.agent/skills/gsd/references/workflows/review.md +23 -3
- package/.agent/skills/gsd/references/workflows/scan.md +102 -0
- package/.agent/skills/gsd/references/workflows/settings.md +1 -1
- package/.agent/skills/gsd/references/workflows/ui-review.md +2 -2
- package/.agent/skills/gsd/references/workflows/undo.md +312 -0
- package/.agent/skills/gsd/references/workflows/update.md +5 -5
- package/.agent/skills/gsd-converter/SKILL.md +67 -59
- package/.agent/skills/gsd-converter/assets/migration-manifest.json +74 -0
- package/.agent/skills/gsd-converter/references/mapping.md +6 -16
- package/.agent/skills/gsd-converter/scripts/convert.py +419 -80
- package/.agent/skills/gsd-converter/scripts/regression_test.py +33 -0
- package/.agent/skills/selectpaste-update/SKILL.md +46 -0
- package/.agent/skills/selectpaste-update/scripts/sync-commands.py +317 -0
- package/README.md +4 -2
- package/bin/install.js +116 -116
- package/package.json +1 -1
- package/.agent/skills/gsd/references/commands/gsd-set-profile.md +0 -12
- /package/.agent/skills/gsd/references/commands/{gsd-tools.md → system/gsd-tools.md} +0 -0
package/.agent/skills/gsd/references/commands/{gsd-new-workspace.md → project/new-workspace.md}
RENAMED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:new-workspace
|
|
3
|
+
description: Create an isolated workspace with repo copies and independent .planning/
|
|
4
4
|
argument-hint: "--name <name> [--repos repo1,repo2] [--path /target] [--strategy worktree|clone] [--branch name] [--auto]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Bash
|
|
8
8
|
- Write
|
|
9
9
|
- AskUserQuestion
|
|
10
|
+
gsd-source-version: 1.34.2
|
|
11
|
+
migration-date: 2026-04-08
|
|
10
12
|
---
|
|
11
|
-
|
|
12
13
|
<context>
|
|
13
14
|
**Flags:**
|
|
14
15
|
- `--name` (required) — Workspace name
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:remove-workspace
|
|
3
|
+
description: Remove a GSD workspace and clean up worktrees
|
|
4
4
|
argument-hint: "<workspace-name>"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Bash
|
|
7
7
|
- Read
|
|
8
8
|
- AskUserQuestion
|
|
9
|
+
gsd-source-version: 1.34.2
|
|
10
|
+
migration-date: 2026-04-08
|
|
9
11
|
---
|
|
10
|
-
|
|
11
12
|
<context>
|
|
12
13
|
**Arguments:**
|
|
13
14
|
- `<workspace-name>` (required) — Name of the workspace to remove
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:scan
|
|
3
|
+
description: Rapid codebase assessment — lightweight alternative to /gsd-map-codebase
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Bash
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
gsd-source-version: 1.34.2
|
|
13
|
+
migration-date: 2026-04-08
|
|
14
|
+
---
|
|
15
|
+
<objective>
|
|
16
|
+
Run a focused codebase scan for a single area, producing targeted documents in `.planning/codebase/`.
|
|
17
|
+
Accepts an optional `--focus` flag: `tech`, `arch`, `quality`, `concerns`, or `tech+arch` (default).
|
|
18
|
+
|
|
19
|
+
Lightweight alternative to `/gsd-map-codebase` — spawns one mapper agent instead of four parallel ones.
|
|
20
|
+
</objective>
|
|
21
|
+
|
|
22
|
+
<execution_context>
|
|
23
|
+
@references/workflows/scan.md
|
|
24
|
+
</execution_context>
|
|
25
|
+
|
|
26
|
+
<process>
|
|
27
|
+
Execute the scan workflow from @references/workflows/scan.md end-to-end.
|
|
28
|
+
</process>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:autonomous
|
|
3
|
+
description: Run all remaining phases autonomously — discuss→plan→execute per phase
|
|
4
4
|
argument-hint: "[--from N] [--to N] [--only N] [--interactive]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
@@ -10,8 +10,9 @@ allowed-tools:
|
|
|
10
10
|
- Grep
|
|
11
11
|
- AskUserQuestion
|
|
12
12
|
- Task
|
|
13
|
+
gsd-source-version: 1.34.2
|
|
14
|
+
migration-date: 2026-04-08
|
|
13
15
|
---
|
|
14
|
-
|
|
15
16
|
<objective>
|
|
16
17
|
Execute all remaining milestone phases autonomously. For each phase: discuss → plan → execute. Pauses only for user decisions (grey area acceptance, blockers, validation requests).
|
|
17
18
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:code-review-fix
|
|
3
|
+
description: Auto-fix issues found by code review in REVIEW.md. Spawns fixer agent, commits each fix atomically, produces REVIEW-FIX.md summary.
|
|
4
|
+
argument-hint: "<phase-number> [--all] [--auto]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- Write
|
|
11
|
+
- Edit
|
|
12
|
+
- Task
|
|
13
|
+
gsd-source-version: 1.34.2
|
|
14
|
+
migration-date: 2026-04-08
|
|
15
|
+
---
|
|
16
|
+
<objective>
|
|
17
|
+
Auto-fix issues found by code review. Reads REVIEW.md from the specified phase, spawns gsd-code-fixer agent to apply fixes, and produces REVIEW-FIX.md summary.
|
|
18
|
+
|
|
19
|
+
Arguments:
|
|
20
|
+
- Phase number (required) — which phase's REVIEW.md to fix (e.g., "2" or "02")
|
|
21
|
+
- `--all` (optional) — include Info findings in fix scope (default: Critical + Warning only)
|
|
22
|
+
- `--auto` (optional) — enable fix + re-review iteration loop, capped at 3 iterations
|
|
23
|
+
|
|
24
|
+
Output: {padded_phase}-REVIEW-FIX.md in phase directory + inline summary of fixes applied
|
|
25
|
+
</objective>
|
|
26
|
+
|
|
27
|
+
<execution_context>
|
|
28
|
+
@references/workflows/code-review-fix.md
|
|
29
|
+
</execution_context>
|
|
30
|
+
|
|
31
|
+
<context>
|
|
32
|
+
Phase: $ARGUMENTS (first positional argument is phase number)
|
|
33
|
+
|
|
34
|
+
Optional flags parsed from $ARGUMENTS:
|
|
35
|
+
- `--all` — Include Info findings in fix scope. Default behavior fixes Critical + Warning only.
|
|
36
|
+
- `--auto` — Enable fix + re-review iteration loop. After applying fixes, re-run code-review at same depth. If new issues found, iterate. Cap at 3 iterations total. Without this flag, single fix pass only.
|
|
37
|
+
|
|
38
|
+
Context files (ANTIGRAVITY.md, REVIEW.md, phase state) are resolved inside the workflow via `gsd-tools init phase-op` and delegated to agent via config blocks.
|
|
39
|
+
</context>
|
|
40
|
+
|
|
41
|
+
<process>
|
|
42
|
+
This command is a thin dispatch layer. It parses arguments and delegates to the workflow.
|
|
43
|
+
|
|
44
|
+
Execute the code-review-fix workflow from @references/workflows/code-review-fix.md end-to-end.
|
|
45
|
+
|
|
46
|
+
The workflow (not this command) enforces these gates:
|
|
47
|
+
- Phase validation (before config gate)
|
|
48
|
+
- Config gate check (workflow.code_review)
|
|
49
|
+
- REVIEW.md existence check (error if missing)
|
|
50
|
+
- REVIEW.md status check (skip if clean/skipped)
|
|
51
|
+
- Agent spawning (gsd-code-fixer)
|
|
52
|
+
- Iteration loop (if --auto, capped at 3 iterations)
|
|
53
|
+
- Result presentation (inline summary + next steps)
|
|
54
|
+
</process>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:code-review
|
|
3
|
+
description: Review source files changed during a phase for bugs, security issues, and code quality problems
|
|
4
|
+
argument-hint: "<phase-number> [--depth=quick|standard|deep] [--files file1,file2,...]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- Write
|
|
11
|
+
- Task
|
|
12
|
+
gsd-source-version: 1.34.2
|
|
13
|
+
migration-date: 2026-04-08
|
|
14
|
+
---
|
|
15
|
+
<objective>
|
|
16
|
+
Review source files changed during a phase for bugs, security vulnerabilities, and code quality problems.
|
|
17
|
+
|
|
18
|
+
Spawns the gsd-code-reviewer agent to analyze code at the specified depth level. Produces REVIEW.md artifact in the phase directory with severity-classified findings.
|
|
19
|
+
|
|
20
|
+
Arguments:
|
|
21
|
+
- Phase number (required) — which phase's changes to review (e.g., "2" or "02")
|
|
22
|
+
- `--depth=quick|standard|deep` (optional) — review depth level, overrides workflow.code_review_depth config
|
|
23
|
+
- quick: Pattern-matching only (~2 min)
|
|
24
|
+
- standard: Per-file analysis with language-specific checks (~5-15 min, default)
|
|
25
|
+
- deep: Cross-file analysis including import graphs and call chains (~15-30 min)
|
|
26
|
+
- `--files file1,file2,...` (optional) — explicit comma-separated file list, skips SUMMARY/git scoping (highest precedence for scoping)
|
|
27
|
+
|
|
28
|
+
Output: {padded_phase}-REVIEW.md in phase directory + inline summary of findings
|
|
29
|
+
</objective>
|
|
30
|
+
|
|
31
|
+
<execution_context>
|
|
32
|
+
@references/workflows/code-review.md
|
|
33
|
+
</execution_context>
|
|
34
|
+
|
|
35
|
+
<context>
|
|
36
|
+
Phase: $ARGUMENTS (first positional argument is phase number)
|
|
37
|
+
|
|
38
|
+
Optional flags parsed from $ARGUMENTS:
|
|
39
|
+
- `--depth=VALUE` — Depth override (quick|standard|deep). If provided, overrides workflow.code_review_depth config.
|
|
40
|
+
- `--files=file1,file2,...` — Explicit file list override. Has highest precedence for file scoping per D-08. When provided, workflow skips SUMMARY.md extraction and git diff fallback entirely.
|
|
41
|
+
|
|
42
|
+
Context files (ANTIGRAVITY.md, SUMMARY.md, phase state) are resolved inside the workflow via `gsd-tools init phase-op` and delegated to agent via `<files_to_read>` blocks.
|
|
43
|
+
</context>
|
|
44
|
+
|
|
45
|
+
<process>
|
|
46
|
+
This command is a thin dispatch layer. It parses arguments and delegates to the workflow.
|
|
47
|
+
|
|
48
|
+
Execute the code-review workflow from @references/workflows/code-review.md end-to-end.
|
|
49
|
+
|
|
50
|
+
The workflow (not this command) enforces these gates:
|
|
51
|
+
- Phase validation (before config gate)
|
|
52
|
+
- Config gate check (workflow.code_review)
|
|
53
|
+
- File scoping (--files override > SUMMARY.md > git diff fallback)
|
|
54
|
+
- Empty scope check (skip if no files)
|
|
55
|
+
- Agent spawning (gsd-code-reviewer)
|
|
56
|
+
- Result presentation (inline summary + next steps)
|
|
57
|
+
</process>
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
4
|
-
argument-hint:
|
|
2
|
+
name: gsd:debug
|
|
3
|
+
description: Systematic debugging with persistent state across context resets
|
|
4
|
+
argument-hint: [--diagnose] [issue description]
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Bash
|
|
8
8
|
- Task
|
|
9
9
|
- AskUserQuestion
|
|
10
|
+
gsd-source-version: 1.34.2
|
|
11
|
+
migration-date: 2026-04-08
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
|
|
13
14
|
<objective>
|
|
14
15
|
Debug issues using scientific method with subagent isolation.
|
|
15
16
|
|
|
@@ -44,13 +45,13 @@ ls .planning/debug/*.md 2>/dev/null | grep -v resolved | head -5
|
|
|
44
45
|
## 0. Initialize Context
|
|
45
46
|
|
|
46
47
|
```bash
|
|
47
|
-
|
|
48
|
+
.agent/skills/gsd/bin/gsd-tools.cjs" state load)
|
|
48
49
|
if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
|
|
49
50
|
```
|
|
50
51
|
|
|
51
52
|
Extract `commit_docs` from init JSON. Resolve debugger model:
|
|
52
53
|
```bash
|
|
53
|
-
|
|
54
|
+
.agent/skills/gsd/bin/gsd-tools.cjs" resolve-model gsd-debugger --raw)
|
|
54
55
|
```
|
|
55
56
|
|
|
56
57
|
## 1. Check Active Sessions
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:docs-update
|
|
3
|
+
description: Generate or update project documentation verified against the codebase
|
|
4
4
|
argument-hint: "[--force] [--verify-only]"
|
|
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
|
Generate and update up to 9 documentation files for the current project. Each doc type is written by a gsd-doc-writer subagent that explores the codebase directly — no hallucinated paths, phantom endpoints, or stale signatures.
|
|
18
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:fast
|
|
3
|
+
description: Execute a trivial task inline — no subagents, no planning overhead
|
|
4
4
|
argument-hint: "[task description]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
@@ -9,9 +9,10 @@ allowed-tools:
|
|
|
9
9
|
- Bash
|
|
10
10
|
- Grep
|
|
11
11
|
- Glob
|
|
12
|
+
gsd-source-version: 1.34.2
|
|
13
|
+
migration-date: 2026-04-08
|
|
12
14
|
---
|
|
13
15
|
|
|
14
|
-
|
|
15
16
|
<objective>
|
|
16
17
|
Execute a trivial task directly in the current context without spawning subagents
|
|
17
18
|
or generating PLAN.md files. For tasks too small to justify planning overhead:
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
type: prompt
|
|
3
|
+
name: gsd:forensics
|
|
4
|
+
description: Post-mortem investigation for failed GSD workflows — analyzes git history, artifacts, and state to diagnose what went wrong
|
|
4
5
|
argument-hint: "[problem description]"
|
|
5
6
|
allowed-tools:
|
|
6
7
|
- Read
|
|
@@ -8,9 +9,10 @@ allowed-tools:
|
|
|
8
9
|
- Bash
|
|
9
10
|
- Grep
|
|
10
11
|
- Glob
|
|
12
|
+
gsd-source-version: 1.34.2
|
|
13
|
+
migration-date: 2026-04-08
|
|
11
14
|
---
|
|
12
15
|
|
|
13
|
-
|
|
14
16
|
<objective>
|
|
15
17
|
Investigate what went wrong during a GSD workflow execution. Analyzes git history, `.planning/` artifacts, and file system state to detect anomalies and generate a structured diagnostic report.
|
|
16
18
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
4
|
-
argument-hint:
|
|
2
|
+
name: gsd:health
|
|
3
|
+
description: Diagnose planning directory health and optionally repair issues
|
|
4
|
+
argument-hint: [--repair]
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Bash
|
|
8
8
|
- Write
|
|
9
9
|
- AskUserQuestion
|
|
10
|
+
gsd-source-version: 1.34.2
|
|
11
|
+
migration-date: 2026-04-08
|
|
10
12
|
---
|
|
11
|
-
|
|
12
13
|
<objective>
|
|
13
14
|
Validate `.planning/` directory integrity and report actionable issues. Checks for missing files, invalid configurations, inconsistent state, and orphaned plans.
|
|
14
15
|
</objective>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:manager
|
|
3
|
+
description: Interactive command center for managing multiple phases from one terminal
|
|
4
4
|
allowed-tools:
|
|
5
5
|
- Read
|
|
6
6
|
- Write
|
|
@@ -10,8 +10,9 @@ allowed-tools:
|
|
|
10
10
|
- AskUserQuestion
|
|
11
11
|
- Skill
|
|
12
12
|
- Task
|
|
13
|
+
gsd-source-version: 1.34.2
|
|
14
|
+
migration-date: 2026-04-08
|
|
13
15
|
---
|
|
14
|
-
|
|
15
16
|
<objective>
|
|
16
17
|
Single-terminal command center for managing a milestone. Shows a dashboard of all phases with visual status indicators, recommends optimal next actions, and dispatches work — discuss runs inline, plan/execute run as background agents.
|
|
17
18
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:pause-work
|
|
3
|
+
description: Create context handoff when pausing work mid-phase
|
|
4
4
|
allowed-tools:
|
|
5
5
|
- Read
|
|
6
6
|
- Write
|
|
7
7
|
- Bash
|
|
8
|
+
gsd-source-version: 1.34.2
|
|
9
|
+
migration-date: 2026-04-08
|
|
8
10
|
---
|
|
9
11
|
|
|
10
|
-
|
|
11
12
|
<objective>
|
|
12
13
|
Create `.continue-here.md` handoff file to preserve complete work state across sessions.
|
|
13
14
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:pr-branch
|
|
3
|
+
description: Create a clean PR branch by filtering out .planning/ commits — ready for code review
|
|
4
4
|
argument-hint: "[target branch, default: main]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Bash
|
|
7
7
|
- Read
|
|
8
8
|
- AskUserQuestion
|
|
9
|
+
gsd-source-version: 1.34.2
|
|
10
|
+
migration-date: 2026-04-08
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
|
|
12
13
|
<objective>
|
|
13
14
|
Create a clean branch suitable for pull requests by filtering out .planning/ commits
|
|
14
15
|
from the current branch. Reviewers see only code changes, not GSD planning artifacts.
|
package/.agent/skills/gsd/references/commands/{gsd-profile-user.md → system/profile-user.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:profile-user
|
|
3
|
+
description: Generate developer behavioral profile and create Antigravity-discoverable artifacts
|
|
4
4
|
argument-hint: "[--questionnaire] [--refresh]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
@@ -10,9 +10,10 @@ allowed-tools:
|
|
|
10
10
|
- Grep
|
|
11
11
|
- AskUserQuestion
|
|
12
12
|
- Task
|
|
13
|
+
gsd-source-version: 1.34.2
|
|
14
|
+
migration-date: 2026-04-08
|
|
13
15
|
---
|
|
14
16
|
|
|
15
|
-
|
|
16
17
|
<objective>
|
|
17
18
|
Generate a developer behavioral profile from session analysis (or questionnaire) and produce artifacts (USER-PROFILE.md, /gsd-dev-preferences, ANTIGRAVITY.md section) that personalize Antigravity's responses.
|
|
18
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:quick
|
|
3
|
+
description: Execute a quick task with GSD guarantees (atomic commits, state tracking) but skip optional agents
|
|
4
4
|
argument-hint: "[--full] [--validate] [--discuss] [--research]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
@@ -11,8 +11,9 @@ allowed-tools:
|
|
|
11
11
|
- Bash
|
|
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
|
Execute small, ad-hoc tasks with GSD guarantees (atomic commits, STATE.md tracking).
|
|
18
19
|
|
package/.agent/skills/gsd/references/commands/{gsd-reapply-patches.md → system/reapply-patches.md}
RENAMED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:reapply-patches
|
|
3
|
+
description: Reapply local modifications after a GSD update
|
|
4
|
+
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
|
5
|
+
gsd-source-version: 1.34.2
|
|
6
|
+
migration-date: 2026-04-08
|
|
4
7
|
---
|
|
5
8
|
|
|
6
|
-
|
|
7
9
|
<purpose>
|
|
8
10
|
After a GSD update wipes and reinstalls files, this command merges user's previously saved local modifications back into the new version. Uses three-way comparison (pristine baseline, user-modified backup, newly installed version) to reliably distinguish user customizations from version drift.
|
|
9
11
|
|
|
@@ -75,8 +77,8 @@ if [ -z "$PATCHES_DIR" ] && [ -n "$CODEX_HOME" ]; then
|
|
|
75
77
|
fi
|
|
76
78
|
fi
|
|
77
79
|
|
|
78
|
-
if [ -z "$PATCHES_DIR" ] && [ -n "$
|
|
79
|
-
candidate="$(expand_home "$
|
|
80
|
+
if [ -z "$PATCHES_DIR" ] && [ -n "$ANTIGRAVITY_CONFIG_DIR" ]; then
|
|
81
|
+
candidate="$(expand_home "$ANTIGRAVITY_CONFIG_DIR")/gsd-local-patches"
|
|
80
82
|
if [ -d "$candidate" ]; then
|
|
81
83
|
PATCHES_DIR="$candidate"
|
|
82
84
|
fi
|
|
@@ -95,7 +97,7 @@ if [ -z "$PATCHES_DIR" ]; then
|
|
|
95
97
|
elif [ -d "$HOME/.codex/gsd-local-patches" ]; then
|
|
96
98
|
PATCHES_DIR="$HOME/.codex/gsd-local-patches"
|
|
97
99
|
else
|
|
98
|
-
PATCHES_DIR="
|
|
100
|
+
PATCHES_DIR="C:/projects/GSD-Antigravity/.antigravity/gsd-local-patches"
|
|
99
101
|
fi
|
|
100
102
|
fi
|
|
101
103
|
# Local install fallback — check all runtime directories
|
|
@@ -201,7 +203,7 @@ When no pristine baseline is available, use these **strengthened heuristics**:
|
|
|
201
203
|
For each file:
|
|
202
204
|
a. Read both versions completely
|
|
203
205
|
b. Identify ALL differences, then classify each as:
|
|
204
|
-
- **Mechanical drift** — path substitutions (e.g. `/Users/xxx/.antigravity/` →
|
|
206
|
+
- **Mechanical drift** — path substitutions (e.g. `/Users/xxx/.antigravity/` → `C:/projects/GSD-Antigravity/.antigravity/`), variable additions (`${GSD_WS}`, `${AGENT_SKILLS_*}`), error handling additions (`|| true`)
|
|
205
207
|
- **User customization** — added steps/sections, removed sections, reordered content, changed behavior, added frontmatter fields, modified instructions
|
|
206
208
|
|
|
207
209
|
c. **If ANY differences remain after filtering out mechanical drift → those are user customizations. Merge them.**
|
|
@@ -217,6 +219,21 @@ git -C "$CONFIG_DIR" log --oneline --no-merges -- "{file_path}" | grep -v "gsd:u
|
|
|
217
219
|
Each matching commit represents an intentional user modification. Use the commit messages and diffs to understand what was changed and why.
|
|
218
220
|
|
|
219
221
|
4. **Write merged result** to the installed location
|
|
222
|
+
|
|
223
|
+
### Post-merge verification
|
|
224
|
+
|
|
225
|
+
After writing each merged file, verify that user modifications survived the merge:
|
|
226
|
+
|
|
227
|
+
1. **Line-count check:** Count lines in the backup and the merged result. If the merged result has fewer lines than the backup minus the expected upstream removals, flag for review.
|
|
228
|
+
2. **Hunk presence check:** For each user-added section identified during diff analysis, search the merged output for at least the first significant line (non-blank, non-comment) of each addition. Missing signature lines indicate a dropped hunk.
|
|
229
|
+
3. **Report warnings inline** (do not block):
|
|
230
|
+
```
|
|
231
|
+
⚠ Potential dropped content in {file_path}:
|
|
232
|
+
- Missing hunk near line {N}: "{first_line_preview}..." ({line_count} lines)
|
|
233
|
+
- Backup available: {patches_dir}/{file_path}
|
|
234
|
+
```
|
|
235
|
+
4. **Track verification status** — add to per-file report: `Merged (verified)` vs `Merged (⚠ {N} hunks may be missing)`
|
|
236
|
+
|
|
220
237
|
5. **Report status per file:**
|
|
221
238
|
- `Merged` — user modifications applied cleanly (show summary of what was preserved)
|
|
222
239
|
- `Conflict` — user reviewed and chose resolution
|
|
@@ -253,4 +270,5 @@ Ask user:
|
|
|
253
270
|
- [ ] User modifications identified and merged into new version
|
|
254
271
|
- [ ] Conflicts surfaced to user with both versions shown
|
|
255
272
|
- [ ] Status reported for each file with summary of what was preserved
|
|
273
|
+
- [ ] Post-merge verification checks each file for dropped hunks and warns if content appears missing
|
|
256
274
|
</success_criteria>
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:resume-work
|
|
3
|
+
description: Resume work from previous session with full context restoration
|
|
4
4
|
allowed-tools:
|
|
5
5
|
- Read
|
|
6
6
|
- Bash
|
|
7
7
|
- Write
|
|
8
8
|
- AskUserQuestion
|
|
9
9
|
- SlashCommand
|
|
10
|
+
gsd-source-version: 1.34.2
|
|
11
|
+
migration-date: 2026-04-08
|
|
10
12
|
---
|
|
11
13
|
|
|
12
|
-
|
|
13
14
|
<objective>
|
|
14
15
|
Restore complete project context and resume work seamlessly from previous session.
|
|
15
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:review
|
|
3
|
+
description: Request cross-AI peer review of phase plans from external AI CLIs
|
|
4
4
|
argument-hint: "--phase N [--gemini] [--antigravity] [--codex] [--opencode] [--all]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
@@ -8,9 +8,10 @@ allowed-tools:
|
|
|
8
8
|
- Bash
|
|
9
9
|
- Glob
|
|
10
10
|
- Grep
|
|
11
|
+
gsd-source-version: 1.34.2
|
|
12
|
+
migration-date: 2026-04-08
|
|
11
13
|
---
|
|
12
14
|
|
|
13
|
-
|
|
14
15
|
<objective>
|
|
15
16
|
Invoke external AI CLIs (Gemini, Antigravity, Codex, OpenCode) to independently review phase plans.
|
|
16
17
|
Produces a structured REVIEWS.md with per-reviewer feedback that can be fed back into
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd:set-profile
|
|
3
|
+
description: Switch model profile for GSD agents (quality/balanced/budget/inherit)
|
|
4
|
+
argument-hint: <profile (quality|balanced|budget|inherit)>
|
|
5
|
+
model: haiku
|
|
6
|
+
allowed-tools:
|
|
7
|
+
- Bash
|
|
8
|
+
gsd-source-version: 1.34.2
|
|
9
|
+
migration-date: 2026-04-08
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
Show the following output to the user verbatim, with no extra commentary:
|
|
13
|
+
|
|
14
|
+
.agent/skills/gsd/bin/gsd-tools.cjs" config-set-model-profile $ARGUMENTS --raw`
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:settings
|
|
3
|
+
description: Configure GSD workflow toggles and model profile
|
|
4
4
|
allowed-tools:
|
|
5
5
|
- Read
|
|
6
6
|
- Write
|
|
7
7
|
- Bash
|
|
8
8
|
- AskUserQuestion
|
|
9
|
+
gsd-source-version: 1.34.2
|
|
10
|
+
migration-date: 2026-04-08
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
|
|
12
13
|
<objective>
|
|
13
14
|
Interactive configuration of GSD workflow agents and model profile via multi-question prompt.
|
|
14
15
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: gsd
|
|
3
|
-
description:
|
|
2
|
+
name: gsd:update
|
|
3
|
+
description: Update GSD to latest version with changelog display
|
|
4
4
|
allowed-tools:
|
|
5
5
|
- Bash
|
|
6
6
|
- AskUserQuestion
|
|
7
|
+
gsd-source-version: 1.34.2
|
|
8
|
+
migration-date: 2026-04-08
|
|
7
9
|
---
|
|
8
10
|
|
|
9
|
-
|
|
10
11
|
<objective>
|
|
11
12
|
Check for GSD updates, install if available, and display what changed.
|
|
12
13
|
|