gsd-vscode-copilot 1.0.0 → 1.1.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/README.md +151 -26
- package/bin/init.js +43 -14
- package/package.json +1 -1
- package/templates/agents/gsd-codebase-mapper.agent.md +55 -0
- package/templates/agents/gsd-planner.agent.md +114 -0
- package/templates/agents/gsd-researcher.agent.md +76 -0
- package/templates/agents/gsd-verifier.agent.md +86 -0
- package/templates/gsd-workflow.instructions.md +160 -31
- package/templates/prompts/gsd-discuss-phase.prompt.md +178 -0
- package/templates/prompts/gsd-execute-phase.prompt.md +253 -0
- package/templates/prompts/gsd-map-codebase.prompt.md +150 -0
- package/templates/prompts/gsd-plan-phase.prompt.md +179 -0
- package/templates/prompts/gsd-progress.prompt.md +49 -11
- package/templates/prompts/gsd-quick.prompt.md +69 -0
- package/templates/prompts/gsd-research-phase.prompt.md +184 -0
- package/templates/prompts/gsd-execute-plan.prompt.md +0 -96
- package/templates/prompts/gsd-plan-slice.prompt.md +0 -105
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "GSD: Execute a plan file (run verify, stop on checkpoints)"
|
|
3
|
-
argument-hint: "Provide the plan path (e.g., .planning/phases/03-auth/03-01-PLAN.md)"
|
|
4
|
-
agent: agent
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
Execute a GSD-style plan file.
|
|
8
|
-
|
|
9
|
-
## Instructions
|
|
10
|
-
|
|
11
|
-
1. If no plan path provided, ask which PLAN file to execute.
|
|
12
|
-
2. Read the PLAN file — it IS the executable prompt.
|
|
13
|
-
3. Execute tasks sequentially.
|
|
14
|
-
|
|
15
|
-
## For each task
|
|
16
|
-
|
|
17
|
-
### `type="auto"` tasks
|
|
18
|
-
|
|
19
|
-
1. Implement the changes described in `<action>`
|
|
20
|
-
2. Run the `<verify>` command(s)
|
|
21
|
-
3. If verification fails: stop and report the failure with proposed fixes
|
|
22
|
-
4. If verification passes: confirm `<done>` criteria met and continue
|
|
23
|
-
|
|
24
|
-
### `type="checkpoint:*"` tasks
|
|
25
|
-
|
|
26
|
-
1. **STOP immediately** (do not continue to next task)
|
|
27
|
-
2. Display a clear checkpoint message:
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
════════════════════════════════════════
|
|
31
|
-
CHECKPOINT: [Type]
|
|
32
|
-
════════════════════════════════════════
|
|
33
|
-
|
|
34
|
-
Task [X] of [Y]: [Task name]
|
|
35
|
-
|
|
36
|
-
[For human-verify]: What was built, how to verify
|
|
37
|
-
[For decision]: Options with pros/cons
|
|
38
|
-
|
|
39
|
-
Resume signal: [How to continue]
|
|
40
|
-
════════════════════════════════════════
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
3. Wait for my response before continuing
|
|
44
|
-
|
|
45
|
-
## After all tasks complete
|
|
46
|
-
|
|
47
|
-
1. Run the overall `<verification>` checks from the plan
|
|
48
|
-
2. Confirm all `<success_criteria>` are met
|
|
49
|
-
3. Create the SUMMARY file as specified in `<output>`
|
|
50
|
-
|
|
51
|
-
### SUMMARY format
|
|
52
|
-
|
|
53
|
-
Create `.planning/phases/NN-name/NN-PP-SUMMARY.md`:
|
|
54
|
-
|
|
55
|
-
```markdown
|
|
56
|
-
# Phase [X] Plan [Y]: [Name] Summary
|
|
57
|
-
|
|
58
|
-
**[One-liner describing what was accomplished]**
|
|
59
|
-
|
|
60
|
-
## Accomplishments
|
|
61
|
-
- [What was built]
|
|
62
|
-
|
|
63
|
-
## Files Created/Modified
|
|
64
|
-
- `path/to/file` - What it does
|
|
65
|
-
|
|
66
|
-
## Decisions Made
|
|
67
|
-
[Key decisions, or "None - followed plan as specified"]
|
|
68
|
-
|
|
69
|
-
## Issues Encountered
|
|
70
|
-
[Problems and resolutions, or "None"]
|
|
71
|
-
|
|
72
|
-
## Next Phase Readiness
|
|
73
|
-
[What's ready for next phase]
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
4. Update `.planning/STATE.md` with:
|
|
77
|
-
- Current position
|
|
78
|
-
- Any decisions made
|
|
79
|
-
- Next action
|
|
80
|
-
|
|
81
|
-
## Git commits
|
|
82
|
-
|
|
83
|
-
After verification passes, offer to create a commit:
|
|
84
|
-
- Show `git status` summary
|
|
85
|
-
- Propose a commit message following: `feat(NN-PP): [description]`
|
|
86
|
-
- Ask for explicit confirmation before committing
|
|
87
|
-
|
|
88
|
-
**Never commit without explicit "yes" from the user.**
|
|
89
|
-
|
|
90
|
-
## Output
|
|
91
|
-
|
|
92
|
-
Report:
|
|
93
|
-
- Tasks completed
|
|
94
|
-
- Verification results
|
|
95
|
-
- Summary path
|
|
96
|
-
- Any follow-ups or risks discovered
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "GSD: Plan a small executable slice (2–3 tasks)"
|
|
3
|
-
argument-hint: "What slice are we planning? (e.g., 'Phase 03: User authentication')"
|
|
4
|
-
agent: agent
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
Plan the next small slice of work as a **GSD-style phase plan** (2–3 tasks max).
|
|
8
|
-
|
|
9
|
-
## Context to load
|
|
10
|
-
|
|
11
|
-
- Read `.planning/STATE.md` and `.planning/ROADMAP.md`.
|
|
12
|
-
- Identify the current phase directory under `.planning/phases/` (or ask me which phase).
|
|
13
|
-
- If a feature is mentioned, locate the relevant code and reference the specific files to be changed.
|
|
14
|
-
|
|
15
|
-
## Plan file location
|
|
16
|
-
|
|
17
|
-
Create a new plan file under:
|
|
18
|
-
- `.planning/phases/<NN-name>/` (create the directory if missing)
|
|
19
|
-
|
|
20
|
-
Name the file:
|
|
21
|
-
- `<NN>-<PP>-PLAN.md` (example: `03-01-PLAN.md` for Phase 3, Plan 1)
|
|
22
|
-
|
|
23
|
-
## Plan format
|
|
24
|
-
|
|
25
|
-
Follow the template in `.github/vendor/get-shit-done/templates/phase-prompt.md`.
|
|
26
|
-
|
|
27
|
-
### Required structure
|
|
28
|
-
|
|
29
|
-
```markdown
|
|
30
|
-
---
|
|
31
|
-
phase: NN-name
|
|
32
|
-
plan: PP
|
|
33
|
-
type: execute
|
|
34
|
-
wave: 1
|
|
35
|
-
depends_on: []
|
|
36
|
-
files_modified: []
|
|
37
|
-
autonomous: true
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
<objective>
|
|
41
|
-
[What this plan accomplishes]
|
|
42
|
-
|
|
43
|
-
Purpose: [Why this matters]
|
|
44
|
-
Output: [What artifacts will be created]
|
|
45
|
-
</objective>
|
|
46
|
-
|
|
47
|
-
<context>
|
|
48
|
-
@.planning/PROJECT.md
|
|
49
|
-
@.planning/ROADMAP.md
|
|
50
|
-
@.planning/STATE.md
|
|
51
|
-
[Relevant source files]
|
|
52
|
-
</context>
|
|
53
|
-
|
|
54
|
-
<tasks>
|
|
55
|
-
|
|
56
|
-
<task type="auto">
|
|
57
|
-
<name>Task 1: [Action-oriented name]</name>
|
|
58
|
-
<files>path/to/file.ext</files>
|
|
59
|
-
<action>[Specific implementation - what to do, how to do it, what to avoid and WHY]</action>
|
|
60
|
-
<verify>[Command or check to prove it worked]</verify>
|
|
61
|
-
<done>[Measurable acceptance criteria]</done>
|
|
62
|
-
</task>
|
|
63
|
-
|
|
64
|
-
<!-- Repeat for 2-3 tasks total -->
|
|
65
|
-
|
|
66
|
-
</tasks>
|
|
67
|
-
|
|
68
|
-
<verification>
|
|
69
|
-
Before declaring plan complete:
|
|
70
|
-
- [ ] [Specific test/build command]
|
|
71
|
-
- [ ] [Behavior verification]
|
|
72
|
-
</verification>
|
|
73
|
-
|
|
74
|
-
<success_criteria>
|
|
75
|
-
- All tasks completed
|
|
76
|
-
- All verification checks pass
|
|
77
|
-
- [Plan-specific criteria]
|
|
78
|
-
</success_criteria>
|
|
79
|
-
|
|
80
|
-
<output>
|
|
81
|
-
After completion, create `.planning/phases/NN-name/NN-PP-SUMMARY.md`
|
|
82
|
-
</output>
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## Task types
|
|
86
|
-
|
|
87
|
-
| Type | Use for |
|
|
88
|
-
|------|---------|
|
|
89
|
-
| `auto` | Everything that can be done autonomously |
|
|
90
|
-
| `checkpoint:human-verify` | Visual/functional verification needed |
|
|
91
|
-
| `checkpoint:decision` | Implementation choice needed |
|
|
92
|
-
|
|
93
|
-
## Guidelines
|
|
94
|
-
|
|
95
|
-
- **2–3 tasks max** per plan
|
|
96
|
-
- Each task must have: `<files>`, `<action>`, `<verify>`, `<done>`
|
|
97
|
-
- `<verify>` should use actual commands for your stack (e.g., `npm test`, `dotnet build`)
|
|
98
|
-
- Prefer vertical slices (model + API + UI) over horizontal layers
|
|
99
|
-
|
|
100
|
-
## Output
|
|
101
|
-
|
|
102
|
-
Write the plan file, then reply with:
|
|
103
|
-
- Plan path
|
|
104
|
-
- Summary of what will be built
|
|
105
|
-
- Any open questions that block execution
|