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.
- package/LICENSE +21 -0
- package/README.md +650 -0
- package/agents/goop-debugger.md +265 -0
- package/agents/goop-designer.md +244 -0
- package/agents/goop-executor.md +217 -0
- package/agents/goop-explorer.md +252 -0
- package/agents/goop-librarian.md +197 -0
- package/agents/goop-orchestrator.md +224 -0
- package/agents/goop-planner.md +231 -0
- package/agents/goop-researcher.md +246 -0
- package/agents/goop-tester.md +245 -0
- package/agents/goop-verifier.md +266 -0
- package/agents/goop-writer.md +293 -0
- package/agents/memory-distiller.md +226 -0
- package/commands/goop-accept.md +183 -0
- package/commands/goop-amend.md +175 -0
- package/commands/goop-complete.md +206 -0
- package/commands/goop-debug.md +318 -0
- package/commands/goop-discuss.md +138 -0
- package/commands/goop-execute.md +137 -0
- package/commands/goop-help.md +82 -0
- package/commands/goop-map-codebase.md +501 -0
- package/commands/goop-memory.md +66 -0
- package/commands/goop-milestone.md +213 -0
- package/commands/goop-pause.md +61 -0
- package/commands/goop-plan.md +78 -0
- package/commands/goop-quick.md +165 -0
- package/commands/goop-recall.md +48 -0
- package/commands/goop-remember.md +71 -0
- package/commands/goop-research.md +98 -0
- package/commands/goop-resume.md +57 -0
- package/commands/goop-setup.md +208 -0
- package/commands/goop-specify.md +145 -0
- package/commands/goop-status.md +153 -0
- package/dist/index.js +31017 -0
- package/dist/memory/index.js +48752 -0
- package/package.json +73 -0
- package/references/agent-patterns.md +334 -0
- package/references/boundary-system.md +141 -0
- package/references/deviation-rules.md +80 -0
- package/references/dispatch-patterns.md +176 -0
- package/references/model-profiles.md +109 -0
- package/references/orchestrator-philosophy.md +280 -0
- package/references/security-checklist.md +163 -0
- package/references/subagent-protocol.md +393 -0
- package/references/tdd.md +231 -0
- package/references/ui-brand.md +261 -0
- package/references/workflow-accept.md +325 -0
- package/references/workflow-execute.md +315 -0
- package/references/workflow-plan.md +179 -0
- package/references/workflow-research.md +234 -0
- package/references/workflow-specify.md +278 -0
- package/skills/README.md +362 -0
- package/skills/accessibility/skill.md +41 -0
- package/skills/accessibility-testing/skill.md +47 -0
- package/skills/api-docs/skill.md +50 -0
- package/skills/architecture-design/skill.md +168 -0
- package/skills/atomic-commits/skill.md +53 -0
- package/skills/code-review/skill.md +59 -0
- package/skills/codebase-mapping/skill.md +54 -0
- package/skills/convention-detection/skill.md +68 -0
- package/skills/debugging/skill.md +59 -0
- package/skills/deviation-handling/skill.md +187 -0
- package/skills/documentation/skill.md +213 -0
- package/skills/goop-core/skill.md +383 -0
- package/skills/memory-usage/skill.md +208 -0
- package/skills/parallel-planning/skill.md +170 -0
- package/skills/pattern-extraction/skill.md +73 -0
- package/skills/performance-optimization/skill.md +188 -0
- package/skills/playwright/skill.md +69 -0
- package/skills/playwright-testing/skill.md +93 -0
- package/skills/progress-tracking/skill.md +155 -0
- package/skills/readme-generation/skill.md +87 -0
- package/skills/research/skill.md +161 -0
- package/skills/responsive-design/skill.md +76 -0
- package/skills/scientific-method/skill.md +67 -0
- package/skills/security-audit/skill.md +152 -0
- package/skills/task-decomposition/skill.md +153 -0
- package/skills/task-delegation/skill.md +127 -0
- package/skills/technical-writing/skill.md +69 -0
- package/skills/testing/skill.md +202 -0
- package/skills/ui-design/skill.md +73 -0
- package/skills/ux-patterns/skill.md +82 -0
- package/skills/verification/skill.md +178 -0
- package/skills/visual-regression/skill.md +86 -0
- package/templates/blueprint.md +141 -0
- package/templates/chronicle.md +156 -0
- package/templates/milestone.md +131 -0
- package/templates/research.md +117 -0
- package/templates/retrospective.md +188 -0
- package/templates/spec.md +103 -0
- package/templates/summary.md +202 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-memory
|
|
3
|
+
description: View memory system status and statistics
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
View the status and statistics of the persistent memory system.
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
`/goop-memory` - Show memory system status
|
|
11
|
+
`/goop-memory stats` - Show detailed statistics
|
|
12
|
+
`/goop-memory clean` - Clean up old/low-importance memories
|
|
13
|
+
|
|
14
|
+
## Instructions
|
|
15
|
+
|
|
16
|
+
When this command is invoked:
|
|
17
|
+
|
|
18
|
+
1. Check if memory system is running:
|
|
19
|
+
- Use `goop_status` to verify memory worker is active
|
|
20
|
+
- Report if memory is disabled
|
|
21
|
+
|
|
22
|
+
2. Show memory statistics:
|
|
23
|
+
- Total memories stored
|
|
24
|
+
- Breakdown by type (decisions, observations, notes, etc.)
|
|
25
|
+
- Recent activity summary
|
|
26
|
+
- Storage usage
|
|
27
|
+
|
|
28
|
+
3. If "stats" argument:
|
|
29
|
+
- Show detailed breakdown by type
|
|
30
|
+
- Show top concepts/tags
|
|
31
|
+
- Show importance distribution
|
|
32
|
+
- Show oldest and newest memories
|
|
33
|
+
|
|
34
|
+
4. If "clean" argument:
|
|
35
|
+
- List memories that could be cleaned (old + low importance)
|
|
36
|
+
- Ask for confirmation before deleting
|
|
37
|
+
- Report what was cleaned
|
|
38
|
+
|
|
39
|
+
## Example Output
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
## Memory System Status
|
|
43
|
+
|
|
44
|
+
Status: Running (worker on port 37777)
|
|
45
|
+
|
|
46
|
+
### Statistics
|
|
47
|
+
- Total Memories: 127
|
|
48
|
+
- Decisions: 23
|
|
49
|
+
- Observations: 65
|
|
50
|
+
- Notes: 31
|
|
51
|
+
- Session Summaries: 8
|
|
52
|
+
|
|
53
|
+
### Recent Activity
|
|
54
|
+
- Last save: 5 minutes ago
|
|
55
|
+
- Last search: 2 minutes ago
|
|
56
|
+
- Memories today: 7
|
|
57
|
+
|
|
58
|
+
### Top Concepts
|
|
59
|
+
1. architecture (15 memories)
|
|
60
|
+
2. typescript (12 memories)
|
|
61
|
+
3. testing (9 memories)
|
|
62
|
+
4. security (7 memories)
|
|
63
|
+
5. performance (5 memories)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Provide visibility into the memory system's state.
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-milestone
|
|
3
|
+
description: Start a new milestone
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GoopSpec Milestone
|
|
7
|
+
|
|
8
|
+
Start a new milestone - a major development cycle with multiple related features.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/goop-milestone [milestone name]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## What is a Milestone?
|
|
17
|
+
|
|
18
|
+
A milestone is a collection of related features that together deliver significant value:
|
|
19
|
+
|
|
20
|
+
**Examples:**
|
|
21
|
+
- "Authentication System" (login, logout, password reset, OAuth)
|
|
22
|
+
- "Payment Integration" (checkout, subscriptions, invoices)
|
|
23
|
+
- "Admin Dashboard" (user management, analytics, settings)
|
|
24
|
+
- "Mobile App" (iOS/Android apps with core features)
|
|
25
|
+
|
|
26
|
+
**Not milestones:**
|
|
27
|
+
- Single features (use `/goop-plan` instead)
|
|
28
|
+
- Bug fixes (use `/goop-quick` instead)
|
|
29
|
+
- Small enhancements (use `/goop-plan` instead)
|
|
30
|
+
|
|
31
|
+
## What Happens
|
|
32
|
+
|
|
33
|
+
1. **Milestone Planning** - Define scope and features:
|
|
34
|
+
- Milestone objectives
|
|
35
|
+
- Feature list
|
|
36
|
+
- Success criteria
|
|
37
|
+
- Timeline estimate
|
|
38
|
+
|
|
39
|
+
2. **Create Milestone Structure**:
|
|
40
|
+
```
|
|
41
|
+
.goopspec/
|
|
42
|
+
└── milestones/
|
|
43
|
+
└── milestone-1-auth-system/
|
|
44
|
+
├── MILESTONE.md
|
|
45
|
+
├── features/
|
|
46
|
+
│ ├── feature-1-login/
|
|
47
|
+
│ ├── feature-2-password-reset/
|
|
48
|
+
│ └── feature-3-oauth/
|
|
49
|
+
└── shared/
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
3. **Feature Breakdown** - Identify individual features within milestone
|
|
53
|
+
|
|
54
|
+
4. **Dependency Mapping** - Determine feature order and dependencies
|
|
55
|
+
|
|
56
|
+
5. **User Confirmation** - Confirm milestone scope before starting
|
|
57
|
+
|
|
58
|
+
## MILESTONE.md Structure
|
|
59
|
+
|
|
60
|
+
```markdown
|
|
61
|
+
# Milestone: [Name]
|
|
62
|
+
|
|
63
|
+
**Status:** Active | Complete
|
|
64
|
+
**Started:** [Date]
|
|
65
|
+
**Target:** [Date]
|
|
66
|
+
**Progress:** [N/M features complete]
|
|
67
|
+
|
|
68
|
+
## Objectives
|
|
69
|
+
|
|
70
|
+
[What this milestone achieves]
|
|
71
|
+
|
|
72
|
+
## Features
|
|
73
|
+
|
|
74
|
+
### Feature 1: [Name]
|
|
75
|
+
**Status:** Planned | In Progress | Complete
|
|
76
|
+
**Dependencies:** None
|
|
77
|
+
**Estimated Effort:** [Size]
|
|
78
|
+
|
|
79
|
+
### Feature 2: [Name]
|
|
80
|
+
**Status:** Planned
|
|
81
|
+
**Dependencies:** Feature 1
|
|
82
|
+
**Estimated Effort:** [Size]
|
|
83
|
+
|
|
84
|
+
## Success Criteria
|
|
85
|
+
|
|
86
|
+
- [ ] Criterion 1
|
|
87
|
+
- [ ] Criterion 2
|
|
88
|
+
|
|
89
|
+
## Timeline
|
|
90
|
+
|
|
91
|
+
- Week 1: Features 1-2
|
|
92
|
+
- Week 2: Features 3-4
|
|
93
|
+
- Week 3: Integration and polish
|
|
94
|
+
|
|
95
|
+
## Notes
|
|
96
|
+
|
|
97
|
+
[Important context, constraints, decisions]
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Milestone Workflow
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
/goop-milestone [name]
|
|
104
|
+
↓
|
|
105
|
+
Plan milestone scope
|
|
106
|
+
↓
|
|
107
|
+
Break into features
|
|
108
|
+
↓
|
|
109
|
+
For each feature:
|
|
110
|
+
/goop-plan → /goop-research → /goop-specify → /goop-execute → /goop-accept
|
|
111
|
+
↓
|
|
112
|
+
/goop-complete (archive milestone)
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Task Modes
|
|
116
|
+
|
|
117
|
+
Milestones use **Comprehensive Mode**:
|
|
118
|
+
- Deeper research per feature
|
|
119
|
+
- More thorough planning
|
|
120
|
+
- Extended verification
|
|
121
|
+
- Formal retrospectives
|
|
122
|
+
|
|
123
|
+
## Example
|
|
124
|
+
|
|
125
|
+
Starting authentication system milestone:
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
/goop-milestone Authentication System
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Agent creates:
|
|
132
|
+
- MILESTONE.md with objectives
|
|
133
|
+
- Feature breakdown:
|
|
134
|
+
- Feature 1: Email/password login
|
|
135
|
+
- Feature 2: Session management
|
|
136
|
+
- Feature 3: Password reset
|
|
137
|
+
- Feature 4: OAuth integration
|
|
138
|
+
- Dependency map
|
|
139
|
+
- Timeline estimate
|
|
140
|
+
|
|
141
|
+
User confirms scope, then proceeds feature by feature.
|
|
142
|
+
|
|
143
|
+
## Milestone Tracking
|
|
144
|
+
|
|
145
|
+
Track progress with:
|
|
146
|
+
|
|
147
|
+
```
|
|
148
|
+
/goop-status
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
Shows:
|
|
152
|
+
- Current milestone
|
|
153
|
+
- Features complete/in-progress/planned
|
|
154
|
+
- Overall progress percentage
|
|
155
|
+
- Estimated completion
|
|
156
|
+
|
|
157
|
+
## Milestone Completion
|
|
158
|
+
|
|
159
|
+
When all features complete:
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
/goop-complete
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
This:
|
|
166
|
+
- Archives milestone files
|
|
167
|
+
- Generates retrospective
|
|
168
|
+
- Extracts learnings
|
|
169
|
+
- Tags git version
|
|
170
|
+
- Prepares for next milestone
|
|
171
|
+
|
|
172
|
+
## Best Practices
|
|
173
|
+
|
|
174
|
+
### Good Milestone Scope
|
|
175
|
+
|
|
176
|
+
**Right size:**
|
|
177
|
+
- 3-8 related features
|
|
178
|
+
- 1-4 weeks of work
|
|
179
|
+
- Clear theme/objective
|
|
180
|
+
- Delivers user value
|
|
181
|
+
|
|
182
|
+
**Too small:**
|
|
183
|
+
- Single feature (use `/goop-plan`)
|
|
184
|
+
- < 1 week work
|
|
185
|
+
- No clear theme
|
|
186
|
+
|
|
187
|
+
**Too large:**
|
|
188
|
+
- > 10 features
|
|
189
|
+
- > 1 month work
|
|
190
|
+
- Multiple unrelated areas
|
|
191
|
+
- Split into multiple milestones
|
|
192
|
+
|
|
193
|
+
### Milestone Planning
|
|
194
|
+
|
|
195
|
+
1. **Start with objectives** - What value does this deliver?
|
|
196
|
+
2. **List features** - What's needed to achieve objectives?
|
|
197
|
+
3. **Map dependencies** - What order makes sense?
|
|
198
|
+
4. **Estimate effort** - How long will this take?
|
|
199
|
+
5. **Get confirmation** - Does user agree with scope?
|
|
200
|
+
|
|
201
|
+
## Next Steps
|
|
202
|
+
|
|
203
|
+
After milestone started:
|
|
204
|
+
- `/goop-plan [feature]` - Plan first feature
|
|
205
|
+
- `/goop-status` - Check milestone progress
|
|
206
|
+
|
|
207
|
+
After milestone complete:
|
|
208
|
+
- `/goop-milestone [next]` - Start next milestone
|
|
209
|
+
- Review RETROSPECTIVE.md for insights
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
**GoopSpec**: Think in milestones, deliver in features.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-pause
|
|
3
|
+
description: Save a checkpoint to pause work
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GoopSpec Pause (Checkpoint)
|
|
7
|
+
|
|
8
|
+
Save your current progress as a checkpoint that you can resume later.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/goop-pause [checkpoint-name]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## What Gets Saved
|
|
17
|
+
|
|
18
|
+
A checkpoint captures:
|
|
19
|
+
- Current session ID
|
|
20
|
+
- Current phase and spec
|
|
21
|
+
- Incomplete todos
|
|
22
|
+
- Modified files
|
|
23
|
+
- Git commit hash
|
|
24
|
+
- Timestamp
|
|
25
|
+
|
|
26
|
+
## Storage
|
|
27
|
+
|
|
28
|
+
Checkpoints are saved to:
|
|
29
|
+
`.goopspec/checkpoints/checkpoint-{id}.json`
|
|
30
|
+
|
|
31
|
+
## Auto-Cleanup
|
|
32
|
+
|
|
33
|
+
Old checkpoints are automatically cleaned up (configurable limit, default 10).
|
|
34
|
+
|
|
35
|
+
## Example
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
/goop-pause "Before major refactor"
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Resume Later
|
|
42
|
+
|
|
43
|
+
To resume from this checkpoint:
|
|
44
|
+
```
|
|
45
|
+
/goop-resume [checkpoint-id]
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Or resume the latest:
|
|
49
|
+
```
|
|
50
|
+
/goop-resume
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Use Cases
|
|
54
|
+
|
|
55
|
+
- End of work day - save and resume tomorrow
|
|
56
|
+
- Before experimental changes - save as backup
|
|
57
|
+
- Context switching - pause one task, work on another
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
**GoopSpec**: Never lose your place.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-plan
|
|
3
|
+
description: Start the Plan phase - capture intent and requirements
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GoopSpec Plan
|
|
7
|
+
|
|
8
|
+
Capture user intent and establish the foundation for all subsequent work.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/goop-plan [brief description]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Workflow Position
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
|
20
|
+
│ PLAN │ ──▶ │ RESEARCH │ ──▶ │ SPECIFY │
|
|
21
|
+
│ (Intent) │ │ (Explore) │ │ (Contract) │
|
|
22
|
+
└─────────────┘ └─────────────┘ └─────────────┘
|
|
23
|
+
↑
|
|
24
|
+
(You are here)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The Plan phase answers: **What does the user want and why?**
|
|
28
|
+
|
|
29
|
+
## What Happens
|
|
30
|
+
|
|
31
|
+
1. **Intent Capture** - Extract core intent from your request
|
|
32
|
+
2. **Clarifying Questions** - Resolve critical ambiguities
|
|
33
|
+
3. **Requirements Gathering** - Categorize must/should/could/won't haves
|
|
34
|
+
4. **Constraint Identification** - Document technical, time, resource limits
|
|
35
|
+
5. **Success Criteria** - Define observable completion conditions
|
|
36
|
+
6. **Memory Search** - Check for similar past work and preferences
|
|
37
|
+
|
|
38
|
+
The agent will ask questions to understand:
|
|
39
|
+
- Scope boundaries
|
|
40
|
+
- Priority trade-offs
|
|
41
|
+
- Performance/security requirements
|
|
42
|
+
- Integration with existing features
|
|
43
|
+
|
|
44
|
+
## Artifacts Created
|
|
45
|
+
|
|
46
|
+
- Intent statement (what and why)
|
|
47
|
+
- Requirements list (must/should/could/won't)
|
|
48
|
+
- Constraints documentation
|
|
49
|
+
- Success criteria
|
|
50
|
+
|
|
51
|
+
## Example
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
/goop-plan Add user authentication with email/password
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Agent captures:
|
|
58
|
+
- **Intent:** Enable users to create accounts and log in
|
|
59
|
+
- **Must haves:** Email/password login, session persistence
|
|
60
|
+
- **Success:** User can log in and stay logged in across refresh
|
|
61
|
+
|
|
62
|
+
## Next Steps
|
|
63
|
+
|
|
64
|
+
After planning:
|
|
65
|
+
- `/goop-research` - Research implementation approaches
|
|
66
|
+
- `/goop-quick` - Skip research for simple tasks (Plan → Execute → Accept)
|
|
67
|
+
|
|
68
|
+
## Quick Mode Shortcut
|
|
69
|
+
|
|
70
|
+
For small tasks, Plan phase is abbreviated:
|
|
71
|
+
- Capture intent in 1-2 sentences
|
|
72
|
+
- Skip detailed requirements
|
|
73
|
+
- Define one clear success criterion
|
|
74
|
+
- Proceed directly to Execute
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
**GoopSpec**: Plan with precision, execute with confidence.
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-quick
|
|
3
|
+
description: Execute small tasks with abbreviated workflow (Plan → Execute → Accept)
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GoopSpec Quick
|
|
7
|
+
|
|
8
|
+
Execute small, ad-hoc tasks with GoopSpec guarantees using an abbreviated workflow.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/goop-quick [brief description]
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Workflow Position
|
|
17
|
+
|
|
18
|
+
Quick mode uses a shortened path:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
|
22
|
+
│ PLAN │ ──▶ │ EXECUTE │ ──▶ │ ACCEPT │
|
|
23
|
+
│ (Intent) │ │ (Build) │ │ (Verify) │
|
|
24
|
+
└─────────────┘ └─────────────┘ └─────────────┘
|
|
25
|
+
|
|
26
|
+
Research and Specify phases SKIPPED
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Quick mode skips:
|
|
30
|
+
- Research phase (assumes existing patterns sufficient)
|
|
31
|
+
- Specify phase (intent serves as implicit spec)
|
|
32
|
+
- Formal SPEC.md and BLUEPRINT.md
|
|
33
|
+
- Comprehensive verification
|
|
34
|
+
|
|
35
|
+
## When to Use Quick Mode
|
|
36
|
+
|
|
37
|
+
**Good for:**
|
|
38
|
+
- Fix a specific bug
|
|
39
|
+
- Add a small feature
|
|
40
|
+
- Refactor a specific function
|
|
41
|
+
- Update documentation
|
|
42
|
+
- Add a test
|
|
43
|
+
- Configure a tool
|
|
44
|
+
- 15-60 minutes of work
|
|
45
|
+
|
|
46
|
+
**Too big for quick mode:**
|
|
47
|
+
- New major feature
|
|
48
|
+
- Architecture changes
|
|
49
|
+
- Multiple interdependent changes
|
|
50
|
+
- Unknown problem domain
|
|
51
|
+
- Anything requiring research
|
|
52
|
+
|
|
53
|
+
## What Happens
|
|
54
|
+
|
|
55
|
+
1. **Quick Planning** - Abbreviated Plan phase:
|
|
56
|
+
- Capture intent in 1-2 sentences
|
|
57
|
+
- Define one clear success criterion
|
|
58
|
+
- Skip detailed requirements
|
|
59
|
+
|
|
60
|
+
2. **Direct Execution** - Simplified Execute phase:
|
|
61
|
+
- 1-2 waves maximum
|
|
62
|
+
- Faster delegation
|
|
63
|
+
- Less formal tracking
|
|
64
|
+
- Atomic commits still required
|
|
65
|
+
|
|
66
|
+
3. **Quick Acceptance** - Abbreviated Accept phase:
|
|
67
|
+
- Quick verification
|
|
68
|
+
- No formal report
|
|
69
|
+
- Simple confirmation prompt
|
|
70
|
+
|
|
71
|
+
## Artifacts Created
|
|
72
|
+
|
|
73
|
+
- `.goopspec/quick/NNN-slug/PLAN.md` - Brief task plan
|
|
74
|
+
- `.goopspec/quick/NNN-slug/SUMMARY.md` - Completion summary
|
|
75
|
+
- Git commits (atomic, per task)
|
|
76
|
+
- STATE.md updated with quick task entry
|
|
77
|
+
|
|
78
|
+
## Task Size Guide
|
|
79
|
+
|
|
80
|
+
| Duration | Appropriate? |
|
|
81
|
+
|----------|--------------|
|
|
82
|
+
| < 15 min | Yes (might be too simple) |
|
|
83
|
+
| 15-30 min | Ideal |
|
|
84
|
+
| 30-60 min | Good |
|
|
85
|
+
| 1-2 hours | Borderline |
|
|
86
|
+
| > 2 hours | Use standard workflow |
|
|
87
|
+
|
|
88
|
+
## Example
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
/goop-quick Fix login button styling to match design system
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Agent:
|
|
95
|
+
1. Captures intent: "Update login button to use design system styles"
|
|
96
|
+
2. Success criterion: "Button matches design system colors and spacing"
|
|
97
|
+
3. Executes: Modify button component, update styles
|
|
98
|
+
4. Commits: `fix(quick): update login button to match design system`
|
|
99
|
+
5. Verifies: Visual check, no errors
|
|
100
|
+
6. Presents for acceptance
|
|
101
|
+
|
|
102
|
+
## Good Quick Task Examples
|
|
103
|
+
|
|
104
|
+
**GOOD:**
|
|
105
|
+
- "Fix the login button styling"
|
|
106
|
+
- "Add validation to the email field"
|
|
107
|
+
- "Update the README with new setup steps"
|
|
108
|
+
- "Refactor the auth utility to use async/await"
|
|
109
|
+
- "Add unit test for user validation"
|
|
110
|
+
|
|
111
|
+
**TOO BIG:**
|
|
112
|
+
- "Implement user authentication" (use standard workflow)
|
|
113
|
+
- "Add payment processing" (use standard workflow)
|
|
114
|
+
- "Refactor the entire codebase" (use milestone)
|
|
115
|
+
|
|
116
|
+
## Quick Mode Guarantees
|
|
117
|
+
|
|
118
|
+
Even in quick mode, you still get:
|
|
119
|
+
- Atomic commits
|
|
120
|
+
- Deviation rule enforcement
|
|
121
|
+
- Memory integration
|
|
122
|
+
- Verification before acceptance
|
|
123
|
+
- User confirmation gate
|
|
124
|
+
|
|
125
|
+
What you skip:
|
|
126
|
+
- Formal research
|
|
127
|
+
- Locked specification
|
|
128
|
+
- Wave-based planning
|
|
129
|
+
- Comprehensive verification report
|
|
130
|
+
|
|
131
|
+
## Next Steps
|
|
132
|
+
|
|
133
|
+
After quick task:
|
|
134
|
+
- `/goop-quick [next]` - Another quick task
|
|
135
|
+
- `/goop-plan [feature]` - Start standard workflow
|
|
136
|
+
- `/goop-status` - Check overall progress
|
|
137
|
+
|
|
138
|
+
## Completion Prompt
|
|
139
|
+
|
|
140
|
+
```
|
|
141
|
+
╭─ ⬢ GoopSpec ───────────────────────────────────────╮
|
|
142
|
+
│ │
|
|
143
|
+
│ ⚡ QUICK TASK COMPLETE │
|
|
144
|
+
│ │
|
|
145
|
+
│ Task: Fix login button styling │
|
|
146
|
+
│ │
|
|
147
|
+
│ Duration: 12 minutes │
|
|
148
|
+
│ Files: 1 modified │
|
|
149
|
+
│ Commits: 1 │
|
|
150
|
+
│ │
|
|
151
|
+
│ VERIFICATION: │
|
|
152
|
+
│ ☑ Button matches design system │
|
|
153
|
+
│ ☑ No console errors │
|
|
154
|
+
│ ☑ Tests passing │
|
|
155
|
+
│ │
|
|
156
|
+
│ ───────────────────────────────────────────── │
|
|
157
|
+
│ Type "accept" to confirm. │
|
|
158
|
+
│ Type "issues: [description]" for fixes. │
|
|
159
|
+
│ │
|
|
160
|
+
╰────────────────────────────────────────────────────╯
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
**GoopSpec**: Quick tasks, same guarantees.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-recall
|
|
3
|
+
description: Search and retrieve relevant memories from the persistent memory system
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Search the persistent memory system for relevant context. Use this to:
|
|
7
|
+
|
|
8
|
+
- Find past decisions related to the current task
|
|
9
|
+
- Recall previous debugging insights
|
|
10
|
+
- Retrieve architectural patterns from earlier sessions
|
|
11
|
+
- Remember user preferences and project conventions
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
`/goop-recall [query]` - Search memories for the given query
|
|
16
|
+
`/goop-recall recent` - Show recent memories
|
|
17
|
+
`/goop-recall decisions` - Show recent architectural decisions
|
|
18
|
+
|
|
19
|
+
## Instructions
|
|
20
|
+
|
|
21
|
+
When this command is invoked:
|
|
22
|
+
|
|
23
|
+
1. Use `memory_search` to find relevant memories matching the query
|
|
24
|
+
2. If query is "recent", use `memory_search` with a broad recent-focused query
|
|
25
|
+
3. If query is "decisions", search specifically for type "decision"
|
|
26
|
+
4. Present found memories in a clear, organized format:
|
|
27
|
+
- Show memory title, type, and date
|
|
28
|
+
- Include key facts and concepts
|
|
29
|
+
- Show importance score
|
|
30
|
+
5. Suggest related searches if results are limited
|
|
31
|
+
|
|
32
|
+
## Example Output
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
## Found 3 Relevant Memories
|
|
36
|
+
|
|
37
|
+
### [decision] Use Zod for schema validation (Jan 15, 2026)
|
|
38
|
+
Importance: 8/10
|
|
39
|
+
Decided to use Zod over io-ts because of better TypeScript inference...
|
|
40
|
+
Tags: validation, zod, architecture
|
|
41
|
+
|
|
42
|
+
### [observation] ESLint flat config migration (Jan 14, 2026)
|
|
43
|
+
Importance: 6/10
|
|
44
|
+
Migrated from .eslintrc to eslint.config.js...
|
|
45
|
+
Tags: eslint, config, migration
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Provide actionable context that helps with the current task.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: goop-remember
|
|
3
|
+
description: Save important context, decisions, or notes to persistent memory
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Save important information to the persistent memory system for future sessions. Use this to:
|
|
7
|
+
|
|
8
|
+
- Log architectural decisions with reasoning
|
|
9
|
+
- Store project conventions and patterns
|
|
10
|
+
- Note important discoveries and insights
|
|
11
|
+
- Save user preferences for future reference
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
`/goop-remember [content]` - Save a memory with auto-detected type
|
|
16
|
+
`/goop-remember decision: [content]` - Log an architectural decision
|
|
17
|
+
`/goop-remember note: [content]` - Quick note
|
|
18
|
+
`/goop-remember todo: [content]` - Create a durable task
|
|
19
|
+
|
|
20
|
+
## Instructions
|
|
21
|
+
|
|
22
|
+
When this command is invoked:
|
|
23
|
+
|
|
24
|
+
1. Parse the content to determine the memory type:
|
|
25
|
+
- If starts with "decision:", use `memory_decision`
|
|
26
|
+
- If starts with "note:", use `memory_note`
|
|
27
|
+
- If starts with "todo:", use `memory_save` with type "todo"
|
|
28
|
+
- Otherwise, infer the best type based on content
|
|
29
|
+
|
|
30
|
+
2. Extract key information:
|
|
31
|
+
- Create a clear, concise title
|
|
32
|
+
- Identify facts (atomic pieces of knowledge)
|
|
33
|
+
- Extract concepts/tags for semantic grouping
|
|
34
|
+
- Assess importance (1-10)
|
|
35
|
+
|
|
36
|
+
3. Save to memory using appropriate tool:
|
|
37
|
+
- For decisions: Use `memory_decision` with reasoning
|
|
38
|
+
- For notes: Use `memory_note`
|
|
39
|
+
- For others: Use `memory_save`
|
|
40
|
+
|
|
41
|
+
4. Confirm what was saved:
|
|
42
|
+
- Show the memory ID
|
|
43
|
+
- Display the title and type
|
|
44
|
+
- List extracted concepts/tags
|
|
45
|
+
|
|
46
|
+
## Example Usage
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
/goop-remember decision: Use TypeScript strict mode for all new files. Reasoning: Catches more bugs at compile time and improves refactoring safety.
|
|
50
|
+
|
|
51
|
+
> Saved memory #42:
|
|
52
|
+
> Title: Use TypeScript strict mode for all new files
|
|
53
|
+
> Type: decision
|
|
54
|
+
> Importance: 8/10
|
|
55
|
+
> Reasoning: Catches more bugs at compile time and improves refactoring safety
|
|
56
|
+
> Tags: typescript, config, code-quality
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
/goop-remember note: The auth system uses JWT with refresh tokens. Access tokens expire in 15 minutes.
|
|
61
|
+
|
|
62
|
+
> Saved memory #43:
|
|
63
|
+
> Title: Auth system uses JWT with refresh tokens
|
|
64
|
+
> Type: note
|
|
65
|
+
> Facts:
|
|
66
|
+
> - Access tokens expire in 15 minutes
|
|
67
|
+
> - Uses refresh token pattern
|
|
68
|
+
> Tags: auth, jwt, security
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Make information persist across sessions for continuity.
|