pi-gsd 1.0.3
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/LICENSE +21 -0
- package/README.md +374 -0
- package/dist/gsd-tools.js +380 -0
- package/package.json +72 -0
- package/scripts/postinstall.js +272 -0
- package/skills/gsd-add-backlog/SKILL.md +78 -0
- package/skills/gsd-add-phase/SKILL.md +39 -0
- package/skills/gsd-add-tests/SKILL.md +28 -0
- package/skills/gsd-add-todo/SKILL.md +42 -0
- package/skills/gsd-audit-milestone/SKILL.md +29 -0
- package/skills/gsd-audit-uat/SKILL.md +20 -0
- package/skills/gsd-autonomous/SKILL.md +34 -0
- package/skills/gsd-check-todos/SKILL.md +40 -0
- package/skills/gsd-cleanup/SKILL.md +19 -0
- package/skills/gsd-complete-milestone/SKILL.md +122 -0
- package/skills/gsd-debug/SKILL.md +178 -0
- package/skills/gsd-discuss-phase/SKILL.md +55 -0
- package/skills/gsd-do/SKILL.md +26 -0
- package/skills/gsd-execute-phase/SKILL.md +53 -0
- package/skills/gsd-fast/SKILL.md +22 -0
- package/skills/gsd-forensics/SKILL.md +51 -0
- package/skills/gsd-health/SKILL.md +17 -0
- package/skills/gsd-help/SKILL.md +24 -0
- package/skills/gsd-insert-phase/SKILL.md +28 -0
- package/skills/gsd-join-discord/SKILL.md +19 -0
- package/skills/gsd-list-phase-assumptions/SKILL.md +41 -0
- package/skills/gsd-list-workspaces/SKILL.md +17 -0
- package/skills/gsd-manager/SKILL.md +33 -0
- package/skills/gsd-map-codebase/SKILL.md +64 -0
- package/skills/gsd-milestone-summary/SKILL.md +45 -0
- package/skills/gsd-new-milestone/SKILL.md +39 -0
- package/skills/gsd-new-project/SKILL.md +37 -0
- package/skills/gsd-new-workspace/SKILL.md +41 -0
- package/skills/gsd-next/SKILL.md +19 -0
- package/skills/gsd-note/SKILL.md +30 -0
- package/skills/gsd-pause-work/SKILL.md +35 -0
- package/skills/gsd-plan-milestone-gaps/SKILL.md +28 -0
- package/skills/gsd-plan-phase/SKILL.md +38 -0
- package/skills/gsd-plant-seed/SKILL.md +21 -0
- package/skills/gsd-pr-branch/SKILL.md +20 -0
- package/skills/gsd-profile-user/SKILL.md +38 -0
- package/skills/gsd-progress/SKILL.md +19 -0
- package/skills/gsd-quick/SKILL.md +38 -0
- package/skills/gsd-reapply-patches/SKILL.md +126 -0
- package/skills/gsd-remove-phase/SKILL.md +26 -0
- package/skills/gsd-remove-workspace/SKILL.md +22 -0
- package/skills/gsd-research-phase/SKILL.md +200 -0
- package/skills/gsd-resume-work/SKILL.md +35 -0
- package/skills/gsd-review/SKILL.md +31 -0
- package/skills/gsd-review-backlog/SKILL.md +62 -0
- package/skills/gsd-session-report/SKILL.md +16 -0
- package/skills/gsd-set-profile/SKILL.md +9 -0
- package/skills/gsd-settings/SKILL.md +32 -0
- package/skills/gsd-ship/SKILL.md +16 -0
- package/skills/gsd-stats/SKILL.md +16 -0
- package/skills/gsd-thread/SKILL.md +133 -0
- package/skills/gsd-ui-phase/SKILL.md +24 -0
- package/skills/gsd-ui-review/SKILL.md +24 -0
- package/skills/gsd-update/SKILL.md +35 -0
- package/skills/gsd-validate-phase/SKILL.md +26 -0
- package/skills/gsd-verify-work/SKILL.md +30 -0
- package/skills/gsd-workstreams/SKILL.md +72 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-thread
|
|
3
|
+
description: Manage persistent context threads for cross-session work
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Create, list, or resume persistent context threads. Threads are lightweight
|
|
8
|
+
cross-session knowledge stores for work that spans multiple sessions but
|
|
9
|
+
doesn't belong to any specific phase.
|
|
10
|
+
</objective>
|
|
11
|
+
|
|
12
|
+
<process>
|
|
13
|
+
|
|
14
|
+
**Parse $ARGUMENTS to determine mode:**
|
|
15
|
+
|
|
16
|
+
<mode_list>
|
|
17
|
+
**If no arguments or $ARGUMENTS is empty:**
|
|
18
|
+
|
|
19
|
+
List all threads:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
ls .planning/threads/*.md 2>/dev/null
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
For each thread, read the first few lines to show title and status:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
## Active Threads
|
|
29
|
+
|
|
30
|
+
| Thread | Status | Last Updated |
|
|
31
|
+
|--------|--------|-------------|
|
|
32
|
+
| fix-deploy-key-auth | OPEN | 2026-03-15 |
|
|
33
|
+
| pasta-tcp-timeout | RESOLVED | 2026-03-12 |
|
|
34
|
+
| perf-investigation | IN PROGRESS | 2026-03-17 |
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
If no threads exist, show:
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
No threads found. Create one with: /gsd-thread <description>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
</mode_list>
|
|
44
|
+
|
|
45
|
+
<mode_resume>
|
|
46
|
+
**If $ARGUMENTS matches an existing thread name (file exists):**
|
|
47
|
+
|
|
48
|
+
Resume the thread - load its context into the current session:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
cat ".planning/threads/${THREAD_NAME}.md"
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Display the thread content and ask what the user wants to work on next.
|
|
55
|
+
Update the thread's status to `IN PROGRESS` if it was `OPEN`.
|
|
56
|
+
</mode_resume>
|
|
57
|
+
|
|
58
|
+
<mode_create>
|
|
59
|
+
**If $ARGUMENTS is a new description (no matching thread file):**
|
|
60
|
+
|
|
61
|
+
Create a new thread:
|
|
62
|
+
|
|
63
|
+
1. Generate slug from description:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
SLUG=$(node ".agent/get-shit-done/bin/gsd-tools.cjs" generate-slug "$ARGUMENTS")
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
2. Create the threads directory if needed:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
mkdir -p .planning/threads
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
3. Write the thread file:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
cat > ".planning/threads/${SLUG}.md" << 'EOF'
|
|
79
|
+
# Thread: {description}
|
|
80
|
+
|
|
81
|
+
## Status: OPEN
|
|
82
|
+
|
|
83
|
+
## Goal
|
|
84
|
+
|
|
85
|
+
{description}
|
|
86
|
+
|
|
87
|
+
## Context
|
|
88
|
+
|
|
89
|
+
*Created from conversation on {today's date}.*
|
|
90
|
+
|
|
91
|
+
## References
|
|
92
|
+
|
|
93
|
+
- *(add links, file paths, or issue numbers)*
|
|
94
|
+
|
|
95
|
+
## Next Steps
|
|
96
|
+
|
|
97
|
+
- *(what the next session should do first)*
|
|
98
|
+
EOF
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
4. If there's relevant context in the current conversation (code snippets,
|
|
102
|
+
error messages, investigation results), extract and add it to the Context
|
|
103
|
+
section.
|
|
104
|
+
|
|
105
|
+
5. Commit:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
node ".agent/get-shit-done/bin/gsd-tools.cjs" commit "docs: create thread - ${ARGUMENTS}" --files ".planning/threads/${SLUG}.md"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
6. Report:
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
## 🧵 Thread Created
|
|
115
|
+
|
|
116
|
+
Thread: {slug}
|
|
117
|
+
File: .planning/threads/{slug}.md
|
|
118
|
+
|
|
119
|
+
Resume anytime with: /gsd-thread {slug}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
</mode_create>
|
|
123
|
+
|
|
124
|
+
</process>
|
|
125
|
+
|
|
126
|
+
<notes>
|
|
127
|
+
- Threads are NOT phase-scoped - they exist independently of the roadmap
|
|
128
|
+
- Lighter weight than /gsd-pause-work - no phase state, no plan context
|
|
129
|
+
- The value is in Context and Next Steps - a cold-start session can pick up immediately
|
|
130
|
+
- Threads can be promoted to phases or backlog items when they mature:
|
|
131
|
+
/gsd-add-phase or /gsd-add-backlog with context from the thread
|
|
132
|
+
- Thread files live in .planning/threads/ - no collision with phases or other GSD structures
|
|
133
|
+
</notes>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-ui-phase
|
|
3
|
+
description: Generate UI design contract (UI-SPEC.md) for frontend phases
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Create a UI design contract (UI-SPEC.md) for a frontend phase.
|
|
8
|
+
Orchestrates gsd-ui-researcher and gsd-ui-checker.
|
|
9
|
+
Flow: Validate → Research UI → Verify UI-SPEC → Done
|
|
10
|
+
</objective>
|
|
11
|
+
|
|
12
|
+
<execution_context>
|
|
13
|
+
@.agent/get-shit-done/workflows/ui-phase.md
|
|
14
|
+
@.agent/get-shit-done/references/ui-brand.md
|
|
15
|
+
</execution_context>
|
|
16
|
+
|
|
17
|
+
<context>
|
|
18
|
+
Phase number: $ARGUMENTS - optional, auto-detects next unplanned phase if omitted.
|
|
19
|
+
</context>
|
|
20
|
+
|
|
21
|
+
<process>
|
|
22
|
+
Execute @.agent/get-shit-done/workflows/ui-phase.md end-to-end.
|
|
23
|
+
Preserve all workflow gates.
|
|
24
|
+
</process>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-ui-review
|
|
3
|
+
description: Retroactive 6-pillar visual audit of implemented frontend code
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Conduct a retroactive 6-pillar visual audit. Produces UI-REVIEW.md with
|
|
8
|
+
graded assessment (1-4 per pillar). Works on any project.
|
|
9
|
+
Output: {phase_num}-UI-REVIEW.md
|
|
10
|
+
</objective>
|
|
11
|
+
|
|
12
|
+
<execution_context>
|
|
13
|
+
@.agent/get-shit-done/workflows/ui-review.md
|
|
14
|
+
@.agent/get-shit-done/references/ui-brand.md
|
|
15
|
+
</execution_context>
|
|
16
|
+
|
|
17
|
+
<context>
|
|
18
|
+
Phase: $ARGUMENTS - optional, defaults to last completed phase.
|
|
19
|
+
</context>
|
|
20
|
+
|
|
21
|
+
<process>
|
|
22
|
+
Execute @.agent/get-shit-done/workflows/ui-review.md end-to-end.
|
|
23
|
+
Preserve all workflow gates.
|
|
24
|
+
</process>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-update
|
|
3
|
+
description: Update GSD to latest version with changelog display
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Check for GSD updates, install if available, and display what changed.
|
|
9
|
+
|
|
10
|
+
Routes to the update workflow which handles:
|
|
11
|
+
- Version detection (local vs global installation)
|
|
12
|
+
- npm version checking
|
|
13
|
+
- Changelog fetching and display
|
|
14
|
+
- User confirmation with clean install warning
|
|
15
|
+
- Update execution and cache clearing
|
|
16
|
+
- Restart reminder
|
|
17
|
+
</objective>
|
|
18
|
+
|
|
19
|
+
<execution_context>
|
|
20
|
+
@.agent/get-shit-done/workflows/update.md
|
|
21
|
+
</execution_context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
**Follow the update workflow** from `@.agent/get-shit-done/workflows/update.md`.
|
|
25
|
+
|
|
26
|
+
The workflow handles all logic including:
|
|
27
|
+
1. Installed version detection (local/global)
|
|
28
|
+
2. Latest version checking via npm
|
|
29
|
+
3. Version comparison
|
|
30
|
+
4. Changelog fetching and extraction
|
|
31
|
+
5. Clean install warning display
|
|
32
|
+
6. User confirmation
|
|
33
|
+
7. Update execution
|
|
34
|
+
8. Cache clearing
|
|
35
|
+
</process>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-validate-phase
|
|
3
|
+
description: Retroactively audit and fill Nyquist validation gaps for a completed phase
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Audit Nyquist validation coverage for a completed phase. Three states:
|
|
8
|
+
- (A) VALIDATION.md exists - audit and fill gaps
|
|
9
|
+
- (B) No VALIDATION.md, SUMMARY.md exists - reconstruct from artifacts
|
|
10
|
+
- (C) Phase not executed - exit with guidance
|
|
11
|
+
|
|
12
|
+
Output: updated VALIDATION.md + generated test files.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
@.agent/get-shit-done/workflows/validate-phase.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Phase: $ARGUMENTS - optional, defaults to last completed phase.
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
Execute @.agent/get-shit-done/workflows/validate-phase.md.
|
|
25
|
+
Preserve all workflow gates.
|
|
26
|
+
</process>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-verify-work
|
|
3
|
+
description: Validate built features through conversational UAT
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Validate built features through conversational testing with persistent state.
|
|
8
|
+
|
|
9
|
+
Purpose: Confirm what the agent built actually works from user's perspective. One test at a time, plain text responses, no interrogation. When issues are found, automatically diagnose, plan fixes, and prepare for execution.
|
|
10
|
+
|
|
11
|
+
Output: {phase_num}-UAT.md tracking all test results. If issues found: diagnosed gaps, verified fix plans ready for /gsd-execute-phase
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@.agent/get-shit-done/workflows/verify-work.md
|
|
16
|
+
@.agent/get-shit-done/templates/UAT.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Phase: $ARGUMENTS (optional)
|
|
21
|
+
- If provided: Test specific phase (e.g., "4")
|
|
22
|
+
- If not provided: Check for active sessions or prompt for phase
|
|
23
|
+
|
|
24
|
+
Context files are resolved inside the workflow (`init verify-work`) and delegated via `<files_to_read>` blocks.
|
|
25
|
+
</context>
|
|
26
|
+
|
|
27
|
+
<process>
|
|
28
|
+
Execute the verify-work workflow from @.agent/get-shit-done/workflows/verify-work.md end-to-end.
|
|
29
|
+
Preserve all workflow gates (session management, test presentation, diagnosis, fix planning, routing).
|
|
30
|
+
</process>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-workstreams
|
|
3
|
+
description: Manage parallel workstreams - list, create, switch, status, progress, complete, and resume
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /gsd-workstreams
|
|
7
|
+
|
|
8
|
+
Manage parallel workstreams for concurrent milestone work.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
`/gsd-workstreams [subcommand] [args]`
|
|
13
|
+
|
|
14
|
+
### Subcommands
|
|
15
|
+
|
|
16
|
+
| Command | Description |
|
|
17
|
+
| ----------------- | --------------------------------------- |
|
|
18
|
+
| `list` | List all workstreams with status |
|
|
19
|
+
| `create <name>` | Create a new workstream |
|
|
20
|
+
| `status <name>` | Detailed status for one workstream |
|
|
21
|
+
| `switch <name>` | Set active workstream |
|
|
22
|
+
| `progress` | Progress summary across all workstreams |
|
|
23
|
+
| `complete <name>` | Archive a completed workstream |
|
|
24
|
+
| `resume <name>` | Resume work in a workstream |
|
|
25
|
+
|
|
26
|
+
## Step 1: Parse Subcommand
|
|
27
|
+
|
|
28
|
+
Parse the user's input to determine which workstream operation to perform.
|
|
29
|
+
If no subcommand given, default to `list`.
|
|
30
|
+
|
|
31
|
+
## Step 2: Execute Operation
|
|
32
|
+
|
|
33
|
+
### list
|
|
34
|
+
|
|
35
|
+
Run: `node "$GSD_TOOLS" workstream list --raw --cwd "$CWD"`
|
|
36
|
+
Display the workstreams in a table format showing name, status, current phase, and progress.
|
|
37
|
+
|
|
38
|
+
### create
|
|
39
|
+
|
|
40
|
+
Run: `node "$GSD_TOOLS" workstream create <name> --raw --cwd "$CWD"`
|
|
41
|
+
After creation, display the new workstream path and suggest next steps:
|
|
42
|
+
|
|
43
|
+
- `/gsd-new-milestone --ws <name>` to set up the milestone
|
|
44
|
+
|
|
45
|
+
### status
|
|
46
|
+
|
|
47
|
+
Run: `node "$GSD_TOOLS" workstream status <name> --raw --cwd "$CWD"`
|
|
48
|
+
Display detailed phase breakdown and state information.
|
|
49
|
+
|
|
50
|
+
### switch
|
|
51
|
+
|
|
52
|
+
Run: `node "$GSD_TOOLS" workstream set <name> --raw --cwd "$CWD"`
|
|
53
|
+
Also set `GSD_WORKSTREAM` env var for the current session.
|
|
54
|
+
|
|
55
|
+
### progress
|
|
56
|
+
|
|
57
|
+
Run: `node "$GSD_TOOLS" workstream progress --raw --cwd "$CWD"`
|
|
58
|
+
Display a progress overview across all workstreams.
|
|
59
|
+
|
|
60
|
+
### complete
|
|
61
|
+
|
|
62
|
+
Run: `node "$GSD_TOOLS" workstream complete <name> --raw --cwd "$CWD"`
|
|
63
|
+
Archive the workstream to milestones/.
|
|
64
|
+
|
|
65
|
+
### resume
|
|
66
|
+
|
|
67
|
+
Set the workstream as active and suggest `/gsd-resume-work --ws <name>`.
|
|
68
|
+
|
|
69
|
+
## Step 3: Display Results
|
|
70
|
+
|
|
71
|
+
Format the JSON output from gsd-tools into a human-readable display.
|
|
72
|
+
Include the `${GSD_WS}` flag in any routing suggestions.
|