opencode-goopspec 0.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.
Files changed (92) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +650 -0
  3. package/agents/goop-debugger.md +265 -0
  4. package/agents/goop-designer.md +244 -0
  5. package/agents/goop-executor.md +217 -0
  6. package/agents/goop-explorer.md +252 -0
  7. package/agents/goop-librarian.md +197 -0
  8. package/agents/goop-orchestrator.md +224 -0
  9. package/agents/goop-planner.md +231 -0
  10. package/agents/goop-researcher.md +246 -0
  11. package/agents/goop-tester.md +245 -0
  12. package/agents/goop-verifier.md +266 -0
  13. package/agents/goop-writer.md +293 -0
  14. package/agents/memory-distiller.md +226 -0
  15. package/commands/goop-accept.md +183 -0
  16. package/commands/goop-amend.md +175 -0
  17. package/commands/goop-complete.md +206 -0
  18. package/commands/goop-debug.md +318 -0
  19. package/commands/goop-discuss.md +138 -0
  20. package/commands/goop-execute.md +137 -0
  21. package/commands/goop-help.md +82 -0
  22. package/commands/goop-map-codebase.md +501 -0
  23. package/commands/goop-memory.md +66 -0
  24. package/commands/goop-milestone.md +213 -0
  25. package/commands/goop-pause.md +61 -0
  26. package/commands/goop-plan.md +78 -0
  27. package/commands/goop-quick.md +165 -0
  28. package/commands/goop-recall.md +48 -0
  29. package/commands/goop-remember.md +71 -0
  30. package/commands/goop-research.md +98 -0
  31. package/commands/goop-resume.md +57 -0
  32. package/commands/goop-setup.md +208 -0
  33. package/commands/goop-specify.md +145 -0
  34. package/commands/goop-status.md +153 -0
  35. package/dist/index.js +31017 -0
  36. package/dist/memory/index.js +48752 -0
  37. package/package.json +73 -0
  38. package/references/agent-patterns.md +334 -0
  39. package/references/boundary-system.md +141 -0
  40. package/references/deviation-rules.md +80 -0
  41. package/references/dispatch-patterns.md +176 -0
  42. package/references/model-profiles.md +109 -0
  43. package/references/orchestrator-philosophy.md +280 -0
  44. package/references/security-checklist.md +163 -0
  45. package/references/subagent-protocol.md +393 -0
  46. package/references/tdd.md +231 -0
  47. package/references/ui-brand.md +261 -0
  48. package/references/workflow-accept.md +325 -0
  49. package/references/workflow-execute.md +315 -0
  50. package/references/workflow-plan.md +179 -0
  51. package/references/workflow-research.md +234 -0
  52. package/references/workflow-specify.md +278 -0
  53. package/skills/README.md +362 -0
  54. package/skills/accessibility/skill.md +41 -0
  55. package/skills/accessibility-testing/skill.md +47 -0
  56. package/skills/api-docs/skill.md +50 -0
  57. package/skills/architecture-design/skill.md +168 -0
  58. package/skills/atomic-commits/skill.md +53 -0
  59. package/skills/code-review/skill.md +59 -0
  60. package/skills/codebase-mapping/skill.md +54 -0
  61. package/skills/convention-detection/skill.md +68 -0
  62. package/skills/debugging/skill.md +59 -0
  63. package/skills/deviation-handling/skill.md +187 -0
  64. package/skills/documentation/skill.md +213 -0
  65. package/skills/goop-core/skill.md +383 -0
  66. package/skills/memory-usage/skill.md +208 -0
  67. package/skills/parallel-planning/skill.md +170 -0
  68. package/skills/pattern-extraction/skill.md +73 -0
  69. package/skills/performance-optimization/skill.md +188 -0
  70. package/skills/playwright/skill.md +69 -0
  71. package/skills/playwright-testing/skill.md +93 -0
  72. package/skills/progress-tracking/skill.md +155 -0
  73. package/skills/readme-generation/skill.md +87 -0
  74. package/skills/research/skill.md +161 -0
  75. package/skills/responsive-design/skill.md +76 -0
  76. package/skills/scientific-method/skill.md +67 -0
  77. package/skills/security-audit/skill.md +152 -0
  78. package/skills/task-decomposition/skill.md +153 -0
  79. package/skills/task-delegation/skill.md +127 -0
  80. package/skills/technical-writing/skill.md +69 -0
  81. package/skills/testing/skill.md +202 -0
  82. package/skills/ui-design/skill.md +73 -0
  83. package/skills/ux-patterns/skill.md +82 -0
  84. package/skills/verification/skill.md +178 -0
  85. package/skills/visual-regression/skill.md +86 -0
  86. package/templates/blueprint.md +141 -0
  87. package/templates/chronicle.md +156 -0
  88. package/templates/milestone.md +131 -0
  89. package/templates/research.md +117 -0
  90. package/templates/retrospective.md +188 -0
  91. package/templates/spec.md +103 -0
  92. package/templates/summary.md +202 -0
@@ -0,0 +1,117 @@
1
+ # Research: {Phase Name}
2
+
3
+ **Domain:** {Identified domain}
4
+ **Date:** {YYYY-MM-DD}
5
+ **Sources:** {Count} expert resources analyzed
6
+
7
+ ## Executive Summary
8
+
9
+ {2-3 sentences on key findings}
10
+
11
+ ## Standard Stack
12
+
13
+ ### Core Technologies
14
+
15
+ | Category | Recommended | Alternatives | Notes |
16
+ |----------|-------------|--------------|-------|
17
+ | Framework | {Primary} | {Alt 1}, {Alt 2} | {Why} |
18
+ | Database | {Primary} | {Alt 1} | {Why} |
19
+ | Testing | {Primary} | {Alt 1} | {Why} |
20
+
21
+ ### Supporting Tools
22
+
23
+ - {Tool 1} - {Purpose}
24
+ - {Tool 2} - {Purpose}
25
+
26
+ ## Architecture Patterns
27
+
28
+ ### Recommended Pattern
29
+
30
+ {Pattern name with brief description}
31
+
32
+ **When to use:** {Criteria}
33
+ **Tradeoffs:** {Pros/cons}
34
+
35
+ ### Project Structure
36
+
37
+ ```
38
+ project/
39
+ ├── {directory}/ # {purpose}
40
+ ├── {directory}/ # {purpose}
41
+ └── ...
42
+ ```
43
+
44
+ ## Common Pitfalls
45
+
46
+ ### Critical Issues
47
+
48
+ 1. **{Issue}** - {Description and consequence}
49
+ - **Prevention:** {How to avoid}
50
+
51
+ ### Performance Traps
52
+
53
+ 1. **{Trap}** - {Description}
54
+ - **Solution:** {Best practice}
55
+
56
+ ### Maintenance Concerns
57
+
58
+ 1. **{Concern}** - {Long-term impact}
59
+ - **Mitigation:** {Strategy}
60
+
61
+ ## Expert Resources
62
+
63
+ ### Official Documentation
64
+
65
+ - [{Title}]({url}) - {Description}
66
+
67
+ ### Community Guides
68
+
69
+ - [{Title}]({url}) - {Description}
70
+
71
+ ### Example Projects
72
+
73
+ - [{Title}]({url}) - {What to learn from it}
74
+
75
+ ## Recommendations
76
+
77
+ ### Must Use
78
+
79
+ - {Technology/pattern} - {Rationale}
80
+
81
+ ### Should Consider
82
+
83
+ - {Technology/pattern} - {When it applies}
84
+
85
+ ### Avoid
86
+
87
+ - {Technology/approach} - {Why}
88
+
89
+ ## Uncertainties
90
+
91
+ Areas needing clarification:
92
+
93
+ - {Question 1}
94
+ - {Question 2}
95
+
96
+ ---
97
+
98
+ ## Memory Persistence
99
+
100
+ Key findings to persist:
101
+
102
+ ### Facts
103
+ {{#facts}}
104
+ - {{fact}}
105
+ {{/facts}}
106
+
107
+ ### Concepts
108
+ {{#concepts}}
109
+ - {{concept}}
110
+ {{/concepts}}
111
+
112
+ ---
113
+
114
+ *Research conducted by GoopSpec Intel Agents*
115
+ *Synthesized from {{source_count}} sources*
116
+ *Persisted to memory for future recall*
117
+ *GoopSpec v0.1.0*
@@ -0,0 +1,188 @@
1
+ # RETROSPECTIVE: {{milestone_name}}
2
+
3
+ **Version:** {{version}}
4
+ **Completed:** {{completed_date}}
5
+ **Duration:** {{total_duration}}
6
+ **Archived:** {{archived_date}}
7
+
8
+ ---
9
+
10
+ ## Summary
11
+
12
+ {{summary}}
13
+
14
+ **Key Achievement:** {{key_achievement}}
15
+
16
+ ---
17
+
18
+ ## Metrics
19
+
20
+ | Metric | Planned | Actual | Variance |
21
+ |--------|---------|--------|----------|
22
+ | Waves | {{planned_waves}} | {{actual_waves}} | {{wave_variance}} |
23
+ | Tasks | {{planned_tasks}} | {{actual_tasks}} | {{task_variance}} |
24
+ | Duration | {{planned_duration}} | {{actual_duration}} | {{duration_variance}} |
25
+ | Commits | — | {{total_commits}} | — |
26
+
27
+ ### Performance
28
+ - **Average task time:** {{avg_task_time}}
29
+ - **Fastest wave:** {{fastest_wave}}
30
+ - **Slowest wave:** {{slowest_wave}}
31
+
32
+ ---
33
+
34
+ ## What Worked Well
35
+
36
+ {{#worked_well}}
37
+ ### {{title}}
38
+ {{description}}
39
+
40
+ **Evidence:** {{evidence}}
41
+ **Carry Forward:** {{carry_forward}}
42
+
43
+ {{/worked_well}}
44
+
45
+ ---
46
+
47
+ ## What Didn't Work
48
+
49
+ {{#didnt_work}}
50
+ ### {{title}}
51
+ {{description}}
52
+
53
+ **Impact:** {{impact}}
54
+ **Root Cause:** {{root_cause}}
55
+ **Prevention:** {{prevention}}
56
+
57
+ {{/didnt_work}}
58
+
59
+ ---
60
+
61
+ ## Surprises
62
+
63
+ Things we didn't anticipate:
64
+
65
+ {{#surprises}}
66
+ - **{{surprise}}**: {{how_handled}}
67
+ {{/surprises}}
68
+
69
+ ---
70
+
71
+ ## Key Decisions
72
+
73
+ Architectural and design choices made:
74
+
75
+ {{#key_decisions}}
76
+ ### {{decision}}
77
+ - **Context:** {{context}}
78
+ - **Choice:** {{choice}}
79
+ - **Alternatives:** {{alternatives}}
80
+ - **Outcome:** {{outcome}}
81
+ - **Would Choose Again:** {{would_choose_again}}
82
+ {{/key_decisions}}
83
+
84
+ ---
85
+
86
+ ## Technical Debt Incurred
87
+
88
+ {{#tech_debt}}
89
+ - **{{item}}**
90
+ - Location: `{{location}}`
91
+ - Reason: {{reason}}
92
+ - Effort to fix: {{effort}}
93
+ - Priority: {{priority}}
94
+ {{/tech_debt}}
95
+
96
+ {{^tech_debt}}
97
+ No significant technical debt incurred.
98
+ {{/tech_debt}}
99
+
100
+ ---
101
+
102
+ ## Patterns Established
103
+
104
+ Reusable patterns for future work:
105
+
106
+ {{#patterns}}
107
+ ### {{name}}
108
+ - **When to use:** {{when}}
109
+ - **Implementation:** {{implementation}}
110
+ - **Example:** `{{example_file}}`
111
+ {{/patterns}}
112
+
113
+ ---
114
+
115
+ ## Tools & Libraries
116
+
117
+ ### Added
118
+ {{#tools_added}}
119
+ - **{{name}}** ({{version}}): {{purpose}} — {{verdict}}
120
+ {{/tools_added}}
121
+
122
+ ### Removed
123
+ {{#tools_removed}}
124
+ - **{{name}}**: {{reason}}
125
+ {{/tools_removed}}
126
+
127
+ ### Evaluated but Rejected
128
+ {{#tools_rejected}}
129
+ - **{{name}}**: {{reason}}
130
+ {{/tools_rejected}}
131
+
132
+ ---
133
+
134
+ ## Team Notes
135
+
136
+ ### For Future Self
137
+ {{#notes_future_self}}
138
+ - {{note}}
139
+ {{/notes_future_self}}
140
+
141
+ ### For Others
142
+ {{#notes_others}}
143
+ - {{note}}
144
+ {{/notes_others}}
145
+
146
+ ---
147
+
148
+ ## Memory Extraction
149
+
150
+ The following will be persisted to memory:
151
+
152
+ ### Facts
153
+ {{#facts}}
154
+ - {{fact}}
155
+ {{/facts}}
156
+
157
+ ### Concepts
158
+ {{#concepts}}
159
+ - {{concept}}
160
+ {{/concepts}}
161
+
162
+ ### Gotchas
163
+ {{#gotchas}}
164
+ - **{{gotcha}}**: {{solution}}
165
+ {{/gotchas}}
166
+
167
+ ---
168
+
169
+ ## Archive Location
170
+
171
+ ```
172
+ .goopspec/archive/{{version}}-{{slug}}/
173
+ ├── SPEC.md
174
+ ├── BLUEPRINT.md
175
+ ├── CHRONICLE.md
176
+ ├── RESEARCH.md
177
+ ├── RETROSPECTIVE.md (this file)
178
+ ├── LEARNINGS.md (extracted patterns)
179
+ └── waves/
180
+ └── ...
181
+ ```
182
+
183
+ ---
184
+
185
+ *Retrospective generated on milestone completion*
186
+ *Learnings extracted and persisted to memory*
187
+ *Search with: /goop-recall "{{milestone_name}}"*
188
+ *GoopSpec v0.1.0*
@@ -0,0 +1,103 @@
1
+ # SPEC: {{project_name}}
2
+
3
+ **Version:** {{version}}
4
+ **Created:** {{created_date}}
5
+ **Last Updated:** {{updated_date}}
6
+ **Status:** {{status}}
7
+
8
+ ---
9
+
10
+ ## Vision
11
+
12
+ {{vision}}
13
+
14
+ **Why this matters:** {{why}}
15
+
16
+ ---
17
+
18
+ ## Must-Haves (The Contract)
19
+
20
+ These are non-negotiable. The spec is not complete until ALL must-haves are delivered.
21
+
22
+ {{#must_haves}}
23
+ - [ ] **{{title}}**: {{description}}
24
+ {{/must_haves}}
25
+
26
+ ---
27
+
28
+ ## Nice-to-Haves
29
+
30
+ These enhance the deliverable but are not required for acceptance.
31
+
32
+ {{#nice_to_haves}}
33
+ - [ ] **{{title}}**: {{description}}
34
+ {{/nice_to_haves}}
35
+
36
+ ---
37
+
38
+ ## Out of Scope
39
+
40
+ Explicitly excluded to prevent scope creep.
41
+
42
+ {{#out_of_scope}}
43
+ - {{item}}
44
+ {{/out_of_scope}}
45
+
46
+ ---
47
+
48
+ ## Technical Constraints
49
+
50
+ ### Stack (Non-Negotiable)
51
+ - **Runtime:** {{runtime}}
52
+ - **Language:** {{language}}
53
+ - **Framework:** {{framework}}
54
+ - **Database:** {{database}}
55
+ - **Testing:** {{testing}}
56
+
57
+ ### Conventions
58
+ - **Files:** {{file_naming}}
59
+ - **Components:** {{component_naming}}
60
+ - **Functions:** {{function_naming}}
61
+ - **Commits:** {{commit_format}}
62
+
63
+ ### Boundaries
64
+
65
+ **Always Do:**
66
+ {{#always}}
67
+ - {{.}}
68
+ {{/always}}
69
+
70
+ **Ask First:**
71
+ {{#ask_first}}
72
+ - {{.}}
73
+ {{/ask_first}}
74
+
75
+ **Never Do:**
76
+ {{#never}}
77
+ - {{.}}
78
+ {{/never}}
79
+
80
+ ---
81
+
82
+ ## Acceptance Criteria
83
+
84
+ The spec is complete when:
85
+
86
+ {{#acceptance_criteria}}
87
+ 1. {{.}}
88
+ {{/acceptance_criteria}}
89
+
90
+ ---
91
+
92
+ ## Amendment History
93
+
94
+ | Version | Date | Change | Approved By |
95
+ |---------|------|--------|-------------|
96
+ {{#amendments}}
97
+ | {{version}} | {{date}} | {{change}} | {{approved_by}} |
98
+ {{/amendments}}
99
+
100
+ ---
101
+
102
+ *This specification is a CONTRACT. Changes require explicit amendment.*
103
+ *GoopSpec v0.1.0*
@@ -0,0 +1,202 @@
1
+ ---
2
+ phase: {{phase}}
3
+ plan: {{plan}}
4
+ subsystem: {{subsystem}}
5
+ tags: {{tags}}
6
+ requires: {{requires}}
7
+ provides: {{provides}}
8
+ affects: {{affects}}
9
+ tech_stack: {{tech_stack}}
10
+ key_files: {{key_files}}
11
+ key_decisions: {{key_decisions}}
12
+ patterns_established: {{patterns_established}}
13
+ duration: {{duration}}
14
+ completed: {{completed}}
15
+ ---
16
+
17
+ # Phase {{phase}} Plan {{plan}} Summary: {{title}}
18
+
19
+ **{{one_liner}}**
20
+
21
+ ## Performance
22
+
23
+ - **Duration:** {{duration}} (e.g., 23 min, 1h 15m)
24
+ - **Started:** {{started_timestamp}}
25
+ - **Completed:** {{completed_timestamp}}
26
+ - **Tasks:** {{task_count}} completed
27
+ - **Files modified:** {{file_count}}
28
+
29
+ ## Accomplishments
30
+
31
+ {{#accomplishments}}
32
+ - {{.}}
33
+ {{/accomplishments}}
34
+
35
+ ## Task Commits
36
+
37
+ Each task was committed atomically:
38
+
39
+ {{#task_commits}}
40
+ 1. **Task {{number}}: {{name}}** - `{{hash}}` ({{type}})
41
+ {{/task_commits}}
42
+
43
+ **Plan metadata:** {{plan_commit_hash}} (docs: complete plan)
44
+
45
+ _Note: TDD tasks may have multiple commits (test → feat → refactor)_
46
+
47
+ ## Files Created/Modified
48
+
49
+ {{#files_created}}
50
+ - `{{path}}` - {{description}}
51
+ {{/files_created}}
52
+
53
+ {{#files_modified}}
54
+ - `{{path}}` - {{description}}
55
+ {{/files_modified}}
56
+
57
+ ## Decisions Made
58
+
59
+ {{#decisions}}
60
+ - **{{decision}}** - {{rationale}}
61
+ {{/decisions}}
62
+
63
+ {{^decisions}}
64
+ None - followed plan as specified
65
+ {{/decisions}}
66
+
67
+ ## Deviations from Plan
68
+
69
+ {{#has_deviations}}
70
+ ### Auto-fixed Issues
71
+
72
+ {{#deviations}}
73
+ **{{number}}. [Rule {{rule}} - {{category}}] {{description}}**
74
+ - **Found during:** Task {{task_number}} ({{task_name}})
75
+ - **Issue:** {{issue_detail}}
76
+ - **Fix:** {{fix_description}}
77
+ - **Files modified:** {{files}}
78
+ - **Verification:** {{verification}}
79
+ - **Committed in:** {{commit_hash}} (part of task commit)
80
+
81
+ {{/deviations}}
82
+
83
+ ---
84
+ {{/has_deviations}}
85
+
86
+ {{^has_deviations}}
87
+ None - plan executed exactly as written
88
+ {{/has_deviations}}
89
+
90
+ ## Technical Details
91
+
92
+ ### Stack Changes
93
+ {{#tech_stack.added}}
94
+ - Added: {{.}}
95
+ {{/tech_stack.added}}
96
+
97
+ {{#tech_stack.patterns}}
98
+ - Patterns: {{.}}
99
+ {{/tech_stack.patterns}}
100
+
101
+ ### Dependencies
102
+ {{#dependencies_added}}
103
+ - Added: `{{name}}` {{version}} - {{purpose}}
104
+ {{/dependencies_added}}
105
+
106
+ {{#dependencies_removed}}
107
+ - Removed: `{{name}}` - {{reason}}
108
+ {{/dependencies_removed}}
109
+
110
+ ## Verification Results
111
+
112
+ {{#verification_results}}
113
+ - [x] {{check}}
114
+ {{/verification_results}}
115
+
116
+ ## Impact Assessment
117
+
118
+ ### Breaking Changes
119
+ {{#breaking_changes}}
120
+ - **{{change}}**: {{impact}} - {{mitigation}}
121
+ {{/breaking_changes}}
122
+ {{^breaking_changes}}
123
+ None
124
+ {{/breaking_changes}}
125
+
126
+ ### Migration Notes
127
+ {{#migration_notes}}
128
+ - {{note}}
129
+ {{/migration_notes}}
130
+ {{^migration_notes}}
131
+ None required
132
+ {{/migration_notes}}
133
+
134
+ ### Future Considerations
135
+ {{#future_considerations}}
136
+ - {{consideration}}
137
+ {{/future_considerations}}
138
+ {{^future_considerations}}
139
+ None noted
140
+ {{/future_considerations}}
141
+
142
+ ## Context for Future Plans
143
+
144
+ ### What This Plan Built
145
+ {{#provides_list}}
146
+ - {{.}}
147
+ {{/provides_list}}
148
+
149
+ ### What Depends On This
150
+ {{#affects_list}}
151
+ - {{affected_phase}}: {{reason}}
152
+ {{/affects_list}}
153
+
154
+ ### Key Files to Reference
155
+ {{#key_files_reference}}
156
+ - `{{path}}`: {{purpose}}
157
+ {{/key_files_reference}}
158
+
159
+ ## Lessons Learned
160
+
161
+ {{#lessons_learned}}
162
+ - {{lesson}}
163
+ {{/lessons_learned}}
164
+ {{^lessons_learned}}
165
+ None specifically noted
166
+ {{/lessons_learned}}
167
+
168
+ ## Notes for Project Owner
169
+
170
+ {{#owner_notes}}
171
+ - {{note}}
172
+ {{/owner_notes}}
173
+ {{^owner_notes}}
174
+ No specific notes
175
+ {{/owner_notes}}
176
+
177
+ ---
178
+
179
+ ## Memory Persistence
180
+
181
+ Learnings to persist from this task:
182
+
183
+ ### Patterns
184
+ {{#patterns_learned}}
185
+ - {{pattern}}
186
+ {{/patterns_learned}}
187
+
188
+ ### Gotchas
189
+ {{#gotchas_learned}}
190
+ - {{gotcha}}
191
+ {{/gotchas_learned}}
192
+
193
+ ---
194
+
195
+ *Summary auto-generated by GoopSpec*
196
+ *Learnings extracted and persisted to memory*
197
+
198
+ **View blueprint:** `.goopspec/BLUEPRINT.md`
199
+ **View chronicle:** `.goopspec/CHRONICLE.md`
200
+ **Status:** Complete
201
+
202
+ *GoopSpec v0.1.0*