pi-gsd 1.2.2 → 1.3.1

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 (58) hide show
  1. package/.gsd/extensions/gsd-hooks.ts +550 -211
  2. package/README.md +2 -2
  3. package/package.json +6 -2
  4. package/prompts/gsd-add-backlog.md +6 -0
  5. package/prompts/gsd-add-phase.md +6 -0
  6. package/prompts/gsd-add-tests.md +6 -0
  7. package/prompts/gsd-add-todo.md +6 -0
  8. package/prompts/gsd-audit-milestone.md +6 -0
  9. package/prompts/gsd-audit-uat.md +6 -0
  10. package/prompts/gsd-autonomous.md +6 -0
  11. package/prompts/gsd-check-todos.md +6 -0
  12. package/prompts/gsd-cleanup.md +6 -0
  13. package/prompts/gsd-complete-milestone.md +6 -0
  14. package/prompts/gsd-debug.md +6 -0
  15. package/prompts/gsd-discuss-phase.md +6 -0
  16. package/prompts/gsd-do.md +6 -0
  17. package/prompts/gsd-execute-phase.md +6 -0
  18. package/prompts/gsd-fast.md +6 -0
  19. package/prompts/gsd-forensics.md +6 -0
  20. package/prompts/gsd-insert-phase.md +6 -0
  21. package/prompts/gsd-join-discord.md +6 -0
  22. package/prompts/gsd-list-phase-assumptions.md +6 -0
  23. package/prompts/gsd-list-workspaces.md +6 -0
  24. package/prompts/gsd-manager.md +6 -0
  25. package/prompts/gsd-map-codebase.md +6 -0
  26. package/prompts/gsd-milestone-summary.md +6 -0
  27. package/prompts/gsd-new-milestone.md +6 -0
  28. package/prompts/gsd-new-project.md +6 -0
  29. package/prompts/gsd-new-workspace.md +6 -0
  30. package/prompts/gsd-next.md +6 -0
  31. package/prompts/gsd-note.md +6 -0
  32. package/prompts/gsd-pause-work.md +6 -0
  33. package/prompts/gsd-plan-milestone-gaps.md +6 -0
  34. package/prompts/gsd-plan-phase.md +6 -0
  35. package/prompts/gsd-plant-seed.md +6 -0
  36. package/prompts/gsd-pr-branch.md +6 -0
  37. package/prompts/gsd-profile-user.md +6 -0
  38. package/prompts/gsd-quick.md +6 -0
  39. package/prompts/gsd-reapply-patches.md +6 -0
  40. package/prompts/gsd-remove-phase.md +6 -0
  41. package/prompts/gsd-remove-workspace.md +6 -0
  42. package/prompts/gsd-research-phase.md +6 -0
  43. package/prompts/gsd-resume-work.md +6 -0
  44. package/prompts/gsd-review-backlog.md +6 -0
  45. package/prompts/gsd-review.md +6 -0
  46. package/prompts/gsd-session-report.md +6 -0
  47. package/prompts/gsd-set-profile.md +6 -0
  48. package/prompts/gsd-settings.md +6 -0
  49. package/prompts/gsd-setup-pi.md +6 -0
  50. package/prompts/gsd-ship.md +6 -0
  51. package/prompts/gsd-thread.md +6 -0
  52. package/prompts/gsd-ui-phase.md +6 -0
  53. package/prompts/gsd-ui-review.md +6 -0
  54. package/prompts/gsd-update.md +6 -0
  55. package/prompts/gsd-validate-phase.md +6 -0
  56. package/prompts/gsd-verify-work.md +6 -0
  57. package/prompts/gsd-workstreams.md +6 -0
  58. package/scripts/postinstall.js +265 -250
package/README.md CHANGED
@@ -136,8 +136,8 @@ Switch profile: `/gsd-set-profile <profile>`
136
136
  | Compile-time type safety | ❌ | ⚡ | Fully typed - no `any`, only Zod-inferred types |
137
137
  | Runtime validation (Zod) | ❌ | ⚡ | Schema-driven `validate health` with field-path errors |
138
138
  | Smarter `--repair` | ❌ | ⚡ | Zod schema defaults fill all missing/invalid fields at once |
139
- | Instant commands (no LLM cost) | ❌ | 🚧 | `/gsd-progress`, `/gsd-stats`, `/gsd-help`, `/gsd-health` via pi extension commands |
140
- | Prompt-dispatch for all skills | ❌ | 🚧 | Pi prompt templates replace skill dispatch - clean autocomplete + arg hints |
139
+ | Instant commands (no LLM cost) | ❌ | ✔️ | `/gsd-progress`, `/gsd-stats`, `/gsd-health`, `/gsd-help` formatted output + deterministic next steps, zero LLM |
140
+ | Prompt-dispatch for all skills | ❌ | ✔️ | 54 pi prompt templates clean autocomplete, arg hints, direct workflow dispatch |
141
141
 
142
142
  <!-- | Pi harness config entry | ❌ | ✔️ | `HARNESS_CONFIG` pi entry - generates `AGENTS.md` via `/gsd-profile-user` | -->
143
143
  <!-- | Toon output in skills | ❌ | ✔️ | `gsd-progress`, `gsd-stats`, `gsd-health` use `--output toon` | -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-gsd",
3
- "version": "1.2.2",
3
+ "version": "1.3.1",
4
4
  "description": "Get Shit Done - Unofficial port of the renowned AI-native project-planning spec-driven toolkit",
5
5
  "main": "dist/pi-gsd-tools.js",
6
6
  "bin": {
@@ -20,7 +20,8 @@
20
20
  "scripts/postinstall.js",
21
21
  ".gsd/extensions",
22
22
  "README.md",
23
- "LICENSE"
23
+ "LICENSE",
24
+ "prompts"
24
25
  ],
25
26
  "engines": {
26
27
  "node": ">=18.0.0"
@@ -57,6 +58,9 @@
57
58
  "pi": {
58
59
  "skills": [
59
60
  "./skills"
61
+ ],
62
+ "prompts": [
63
+ "./prompts"
60
64
  ]
61
65
  },
62
66
  "dependencies": {
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Add an idea to the backlog parking lot (999.x numbering)
3
+ ---
4
+ Use the gsd-add-backlog skill.
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Add phase to end of current milestone in roadmap
3
+ ---
4
+ @.pi/gsd/workflows/add-phase.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Generate tests for a completed phase based on UAT criteria and implementation
3
+ ---
4
+ @.pi/gsd/workflows/add-tests.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Capture idea or task as todo from current conversation context
3
+ ---
4
+ @.pi/gsd/workflows/add-todo.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Audit milestone completion against original intent before archiving
3
+ ---
4
+ @.pi/gsd/workflows/audit-milestone.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Cross-phase audit of all outstanding UAT and verification items
3
+ ---
4
+ @.pi/gsd/workflows/audit-uat.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Run all remaining phases autonomously - discuss→plan→execute per phase
3
+ ---
4
+ @.pi/gsd/workflows/autonomous.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: List pending todos and select one to work on
3
+ ---
4
+ @.pi/gsd/workflows/check-todos.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Archive accumulated phase directories from completed milestones
3
+ ---
4
+ @.pi/gsd/workflows/cleanup.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Archive completed milestone and prepare for next version
3
+ ---
4
+ @.pi/gsd/workflows/complete-milestone.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Systematic debugging with persistent state across context resets
3
+ ---
4
+ @.pi/gsd/workflows/diagnose-issues.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Gather phase context through adaptive questioning before planning. Use --auto to skip interactive questions (the agent picks recommended defaults).
3
+ ---
4
+ @.pi/gsd/workflows/discuss-phase.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Route freeform text to the right GSD command automatically
3
+ ---
4
+ @.pi/gsd/workflows/do.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Execute all plans in a phase with wave-based parallelization
3
+ ---
4
+ @.pi/gsd/workflows/execute-phase.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Execute a trivial task inline - no subagents, no planning overhead
3
+ ---
4
+ @.pi/gsd/workflows/fast.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Post-mortem investigation for failed GSD workflows - analyzes git history, artifacts, and state to diagnose what went wrong
3
+ ---
4
+ @.pi/gsd/workflows/forensics.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Insert urgent work as decimal phase (e.g., 72.1) between existing phases
3
+ ---
4
+ @.pi/gsd/workflows/insert-phase.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Join the GSD Discord community
3
+ ---
4
+ Use the gsd-join-discord skill.
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Surface the agent's assumptions about a phase approach before planning
3
+ ---
4
+ @.pi/gsd/workflows/list-phase-assumptions.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: List active GSD workspaces and their status
3
+ ---
4
+ @.pi/gsd/workflows/list-workspaces.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Interactive command center for managing multiple phases from one terminal
3
+ ---
4
+ @.pi/gsd/workflows/manager.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
3
+ ---
4
+ @.pi/gsd/workflows/map-codebase.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Generate a comprehensive project summary from milestone artifacts for team onboarding and review
3
+ ---
4
+ @.pi/gsd/workflows/milestone-summary.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Start a new milestone cycle - update PROJECT.md and route to requirements
3
+ ---
4
+ @.pi/gsd/workflows/new-milestone.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Initialize a new project with deep context gathering and PROJECT.md
3
+ ---
4
+ @.pi/gsd/workflows/new-project.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Create an isolated workspace with repo copies and independent .planning/
3
+ ---
4
+ @.pi/gsd/workflows/new-workspace.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Automatically advance to the next logical step in the GSD workflow
3
+ ---
4
+ @.pi/gsd/workflows/next.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Zero-friction idea capture. Append, list, or promote notes to todos.
3
+ ---
4
+ @.pi/gsd/workflows/note.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Create context handoff when pausing work mid-phase
3
+ ---
4
+ @.pi/gsd/workflows/pause-work.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Create phases to close all gaps identified by milestone audit
3
+ ---
4
+ @.pi/gsd/workflows/plan-milestone-gaps.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Create detailed phase plan (PLAN.md) with verification loop
3
+ ---
4
+ @.pi/gsd/workflows/plan-phase.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Capture a forward-looking idea with trigger conditions - surfaces automatically at the right milestone
3
+ ---
4
+ @.pi/gsd/workflows/plant-seed.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Create a clean PR branch by filtering out .planning/ commits - ready for code review
3
+ ---
4
+ @.pi/gsd/workflows/pr-branch.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Generate developer behavioral profile and create Claude-discoverable artifacts
3
+ ---
4
+ @.pi/gsd/workflows/profile-user.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Execute a quick task with GSD guarantees (atomic commits, state tracking) but skip optional agents
3
+ ---
4
+ @.pi/gsd/workflows/quick.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Reapply local modifications after a GSD update
3
+ ---
4
+ Use the gsd-reapply-patches skill.
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Remove a future phase from roadmap and renumber subsequent phases
3
+ ---
4
+ @.pi/gsd/workflows/remove-phase.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Remove a GSD workspace and clean up worktrees
3
+ ---
4
+ @.pi/gsd/workflows/remove-workspace.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Research how to implement a phase (standalone - usually use /gsd-plan-phase instead)
3
+ ---
4
+ @.pi/gsd/workflows/research-phase.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Resume work from previous session with full context restoration
3
+ ---
4
+ @.pi/gsd/workflows/resume-project.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Review and promote backlog items to active milestone
3
+ ---
4
+ Use the gsd-review-backlog skill.
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Request cross-AI peer review of phase plans from external AI CLIs
3
+ ---
4
+ @.pi/gsd/workflows/review.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Generate a session report with token usage estimates, work summary, and outcomes
3
+ ---
4
+ @.pi/gsd/workflows/session-report.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Switch model profile for GSD agents (quality/balanced/budget/inherit)
3
+ ---
4
+ Use the gsd-set-profile skill.
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Configure GSD workflow toggles and model profile
3
+ ---
4
+ @.pi/gsd/workflows/settings.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Check and repair GSD hook wiring for pi. Use when postinstall was skipped (bun install) or to verify extension health. Routes to /gsd-new-project for first-time setups.
3
+ ---
4
+ Use the gsd-setup-pi skill.
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Create PR, run review, and prepare for merge after verification passes
3
+ ---
4
+ @.pi/gsd/workflows/ship.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Manage persistent context threads for cross-session work
3
+ ---
4
+ @.pi/gsd/workflows/transition.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Generate UI design contract (UI-SPEC.md) for frontend phases
3
+ ---
4
+ @.pi/gsd/workflows/ui-phase.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Retroactive 6-pillar visual audit of implemented frontend code
3
+ ---
4
+ @.pi/gsd/workflows/ui-review.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Update GSD to latest version with changelog display
3
+ ---
4
+ @.pi/gsd/workflows/update.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Retroactively audit and fill Nyquist validation gaps for a completed phase
3
+ ---
4
+ @.pi/gsd/workflows/validate-phase.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Validate built features through conversational UAT
3
+ ---
4
+ @.pi/gsd/workflows/verify-work.md
5
+
6
+ $ARGUMENTS
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Manage parallel workstreams - list, create, switch, status, progress, complete, and resume
3
+ ---
4
+ Use the gsd-workstreams skill.
5
+
6
+ $ARGUMENTS