pi-gsd 1.6.0 → 1.6.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.
- package/README.md +5 -5
- package/package.json +1 -1
- package/scripts/postinstall.js +14 -10
- package/skills/gsd-health/SKILL.md +0 -21
- package/skills/gsd-help/SKILL.md +0 -24
- package/skills/gsd-next/SKILL.md +0 -19
- package/skills/gsd-progress/SKILL.md +0 -23
- package/skills/gsd-stats/SKILL.md +0 -20
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/pi-gsd)
|
|
6
6
|
[](LICENSE)
|
|
7
|
-
[](#skills)
|
|
8
8
|
|
|
9
9
|
GSD is a structured software-delivery framework for AI coding agents. It wraps any AI coding session with a six-step phase lifecycle, 57 slash commands, 18 specialized subagents, background hooks, and model profiles - all backed by a git-committed `.planning/` directory that survives context resets.
|
|
10
10
|
|
|
@@ -38,7 +38,7 @@ After install, run your first GSD command:
|
|
|
38
38
|
|
|
39
39
|
| Artifact | Count | Description |
|
|
40
40
|
| ---------- | ----: | ----------------------------------------------------------------- |
|
|
41
|
-
| Skills |
|
|
41
|
+
| Skills | 55 | pi skill definitions (`/gsd-*`) loaded automatically |
|
|
42
42
|
| CLI binary | 1 | `pi-gsd-tools` - state management, scaffolding, model routing |
|
|
43
43
|
| Hooks | 5 | Background hooks (context monitor, workflow guard, statusline, …) |
|
|
44
44
|
|
|
@@ -123,8 +123,8 @@ Switch profile: `/gsd-set-profile <profile>`
|
|
|
123
123
|
| Workstreams | ✔️ | ✔️ | Full workstream isolation |
|
|
124
124
|
| 4 model profiles | ✔️ | ✔️ | quality / balanced / budget / inherit |
|
|
125
125
|
| 18 subagents | ✔️ | ✔️ | Identical agent definitions |
|
|
126
|
-
|
|
|
127
|
-
| Different skills paths for pi | ✔️ | ⚡ | All
|
|
126
|
+
| 55 GSD skills | ✔️ | ✔️ | All commands available via pi prompt dispatcher (replaces skill system) |
|
|
127
|
+
| Different skills paths for pi | ✔️ | ⚡ | All 55 skills moved to `.pi/gsd/` to enable advanced pi-gsd-tools integration |
|
|
128
128
|
| pi harness (`.pi/`) | ❌ | ✔️ | New - GSD installs into pi's config dir |
|
|
129
129
|
| Background hooks (pi) | ❌ | ✔️ | TypeScript extension (`gsd-hooks.ts`) installed via postinstall |
|
|
130
130
|
| Pi session history ingestion | ❌ | ✔️ | `/gsd-profile-user` reads pi JSONL sessions from `~/.pi/agent/sessions/` |
|
|
@@ -138,7 +138,7 @@ Switch profile: `/gsd-set-profile <profile>`
|
|
|
138
138
|
| Smarter `--repair` | ❌ | ✔️ | Schema defaults fill missing `config.json` fields; W011 STATE.md issues trigger regeneration |
|
|
139
139
|
| Instant commands (no LLM cost) | ❌ | ✔️ | `/gsd-progress`, `/gsd-stats`, `/gsd-health`, `/gsd-help`, `/gsd-next` — zero LLM, editor pivot |
|
|
140
140
|
| `/gsd-next` auto-advance | ❌ | ✔️ | Deterministic phase routing, pre-fills editor with the correct next command |
|
|
141
|
-
| Prompt-dispatch for all skills | ❌ | ✔️ |
|
|
141
|
+
| Prompt-dispatch for all skills | ❌ | ✔️ | 54 pi prompt templates — clean autocomplete, arg hints, direct workflow dispatch |
|
|
142
142
|
| `/gsd-plan-milestone` command | ❌ | ✔️ | Plan all unplanned phases — one mode question, scope pre-check per phase, context-safe checkpoint |
|
|
143
143
|
| `/gsd-execute-milestone` command | ❌ | ✔️ | Execute all phases + scope guardian + auto gap/debt retry loop (insert-phase) + audit→complete→cleanup |
|
|
144
144
|
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -227,17 +227,21 @@ function main() {
|
|
|
227
227
|
else totalSkipped++;
|
|
228
228
|
});
|
|
229
229
|
|
|
230
|
-
// ── Pi prompt templates
|
|
231
|
-
|
|
230
|
+
// ── Pi prompt templates — cleanup stale local copies ───────────────────────
|
|
231
|
+
// Prompts are served directly from the npm package (user scope).
|
|
232
|
+
// Local copies in .pi/prompts/ cause collision warnings on every pi update.
|
|
233
|
+
// Remove any gsd-*.md files previously installed there.
|
|
232
234
|
const promptsDest = path.join(PROJECT_ROOT, ".pi", "prompts");
|
|
233
|
-
if (fs.existsSync(
|
|
234
|
-
const
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
if (
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
235
|
+
if (fs.existsSync(promptsDest)) {
|
|
236
|
+
const stale = fs
|
|
237
|
+
.readdirSync(promptsDest)
|
|
238
|
+
.filter((f) => f.startsWith("gsd-") && f.endsWith(".md"));
|
|
239
|
+
if (stale.length > 0) {
|
|
240
|
+
for (const f of stale) fs.rmSync(path.join(promptsDest, f));
|
|
241
|
+
log(
|
|
242
|
+
"ok",
|
|
243
|
+
`.pi/prompts (removed ${stale.length} stale local gsd-*.md — served from package instead)`,
|
|
244
|
+
);
|
|
241
245
|
}
|
|
242
246
|
}
|
|
243
247
|
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gsd-health
|
|
3
|
-
description: Diagnose planning directory health and optionally repair issues
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<objective>
|
|
7
|
-
Validate `.planning/` directory integrity and report actionable issues. Checks for missing files, invalid configurations, inconsistent state, and orphaned plans.
|
|
8
|
-
</objective>
|
|
9
|
-
|
|
10
|
-
<execution_context>
|
|
11
|
-
@.pi/gsd/workflows/health.md
|
|
12
|
-
</execution_context>
|
|
13
|
-
|
|
14
|
-
<process>
|
|
15
|
-
1. Run: `pi-gsd-tools validate health --output toon`
|
|
16
|
-
- If successful, present the toon output to the user.
|
|
17
|
-
- If the command fails or toon output is unavailable, fall back to: `pi-gsd-tools validate health` (plain JSON output).
|
|
18
|
-
|
|
19
|
-
2. Execute the health workflow from @.pi/gsd/workflows/health.md end-to-end.
|
|
20
|
-
Parse --repair flag from arguments and pass to workflow.
|
|
21
|
-
</process>
|
package/skills/gsd-help/SKILL.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gsd-help
|
|
3
|
-
description: Show available GSD commands and usage guide
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<objective>
|
|
7
|
-
Display the complete GSD command reference.
|
|
8
|
-
|
|
9
|
-
Output ONLY the reference content below. Do NOT add:
|
|
10
|
-
|
|
11
|
-
- Project-specific analysis
|
|
12
|
-
- Git status or file context
|
|
13
|
-
- Next-step suggestions
|
|
14
|
-
- Any commentary beyond the reference
|
|
15
|
-
</objective>
|
|
16
|
-
|
|
17
|
-
<execution_context>
|
|
18
|
-
@.pi/gsd/workflows/help.md
|
|
19
|
-
</execution_context>
|
|
20
|
-
|
|
21
|
-
<process>
|
|
22
|
-
Output the complete GSD command reference from @.pi/gsd/workflows/help.md.
|
|
23
|
-
Display the reference content directly - no additions or modifications.
|
|
24
|
-
</process>
|
package/skills/gsd-next/SKILL.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gsd-next
|
|
3
|
-
description: Automatically advance to the next logical step in the GSD workflow
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<objective>
|
|
7
|
-
Detect the current project state and automatically invoke the next logical GSD workflow step.
|
|
8
|
-
No arguments needed - reads STATE.md, ROADMAP.md, and phase directories to determine what comes next.
|
|
9
|
-
|
|
10
|
-
Designed for rapid multi-project workflows where remembering which phase/step you're on is overhead.
|
|
11
|
-
</objective>
|
|
12
|
-
|
|
13
|
-
<execution_context>
|
|
14
|
-
@.pi/gsd/workflows/next.md
|
|
15
|
-
</execution_context>
|
|
16
|
-
|
|
17
|
-
<process>
|
|
18
|
-
Execute the next workflow from @.pi/gsd/workflows/next.md end-to-end.
|
|
19
|
-
</process>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gsd-progress
|
|
3
|
-
description: Check project progress, show context, and route to next action (execute or plan)
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<objective>
|
|
7
|
-
Check project progress, summarize recent work and what's ahead, then intelligently route to the next action - either executing an existing plan or creating the next one.
|
|
8
|
-
|
|
9
|
-
Provides situational awareness before continuing work.
|
|
10
|
-
</objective>
|
|
11
|
-
|
|
12
|
-
<execution_context>
|
|
13
|
-
@.pi/gsd/workflows/progress.md
|
|
14
|
-
</execution_context>
|
|
15
|
-
|
|
16
|
-
<process>
|
|
17
|
-
1. Run: `pi-gsd-tools progress --output toon`
|
|
18
|
-
- If successful, present the toon output to the user.
|
|
19
|
-
- If the command fails or toon output is unavailable, fall back to: `pi-gsd-tools progress` (plain JSON output).
|
|
20
|
-
|
|
21
|
-
2. Execute the progress workflow from @.pi/gsd/workflows/progress.md end-to-end.
|
|
22
|
-
Preserve all routing logic (Routes A through F) and edge case handling.
|
|
23
|
-
</process>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gsd-stats
|
|
3
|
-
description: Display project statistics - phases, plans, requirements, git metrics, and timeline
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<objective>
|
|
7
|
-
Display comprehensive project statistics including phase progress, plan execution metrics, requirements completion, git history stats, and project timeline.
|
|
8
|
-
</objective>
|
|
9
|
-
|
|
10
|
-
<execution_context>
|
|
11
|
-
@.pi/gsd/workflows/stats.md
|
|
12
|
-
</execution_context>
|
|
13
|
-
|
|
14
|
-
<process>
|
|
15
|
-
1. Run: `pi-gsd-tools stats --output toon`
|
|
16
|
-
- If successful, present the toon output to the user.
|
|
17
|
-
- If the command fails or toon output is unavailable, fall back to: `pi-gsd-tools stats` (plain JSON output).
|
|
18
|
-
|
|
19
|
-
2. Execute the stats workflow from @.pi/gsd/workflows/stats.md end-to-end.
|
|
20
|
-
</process>
|