gsd-opencode 1.22.1 → 1.33.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/agents/gsd-advisor-researcher.md +112 -0
- package/agents/gsd-assumptions-analyzer.md +110 -0
- package/agents/gsd-codebase-mapper.md +0 -2
- package/agents/gsd-debugger.md +117 -2
- package/agents/gsd-doc-verifier.md +207 -0
- package/agents/gsd-doc-writer.md +608 -0
- package/agents/gsd-executor.md +45 -4
- package/agents/gsd-integration-checker.md +0 -2
- package/agents/gsd-nyquist-auditor.md +0 -2
- package/agents/gsd-phase-researcher.md +191 -5
- package/agents/gsd-plan-checker.md +152 -5
- package/agents/gsd-planner.md +131 -157
- package/agents/gsd-project-researcher.md +28 -3
- package/agents/gsd-research-synthesizer.md +0 -2
- package/agents/gsd-roadmapper.md +29 -2
- package/agents/gsd-security-auditor.md +129 -0
- package/agents/gsd-ui-auditor.md +485 -0
- package/agents/gsd-ui-checker.md +305 -0
- package/agents/gsd-ui-researcher.md +368 -0
- package/agents/gsd-user-profiler.md +173 -0
- package/agents/gsd-verifier.md +207 -22
- package/commands/gsd/gsd-add-backlog.md +76 -0
- package/commands/gsd/gsd-analyze-dependencies.md +34 -0
- package/commands/gsd/gsd-audit-uat.md +24 -0
- package/commands/gsd/gsd-autonomous.md +45 -0
- package/commands/gsd/gsd-cleanup.md +5 -0
- package/commands/gsd/gsd-debug.md +29 -21
- package/commands/gsd/gsd-discuss-phase.md +15 -36
- package/commands/gsd/gsd-do.md +30 -0
- package/commands/gsd/gsd-docs-update.md +48 -0
- package/commands/gsd/gsd-execute-phase.md +24 -2
- package/commands/gsd/gsd-fast.md +30 -0
- package/commands/gsd/gsd-forensics.md +56 -0
- package/commands/gsd/gsd-help.md +2 -0
- package/commands/gsd/gsd-join-discord.md +2 -1
- package/commands/gsd/gsd-list-workspaces.md +19 -0
- package/commands/gsd/gsd-manager.md +40 -0
- package/commands/gsd/gsd-milestone-summary.md +51 -0
- package/commands/gsd/gsd-new-project.md +4 -0
- package/commands/gsd/gsd-new-workspace.md +44 -0
- package/commands/gsd/gsd-next.md +24 -0
- package/commands/gsd/gsd-note.md +34 -0
- package/commands/gsd/gsd-plan-phase.md +8 -1
- package/commands/gsd/gsd-plant-seed.md +28 -0
- package/commands/gsd/gsd-pr-branch.md +25 -0
- package/commands/gsd/gsd-profile-user.md +46 -0
- package/commands/gsd/gsd-quick.md +7 -3
- package/commands/gsd/gsd-reapply-patches.md +178 -45
- package/commands/gsd/gsd-remove-workspace.md +26 -0
- package/commands/gsd/gsd-research-phase.md +7 -12
- package/commands/gsd/gsd-review-backlog.md +62 -0
- package/commands/gsd/gsd-review.md +38 -0
- package/commands/gsd/gsd-secure-phase.md +35 -0
- package/commands/gsd/gsd-session-report.md +19 -0
- package/commands/gsd/gsd-set-profile.md +24 -23
- package/commands/gsd/gsd-ship.md +23 -0
- package/commands/gsd/gsd-stats.md +18 -0
- package/commands/gsd/gsd-thread.md +127 -0
- package/commands/gsd/gsd-ui-phase.md +34 -0
- package/commands/gsd/gsd-ui-review.md +32 -0
- package/commands/gsd/gsd-workstreams.md +71 -0
- package/get-shit-done/bin/gsd-tools.cjs +450 -90
- package/get-shit-done/bin/lib/commands.cjs +489 -24
- package/get-shit-done/bin/lib/config.cjs +329 -48
- package/get-shit-done/bin/lib/core.cjs +1143 -102
- package/get-shit-done/bin/lib/docs.cjs +267 -0
- package/get-shit-done/bin/lib/frontmatter.cjs +125 -43
- package/get-shit-done/bin/lib/init.cjs +918 -106
- package/get-shit-done/bin/lib/milestone.cjs +65 -33
- package/get-shit-done/bin/lib/model-profiles.cjs +70 -0
- package/get-shit-done/bin/lib/phase.cjs +434 -404
- package/get-shit-done/bin/lib/profile-output.cjs +1048 -0
- package/get-shit-done/bin/lib/profile-pipeline.cjs +539 -0
- package/get-shit-done/bin/lib/roadmap.cjs +156 -101
- package/get-shit-done/bin/lib/schema-detect.cjs +238 -0
- package/get-shit-done/bin/lib/security.cjs +384 -0
- package/get-shit-done/bin/lib/state.cjs +711 -79
- package/get-shit-done/bin/lib/template.cjs +2 -2
- package/get-shit-done/bin/lib/uat.cjs +282 -0
- package/get-shit-done/bin/lib/verify.cjs +254 -42
- package/get-shit-done/bin/lib/workstream.cjs +495 -0
- package/get-shit-done/references/agent-contracts.md +79 -0
- package/get-shit-done/references/artifact-types.md +113 -0
- package/get-shit-done/references/checkpoints.md +12 -10
- package/get-shit-done/references/context-budget.md +49 -0
- package/get-shit-done/references/continuation-format.md +15 -15
- package/get-shit-done/references/decimal-phase-calculation.md +2 -3
- package/get-shit-done/references/domain-probes.md +125 -0
- package/get-shit-done/references/gate-prompts.md +100 -0
- package/get-shit-done/references/git-integration.md +47 -0
- package/get-shit-done/references/model-profile-resolution.md +2 -0
- package/get-shit-done/references/model-profiles.md +62 -16
- package/get-shit-done/references/phase-argument-parsing.md +2 -2
- package/get-shit-done/references/planner-gap-closure.md +62 -0
- package/get-shit-done/references/planner-reviews.md +39 -0
- package/get-shit-done/references/planner-revision.md +87 -0
- package/get-shit-done/references/planning-config.md +18 -1
- package/get-shit-done/references/revision-loop.md +97 -0
- package/get-shit-done/references/ui-brand.md +2 -2
- package/get-shit-done/references/universal-anti-patterns.md +58 -0
- package/get-shit-done/references/user-profiling.md +681 -0
- package/get-shit-done/references/workstream-flag.md +111 -0
- package/get-shit-done/templates/SECURITY.md +61 -0
- package/get-shit-done/templates/UAT.md +21 -3
- package/get-shit-done/templates/UI-SPEC.md +100 -0
- package/get-shit-done/templates/VALIDATION.md +3 -3
- package/get-shit-done/templates/claude-md.md +145 -0
- package/get-shit-done/templates/config.json +14 -3
- package/get-shit-done/templates/context.md +61 -6
- package/get-shit-done/templates/debug-subagent-prompt.md +2 -6
- package/get-shit-done/templates/dev-preferences.md +21 -0
- package/get-shit-done/templates/discussion-log.md +63 -0
- package/get-shit-done/templates/phase-prompt.md +46 -5
- package/get-shit-done/templates/planner-subagent-prompt.md +2 -10
- package/get-shit-done/templates/project.md +2 -0
- package/get-shit-done/templates/state.md +2 -2
- package/get-shit-done/templates/user-profile.md +146 -0
- package/get-shit-done/workflows/add-phase.md +4 -4
- package/get-shit-done/workflows/add-tests.md +4 -4
- package/get-shit-done/workflows/add-todo.md +4 -4
- package/get-shit-done/workflows/analyze-dependencies.md +96 -0
- package/get-shit-done/workflows/audit-milestone.md +20 -16
- package/get-shit-done/workflows/audit-uat.md +109 -0
- package/get-shit-done/workflows/autonomous.md +1036 -0
- package/get-shit-done/workflows/check-todos.md +4 -4
- package/get-shit-done/workflows/cleanup.md +4 -4
- package/get-shit-done/workflows/complete-milestone.md +22 -10
- package/get-shit-done/workflows/diagnose-issues.md +21 -7
- package/get-shit-done/workflows/discovery-phase.md +2 -2
- package/get-shit-done/workflows/discuss-phase-assumptions.md +671 -0
- package/get-shit-done/workflows/discuss-phase-power.md +291 -0
- package/get-shit-done/workflows/discuss-phase.md +558 -47
- package/get-shit-done/workflows/do.md +104 -0
- package/get-shit-done/workflows/docs-update.md +1093 -0
- package/get-shit-done/workflows/execute-phase.md +741 -58
- package/get-shit-done/workflows/execute-plan.md +77 -12
- package/get-shit-done/workflows/fast.md +105 -0
- package/get-shit-done/workflows/forensics.md +265 -0
- package/get-shit-done/workflows/health.md +28 -6
- package/get-shit-done/workflows/help.md +127 -7
- package/get-shit-done/workflows/insert-phase.md +4 -4
- package/get-shit-done/workflows/list-phase-assumptions.md +2 -2
- package/get-shit-done/workflows/list-workspaces.md +56 -0
- package/get-shit-done/workflows/manager.md +363 -0
- package/get-shit-done/workflows/map-codebase.md +83 -44
- package/get-shit-done/workflows/milestone-summary.md +223 -0
- package/get-shit-done/workflows/new-milestone.md +133 -25
- package/get-shit-done/workflows/new-project.md +216 -54
- package/get-shit-done/workflows/new-workspace.md +237 -0
- package/get-shit-done/workflows/next.md +97 -0
- package/get-shit-done/workflows/node-repair.md +92 -0
- package/get-shit-done/workflows/note.md +156 -0
- package/get-shit-done/workflows/pause-work.md +132 -15
- package/get-shit-done/workflows/plan-milestone-gaps.md +6 -7
- package/get-shit-done/workflows/plan-phase.md +513 -62
- package/get-shit-done/workflows/plant-seed.md +169 -0
- package/get-shit-done/workflows/pr-branch.md +129 -0
- package/get-shit-done/workflows/profile-user.md +450 -0
- package/get-shit-done/workflows/progress.md +154 -29
- package/get-shit-done/workflows/quick.md +285 -111
- package/get-shit-done/workflows/remove-phase.md +2 -2
- package/get-shit-done/workflows/remove-workspace.md +90 -0
- package/get-shit-done/workflows/research-phase.md +13 -9
- package/get-shit-done/workflows/resume-project.md +37 -18
- package/get-shit-done/workflows/review.md +281 -0
- package/get-shit-done/workflows/secure-phase.md +154 -0
- package/get-shit-done/workflows/session-report.md +146 -0
- package/get-shit-done/workflows/set-profile.md +2 -2
- package/get-shit-done/workflows/settings.md +91 -11
- package/get-shit-done/workflows/ship.md +237 -0
- package/get-shit-done/workflows/stats.md +60 -0
- package/get-shit-done/workflows/transition.md +150 -23
- package/get-shit-done/workflows/ui-phase.md +292 -0
- package/get-shit-done/workflows/ui-review.md +183 -0
- package/get-shit-done/workflows/update.md +262 -30
- package/get-shit-done/workflows/validate-phase.md +14 -17
- package/get-shit-done/workflows/verify-phase.md +143 -11
- package/get-shit-done/workflows/verify-work.md +141 -39
- package/package.json +1 -1
- package/skills/gsd-audit-milestone/SKILL.md +29 -0
- package/skills/gsd-cleanup/SKILL.md +19 -0
- package/skills/gsd-complete-milestone/SKILL.md +131 -0
- package/skills/gsd-discuss-phase/SKILL.md +54 -0
- package/skills/gsd-execute-phase/SKILL.md +49 -0
- package/skills/gsd-plan-phase/SKILL.md +37 -0
- package/skills/gsd-ui-phase/SKILL.md +24 -0
- package/skills/gsd-ui-review/SKILL.md +24 -0
- package/skills/gsd-verify-work/SKILL.md +30 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-complete-milestone
|
|
3
|
+
description: Implementation of gsd-complete-milestone command
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Mark milestone {{version}} complete, archive to milestones/, and update ROADMAP.md and REQUIREMENTS.md.
|
|
9
|
+
|
|
10
|
+
Purpose: Create historical record of shipped version, archive milestone artifacts (roadmap + requirements), and prepare for next milestone.
|
|
11
|
+
Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tagged.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
**Load these files NOW (before proceeding):**
|
|
16
|
+
|
|
17
|
+
- @$HOME/.config/opencode/get-shit-done/workflows/complete-milestone.md (main workflow)
|
|
18
|
+
- @$HOME/.config/opencode/get-shit-done/templates/milestone-archive.md (archive template)
|
|
19
|
+
</execution_context>
|
|
20
|
+
|
|
21
|
+
<context>
|
|
22
|
+
**Project files:**
|
|
23
|
+
- `.planning/ROADMAP.md`
|
|
24
|
+
- `.planning/REQUIREMENTS.md`
|
|
25
|
+
- `.planning/STATE.md`
|
|
26
|
+
- `.planning/PROJECT.md`
|
|
27
|
+
|
|
28
|
+
**User input:**
|
|
29
|
+
|
|
30
|
+
- Version: {{version}} (e.g., "1.0", "1.1", "2.0")
|
|
31
|
+
</context>
|
|
32
|
+
|
|
33
|
+
<process>
|
|
34
|
+
|
|
35
|
+
**Follow complete-milestone.md workflow:**
|
|
36
|
+
|
|
37
|
+
0. **Check for audit:**
|
|
38
|
+
|
|
39
|
+
- Look for `.planning/v{{version}}-MILESTONE-AUDIT.md`
|
|
40
|
+
- If missing or stale: recommend `/gsd-audit-milestone` first
|
|
41
|
+
- If audit status is `gaps_found`: recommend `/gsd-plan-milestone-gaps` first
|
|
42
|
+
- If audit status is `passed`: proceed to step 1
|
|
43
|
+
|
|
44
|
+
```markdown
|
|
45
|
+
## Pre-flight Check
|
|
46
|
+
|
|
47
|
+
{If no v{{version}}-MILESTONE-AUDIT.md:}
|
|
48
|
+
⚠ No milestone audit found. Run `/gsd-audit-milestone` first to verify
|
|
49
|
+
requirements coverage, cross-phase integration, and E2E flows.
|
|
50
|
+
|
|
51
|
+
{If audit has gaps:}
|
|
52
|
+
⚠ Milestone audit found gaps. Run `/gsd-plan-milestone-gaps` to create
|
|
53
|
+
phases that close the gaps, or proceed anyway to accept as tech debt.
|
|
54
|
+
|
|
55
|
+
{If audit passed:}
|
|
56
|
+
✓ Milestone audit passed. Proceeding with completion.
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
1. **Verify readiness:**
|
|
60
|
+
|
|
61
|
+
- Check all phases in milestone have completed plans (SUMMARY.md exists)
|
|
62
|
+
- Present milestone scope and stats
|
|
63
|
+
- Wait for confirmation
|
|
64
|
+
|
|
65
|
+
2. **Gather stats:**
|
|
66
|
+
|
|
67
|
+
- Count phases, plans, tasks
|
|
68
|
+
- Calculate git range, file changes, LOC
|
|
69
|
+
- Extract timeline from git log
|
|
70
|
+
- Present summary, confirm
|
|
71
|
+
|
|
72
|
+
3. **Extract accomplishments:**
|
|
73
|
+
|
|
74
|
+
- read all phase SUMMARY.md files in milestone range
|
|
75
|
+
- Extract 4-6 key accomplishments
|
|
76
|
+
- Present for approval
|
|
77
|
+
|
|
78
|
+
4. **Archive milestone:**
|
|
79
|
+
|
|
80
|
+
- Create `.planning/milestones/v{{version}}-ROADMAP.md`
|
|
81
|
+
- Extract full phase details from ROADMAP.md
|
|
82
|
+
- Fill milestone-archive.md template
|
|
83
|
+
- Update ROADMAP.md to one-line summary with link
|
|
84
|
+
|
|
85
|
+
5. **Archive requirements:**
|
|
86
|
+
|
|
87
|
+
- Create `.planning/milestones/v{{version}}-REQUIREMENTS.md`
|
|
88
|
+
- Mark all v1 requirements as complete (checkboxes checked)
|
|
89
|
+
- Note requirement outcomes (validated, adjusted, dropped)
|
|
90
|
+
- Delete `.planning/REQUIREMENTS.md` (fresh one created for next milestone)
|
|
91
|
+
|
|
92
|
+
6. **Update PROJECT.md:**
|
|
93
|
+
|
|
94
|
+
- Add "Current State" section with shipped version
|
|
95
|
+
- Add "Next Milestone Goals" section
|
|
96
|
+
- Archive previous content in `<details>` (if v1.1+)
|
|
97
|
+
|
|
98
|
+
7. **Commit and tag:**
|
|
99
|
+
|
|
100
|
+
- Stage: MILESTONES.md, PROJECT.md, ROADMAP.md, STATE.md, archive files
|
|
101
|
+
- Commit: `chore: archive v{{version}} milestone`
|
|
102
|
+
- Tag: `git tag -a v{{version}} -m "[milestone summary]"`
|
|
103
|
+
- Ask about pushing tag
|
|
104
|
+
|
|
105
|
+
8. **Offer next steps:**
|
|
106
|
+
- `/gsd-new-milestone` — start next milestone (questioning → research → requirements → roadmap)
|
|
107
|
+
|
|
108
|
+
</process>
|
|
109
|
+
|
|
110
|
+
<success_criteria>
|
|
111
|
+
|
|
112
|
+
- Milestone archived to `.planning/milestones/v{{version}}-ROADMAP.md`
|
|
113
|
+
- Requirements archived to `.planning/milestones/v{{version}}-REQUIREMENTS.md`
|
|
114
|
+
- `.planning/REQUIREMENTS.md` deleted (fresh for next milestone)
|
|
115
|
+
- ROADMAP.md collapsed to one-line entry
|
|
116
|
+
- PROJECT.md updated with current state
|
|
117
|
+
- Git tag v{{version}} created
|
|
118
|
+
- Commit successful
|
|
119
|
+
- User knows next steps (including need for fresh requirements)
|
|
120
|
+
</success_criteria>
|
|
121
|
+
|
|
122
|
+
<critical_rules>
|
|
123
|
+
|
|
124
|
+
- **Load workflow first:** read complete-milestone.md before executing
|
|
125
|
+
- **Verify completion:** All phases must have SUMMARY.md files
|
|
126
|
+
- **User confirmation:** Wait for approval at verification gates
|
|
127
|
+
- **Archive before deleting:** Always create archive files before updating/deleting originals
|
|
128
|
+
- **One-line summary:** Collapsed milestone in ROADMAP.md should be single line with link
|
|
129
|
+
- **Context efficiency:** Archive keeps ROADMAP.md and REQUIREMENTS.md constant size per milestone
|
|
130
|
+
- **Fresh requirements:** Next milestone starts with `/gsd-new-milestone` which includes requirements definition
|
|
131
|
+
</critical_rules>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-discuss-phase
|
|
3
|
+
description: Implementation of gsd-discuss-phase command
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Extract implementation decisions that downstream agents need — researcher and planner will use CONTEXT.md to know what to investigate and what choices are locked.
|
|
9
|
+
|
|
10
|
+
**How it works:**
|
|
11
|
+
1. Load prior context (PROJECT.md, REQUIREMENTS.md, STATE.md, prior CONTEXT.md files)
|
|
12
|
+
2. Scout codebase for reusable assets and patterns
|
|
13
|
+
3. Analyze phase — skip gray areas already decided in prior phases
|
|
14
|
+
4. Present remaining gray areas — user selects which to discuss
|
|
15
|
+
5. Deep-dive each selected area until satisfied
|
|
16
|
+
6. Create CONTEXT.md with decisions that guide research and planning
|
|
17
|
+
|
|
18
|
+
**Output:** `{phase_num}-CONTEXT.md` — decisions clear enough that downstream agents can act without asking the user again
|
|
19
|
+
</objective>
|
|
20
|
+
|
|
21
|
+
<execution_context>
|
|
22
|
+
@$HOME/.config/opencode/get-shit-done/workflows/discuss-phase.md
|
|
23
|
+
@$HOME/.config/opencode/get-shit-done/workflows/discuss-phase-assumptions.md
|
|
24
|
+
@$HOME/.config/opencode/get-shit-done/templates/context.md
|
|
25
|
+
</execution_context>
|
|
26
|
+
|
|
27
|
+
<context>
|
|
28
|
+
Phase number: $ARGUMENTS (required)
|
|
29
|
+
|
|
30
|
+
Context files are resolved in-workflow using `init phase-op` and roadmap/state tool calls.
|
|
31
|
+
</context>
|
|
32
|
+
|
|
33
|
+
<process>
|
|
34
|
+
**Mode routing:**
|
|
35
|
+
```bash
|
|
36
|
+
DISCUSS_MODE=$(node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" config-get workflow.discuss_mode 2>/dev/null || echo "discuss")
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
If `DISCUSS_MODE` is `"assumptions"`: read and execute @$HOME/.config/opencode/get-shit-done/workflows/discuss-phase-assumptions.md end-to-end.
|
|
40
|
+
|
|
41
|
+
If `DISCUSS_MODE` is `"discuss"` (or unset, or any other value): read and execute @$HOME/.config/opencode/get-shit-done/workflows/discuss-phase.md end-to-end.
|
|
42
|
+
|
|
43
|
+
**MANDATORY:** The execution_context files listed above ARE the instructions. read the workflow file BEFORE taking any action. The objective and success_criteria sections in this command file are summaries — the workflow file contains the complete step-by-step process with all required behaviors, config checks, and interaction patterns. Do not improvise from the summary.
|
|
44
|
+
</process>
|
|
45
|
+
|
|
46
|
+
<success_criteria>
|
|
47
|
+
- Prior context loaded and applied (no re-asking decided questions)
|
|
48
|
+
- Gray areas identified through intelligent analysis
|
|
49
|
+
- User chose which areas to discuss
|
|
50
|
+
- Each selected area explored until satisfied
|
|
51
|
+
- Scope creep redirected to deferred ideas
|
|
52
|
+
- CONTEXT.md captures decisions, not vague vision
|
|
53
|
+
- User knows next steps
|
|
54
|
+
</success_criteria>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-execute-phase
|
|
3
|
+
description: Implementation of gsd-execute-phase command
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Execute all plans in a phase using wave-based parallel execution.
|
|
8
|
+
|
|
9
|
+
Orchestrator stays lean: discover plans, analyze dependencies, group into waves, spawn subagents, collect results. Each subagent loads the full execute-plan context and handles its own plan.
|
|
10
|
+
|
|
11
|
+
Optional wave filter:
|
|
12
|
+
- `--wave N` executes only Wave `N` for pacing, quota management, or staged rollout
|
|
13
|
+
- phase verification/completion still only happens when no incomplete plans remain after the selected wave finishes
|
|
14
|
+
|
|
15
|
+
Flag handling rule:
|
|
16
|
+
- The optional flags documented below are available behaviors, not implied active behaviors
|
|
17
|
+
- A flag is active only when its literal token appears in `$ARGUMENTS`
|
|
18
|
+
- If a documented flag is absent from `$ARGUMENTS`, treat it as inactive
|
|
19
|
+
|
|
20
|
+
Context budget: ~15% orchestrator, 100% fresh per subagent.
|
|
21
|
+
</objective>
|
|
22
|
+
|
|
23
|
+
<execution_context>
|
|
24
|
+
@$HOME/.config/opencode/get-shit-done/workflows/execute-phase.md
|
|
25
|
+
@$HOME/.config/opencode/get-shit-done/references/ui-brand.md
|
|
26
|
+
</execution_context>
|
|
27
|
+
|
|
28
|
+
<context>
|
|
29
|
+
Phase: $ARGUMENTS
|
|
30
|
+
|
|
31
|
+
**Available optional flags (documentation only — not automatically active):**
|
|
32
|
+
- `--wave N` — Execute only Wave `N` in the phase. Use when you want to pace execution or stay inside usage limits.
|
|
33
|
+
- `--gaps-only` — Execute only gap closure plans (plans with `gap_closure: true` in frontmatter). Use after verify-work creates fix plans.
|
|
34
|
+
- `--interactive` — Execute plans sequentially inline (no subagents) with user checkpoints between tasks. Lower token usage, pair-programming style. Best for small phases, bug fixes, and verification gaps.
|
|
35
|
+
|
|
36
|
+
**Active flags must be derived from `$ARGUMENTS`:**
|
|
37
|
+
- `--wave N` is active only if the literal `--wave` token is present in `$ARGUMENTS`
|
|
38
|
+
- `--gaps-only` is active only if the literal `--gaps-only` token is present in `$ARGUMENTS`
|
|
39
|
+
- `--interactive` is active only if the literal `--interactive` token is present in `$ARGUMENTS`
|
|
40
|
+
- If none of these tokens appear, run the standard full-phase execution flow with no flag-specific filtering
|
|
41
|
+
- Do not infer that a flag is active just because it is documented in this prompt
|
|
42
|
+
|
|
43
|
+
Context files are resolved inside the workflow via `gsd-tools init execute-phase` and per-subagent `<files_to_read>` blocks.
|
|
44
|
+
</context>
|
|
45
|
+
|
|
46
|
+
<process>
|
|
47
|
+
Execute the execute-phase workflow from @$HOME/.config/opencode/get-shit-done/workflows/execute-phase.md end-to-end.
|
|
48
|
+
Preserve all workflow gates (wave execution, checkpoint handling, verification, state updates, routing).
|
|
49
|
+
</process>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-plan-phase
|
|
3
|
+
description: Implementation of gsd-plan-phase command
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Create executable phase prompts (PLAN.md files) for a roadmap phase with integrated research and verification.
|
|
8
|
+
|
|
9
|
+
**Default flow:** Research (if needed) → Plan → Verify → Done
|
|
10
|
+
|
|
11
|
+
**Orchestrator role:** Parse arguments, validate phase, research domain (unless skipped), spawn gsd-planner, verify with gsd-plan-checker, iterate until pass or max iterations, present results.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<execution_context>
|
|
15
|
+
@$HOME/.config/opencode/get-shit-done/workflows/plan-phase.md
|
|
16
|
+
@$HOME/.config/opencode/get-shit-done/references/ui-brand.md
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
Phase number: $ARGUMENTS (optional — auto-detects next unplanned phase if omitted)
|
|
21
|
+
|
|
22
|
+
**Flags:**
|
|
23
|
+
- `--research` — Force re-research even if RESEARCH.md exists
|
|
24
|
+
- `--skip-research` — Skip research, go straight to planning
|
|
25
|
+
- `--gaps` — Gap closure mode (reads VERIFICATION.md, skips research)
|
|
26
|
+
- `--skip-verify` — Skip verification loop
|
|
27
|
+
- `--prd <file>` — Use a PRD/acceptance criteria file instead of discuss-phase. Parses requirements into CONTEXT.md automatically. Skips discuss-phase entirely.
|
|
28
|
+
- `--reviews` — Replan incorporating cross-AI review feedback from REVIEWS.md (produced by `/gsd-review`)
|
|
29
|
+
- `--text` — Use plain-text numbered lists instead of TUI menus (required for `/rc` remote sessions)
|
|
30
|
+
|
|
31
|
+
Normalize phase input in step 2 before any directory lookups.
|
|
32
|
+
</context>
|
|
33
|
+
|
|
34
|
+
<process>
|
|
35
|
+
Execute the plan-phase workflow from @$HOME/.config/opencode/get-shit-done/workflows/plan-phase.md end-to-end.
|
|
36
|
+
Preserve all workflow gates (validation, research, planning, verification loop, routing).
|
|
37
|
+
</process>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-ui-phase
|
|
3
|
+
description: Implementation of gsd-ui-phase command
|
|
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
|
+
@$HOME/.config/opencode/get-shit-done/workflows/ui-phase.md
|
|
14
|
+
@$HOME/.config/opencode/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 @$HOME/.config/opencode/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: Implementation of gsd-ui-review command
|
|
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
|
+
@$HOME/.config/opencode/get-shit-done/workflows/ui-review.md
|
|
14
|
+
@$HOME/.config/opencode/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 @$HOME/.config/opencode/get-shit-done/workflows/ui-review.md end-to-end.
|
|
23
|
+
Preserve all workflow gates.
|
|
24
|
+
</process>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-verify-work
|
|
3
|
+
description: Implementation of gsd-verify-work command
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Validate built features through conversational testing with persistent state.
|
|
8
|
+
|
|
9
|
+
Purpose: Confirm what OpenCode 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
|
+
@$HOME/.config/opencode/get-shit-done/workflows/verify-work.md
|
|
16
|
+
@$HOME/.config/opencode/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 @$HOME/.config/opencode/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>
|