@leeovery/claude-technical-workflows 2.0.41 → 2.0.43
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/commands/workflow/start-discussion.md +162 -120
- package/commands/workflow/start-implementation.md +146 -66
- package/commands/workflow/start-planning.md +122 -43
- package/commands/workflow/start-research.md +90 -13
- package/commands/workflow/start-review.md +85 -41
- package/commands/workflow/start-specification.md +18 -11
- package/package.json +4 -2
- package/scripts/discovery-for-discussion.sh +198 -0
- package/scripts/discovery-for-implementation-and-review.sh +127 -0
- package/scripts/discovery-for-planning.sh +182 -0
- package/scripts/{specification-discovery.sh → discovery-for-specification.sh} +7 -2
- package/scripts/migrations/002-specification-frontmatter.sh +170 -0
- package/scripts/migrations/003-planning-frontmatter.sh +172 -0
- package/skills/technical-planning/references/output-local-markdown.md +17 -5
- package/skills/technical-research/SKILL.md +10 -1
- package/skills/technical-research/references/template.md +39 -0
- package/skills/technical-specification/references/specification-guide.md +20 -11
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Start an implementation session from an existing plan. Discovers available plans, checks environment setup, and invokes the technical-implementation skill.
|
|
3
|
+
allowed-tools: Bash(.claude/scripts/discovery-for-implementation-and-review.sh)
|
|
3
4
|
---
|
|
4
5
|
|
|
6
|
+
Invoke the **technical-implementation** skill for this conversation.
|
|
7
|
+
|
|
5
8
|
## Workflow Context
|
|
6
9
|
|
|
7
10
|
This is **Phase 5** of the six-phase workflow:
|
|
@@ -19,23 +22,19 @@ This is **Phase 5** of the six-phase workflow:
|
|
|
19
22
|
|
|
20
23
|
---
|
|
21
24
|
|
|
22
|
-
## IMPORTANT: Follow these steps EXACTLY. Do not skip steps.
|
|
23
|
-
|
|
24
|
-
- Ask each question and WAIT for a response before proceeding
|
|
25
|
-
- Do NOT install anything or invoke tools until Step 6
|
|
26
|
-
- Even if the user's initial prompt seems to answer a question, still confirm with them at the appropriate step
|
|
27
|
-
- Do NOT make assumptions about what the user wants
|
|
28
|
-
- Complete each step fully before moving to the next
|
|
29
|
-
|
|
30
25
|
## Instructions
|
|
31
26
|
|
|
32
|
-
Follow these steps EXACTLY as written. Do not skip steps or combine them.
|
|
27
|
+
Follow these steps EXACTLY as written. Do not skip steps or combine them. Present output using the EXACT format shown in examples - do not simplify or alter the formatting.
|
|
33
28
|
|
|
34
|
-
|
|
29
|
+
**CRITICAL**: This guidance is mandatory.
|
|
35
30
|
|
|
36
|
-
|
|
31
|
+
- After each user interaction, STOP and wait for their response before proceeding
|
|
32
|
+
- Never assume or anticipate user choices
|
|
33
|
+
- Even if the user's initial prompt seems to answer a question, still confirm with them at the appropriate step
|
|
34
|
+
- Complete each step fully before moving to the next
|
|
35
|
+
- Do not act on gathered information until the skill is loaded - it contains the instructions for how to proceed
|
|
37
36
|
|
|
38
|
-
|
|
37
|
+
---
|
|
39
38
|
|
|
40
39
|
## Step 0: Run Migrations
|
|
41
40
|
|
|
@@ -45,44 +44,101 @@ Invoke the `/migrate` command and assess its output before proceeding to Step 1.
|
|
|
45
44
|
|
|
46
45
|
---
|
|
47
46
|
|
|
48
|
-
## Step 1:
|
|
47
|
+
## Step 1: Run Discovery Script
|
|
48
|
+
|
|
49
|
+
Run the discovery script to gather current state:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
.claude/scripts/discovery-for-implementation-and-review.sh
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
This outputs structured YAML. Parse it to understand:
|
|
56
|
+
|
|
57
|
+
**From `plans` section:**
|
|
58
|
+
- `exists` - whether any plans exist
|
|
59
|
+
- `files` - list of plans with: name, topic, status, date, format, specification, specification_exists
|
|
60
|
+
- `count` - total number of plans
|
|
61
|
+
|
|
62
|
+
**From `environment` section:**
|
|
63
|
+
- `setup_file_exists` - whether environment-setup.md exists
|
|
64
|
+
- `requires_setup` - true, false, or unknown
|
|
65
|
+
|
|
66
|
+
**From `state` section:**
|
|
67
|
+
- `scenario` - one of: `"no_plans"`, `"single_plan"`, `"multiple_plans"`
|
|
68
|
+
|
|
69
|
+
**IMPORTANT**: Use ONLY this script for discovery. Do NOT run additional bash commands (ls, head, cat, etc.) to gather state - the script provides everything needed.
|
|
70
|
+
|
|
71
|
+
→ Proceed to **Step 2**.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Step 2: Route Based on Scenario
|
|
76
|
+
|
|
77
|
+
Use `state.scenario` from the discovery output to determine the path:
|
|
78
|
+
|
|
79
|
+
#### If scenario is "no_plans"
|
|
80
|
+
|
|
81
|
+
No plans exist yet.
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
No plans found in docs/workflow/planning/
|
|
85
|
+
|
|
86
|
+
The implementation phase requires a plan. Please run /start-planning first to create a plan from a specification.
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**STOP.** Wait for user to acknowledge before ending.
|
|
49
90
|
|
|
50
|
-
|
|
91
|
+
#### If scenario is "single_plan" or "multiple_plans"
|
|
51
92
|
|
|
52
|
-
|
|
53
|
-
- Run `ls docs/workflow/planning/` to list plan files
|
|
54
|
-
- Each file is named `{topic}.md`
|
|
93
|
+
Plans exist.
|
|
55
94
|
|
|
56
|
-
|
|
57
|
-
- Run `head -10 docs/workflow/planning/{topic}.md` to read the frontmatter
|
|
58
|
-
- Note the `format:` field
|
|
59
|
-
- Do NOT use bash loops - run separate `head` commands for each topic
|
|
95
|
+
→ Proceed to **Step 3** to present options.
|
|
60
96
|
|
|
61
|
-
|
|
97
|
+
---
|
|
62
98
|
|
|
63
|
-
|
|
99
|
+
## Step 3: Present Plans and Select
|
|
64
100
|
|
|
65
|
-
|
|
101
|
+
Present all discovered plans to help the user make an informed choice.
|
|
66
102
|
|
|
67
|
-
|
|
103
|
+
**Present the full state:**
|
|
68
104
|
|
|
69
105
|
```
|
|
70
|
-
Plans
|
|
71
|
-
|
|
72
|
-
{topic-
|
|
106
|
+
Available Plans:
|
|
107
|
+
|
|
108
|
+
1. {topic-1} (in-progress) - format: local-markdown
|
|
109
|
+
2. {topic-2} (concluded) - format: local-markdown
|
|
110
|
+
3. {topic-3} (in-progress) - format: beads
|
|
73
111
|
|
|
74
|
-
Which plan would you like to implement?
|
|
112
|
+
Which plan would you like to implement? (Enter a number or name)
|
|
75
113
|
```
|
|
76
114
|
|
|
77
|
-
|
|
115
|
+
**Legend:**
|
|
116
|
+
- `in-progress` = implementation ongoing or not started
|
|
117
|
+
- `concluded` = implementation complete (can still be selected for review/continuation)
|
|
118
|
+
|
|
119
|
+
**If single plan exists (auto-select):**
|
|
120
|
+
```
|
|
121
|
+
Auto-selecting: {topic} (only available plan)
|
|
122
|
+
```
|
|
123
|
+
→ Proceed directly to **Step 4**.
|
|
124
|
+
|
|
125
|
+
**If multiple plans exist:**
|
|
126
|
+
|
|
127
|
+
**STOP.** Wait for user response.
|
|
128
|
+
|
|
129
|
+
→ Based on user choice, proceed to **Step 4**.
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Step 4: Check External Dependencies
|
|
78
134
|
|
|
79
135
|
**This step is a gate.** Implementation cannot proceed if dependencies are not satisfied.
|
|
80
136
|
|
|
81
137
|
See **[dependencies.md](../../skills/technical-planning/references/dependencies.md)** for dependency format and states.
|
|
82
138
|
|
|
83
|
-
After the
|
|
139
|
+
After the plan is selected:
|
|
84
140
|
|
|
85
|
-
1. **Read the External Dependencies section** from the plan
|
|
141
|
+
1. **Read the External Dependencies section** from the plan file
|
|
86
142
|
2. **Check each dependency** according to its state:
|
|
87
143
|
- **Unresolved**: Block
|
|
88
144
|
- **Resolved**: Check if task is complete (load output format reference, follow "Querying Dependencies" section)
|
|
@@ -100,10 +156,8 @@ UNRESOLVED (not yet planned):
|
|
|
100
156
|
→ No plan exists for this topic. Create with /start-planning or mark as satisfied externally.
|
|
101
157
|
|
|
102
158
|
INCOMPLETE (planned but not implemented):
|
|
103
|
-
-
|
|
104
|
-
→ Status:
|
|
105
|
-
|
|
106
|
-
These dependencies must be completed before this plan can be implemented.
|
|
159
|
+
- authentication: User context retrieval
|
|
160
|
+
→ Status: in-progress. This task must be completed first.
|
|
107
161
|
|
|
108
162
|
OPTIONS:
|
|
109
163
|
1. Implement the blocking dependencies first
|
|
@@ -111,61 +165,90 @@ OPTIONS:
|
|
|
111
165
|
3. Run /link-dependencies to wire up any recently completed plans
|
|
112
166
|
```
|
|
113
167
|
|
|
168
|
+
**STOP.** Wait for user response.
|
|
169
|
+
|
|
114
170
|
### Escape Hatch
|
|
115
171
|
|
|
116
172
|
If the user says a dependency has been implemented outside the workflow:
|
|
117
173
|
|
|
118
174
|
1. Ask which dependency to mark as satisfied
|
|
119
|
-
2. Update the plan
|
|
120
|
-
- Change `- {topic}: {description}` to `- ~~{topic}: {description}~~ → satisfied externally`
|
|
175
|
+
2. Update the plan file: Change `- {topic}: {description}` to `- ~~{topic}: {description}~~ → satisfied externally`
|
|
121
176
|
3. Commit the change
|
|
122
177
|
4. Re-check dependencies
|
|
123
178
|
|
|
124
179
|
### All Dependencies Satisfied
|
|
125
180
|
|
|
126
|
-
If all dependencies are resolved and complete (or satisfied externally), proceed to Step
|
|
181
|
+
If all dependencies are resolved and complete (or satisfied externally), proceed to Step 5.
|
|
127
182
|
|
|
128
183
|
```
|
|
129
|
-
✅ External dependencies satisfied
|
|
130
|
-
|
|
131
|
-
|
|
184
|
+
✅ External dependencies satisfied.
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
→ Proceed to **Step 5**.
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Step 5: Check Environment Setup
|
|
192
|
+
|
|
193
|
+
> **IMPORTANT**: This step is for **information gathering only**. Do NOT execute any setup commands at this stage. The skill contains instructions for handling environment setup.
|
|
194
|
+
|
|
195
|
+
Use the `environment` section from the discovery output:
|
|
132
196
|
|
|
133
|
-
|
|
197
|
+
**If `setup_file_exists: true` and `requires_setup: false`:**
|
|
134
198
|
```
|
|
199
|
+
Environment: No special setup required.
|
|
200
|
+
```
|
|
201
|
+
→ Proceed to **Step 6**.
|
|
202
|
+
|
|
203
|
+
**If `setup_file_exists: true` and `requires_setup: true`:**
|
|
204
|
+
```
|
|
205
|
+
Environment setup file found: docs/workflow/environment-setup.md
|
|
206
|
+
```
|
|
207
|
+
→ Proceed to **Step 6**.
|
|
135
208
|
|
|
136
|
-
|
|
209
|
+
**If `setup_file_exists: false` or `requires_setup: unknown`:**
|
|
137
210
|
|
|
138
|
-
|
|
211
|
+
Ask:
|
|
212
|
+
```
|
|
213
|
+
Are there any environment setup instructions I should follow before implementation?
|
|
214
|
+
(Or "none" if no special setup is needed)
|
|
215
|
+
```
|
|
139
216
|
|
|
140
|
-
|
|
217
|
+
**STOP.** Wait for user response.
|
|
141
218
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
3. If missing, ask: "Are there any environment setup instructions I should follow?"
|
|
145
|
-
- If the user provides instructions, save them to `docs/workflow/environment-setup.md`, commit and push to Git
|
|
146
|
-
- If the user says no, create `docs/workflow/environment-setup.md` with "No special setup required." and commit. This prevents asking again in future sessions.
|
|
147
|
-
- See `skills/technical-implementation/references/environment-setup.md` for format guidance
|
|
219
|
+
- If the user provides instructions, save them to `docs/workflow/environment-setup.md`, commit and push
|
|
220
|
+
- If the user says no/none, create `docs/workflow/environment-setup.md` with "No special setup required." and commit
|
|
148
221
|
|
|
149
|
-
|
|
222
|
+
→ Proceed to **Step 6**.
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## Step 6: Ask About Scope
|
|
150
227
|
|
|
151
228
|
Ask the user about implementation scope:
|
|
152
229
|
|
|
153
230
|
```
|
|
154
231
|
How would you like to proceed?
|
|
155
232
|
|
|
156
|
-
1.
|
|
157
|
-
2.
|
|
158
|
-
3.
|
|
159
|
-
4.
|
|
233
|
+
1. Implement all phases - Work through the entire plan sequentially
|
|
234
|
+
2. Implement specific phase - Focus on one phase (e.g., "Phase 1")
|
|
235
|
+
3. Implement specific task - Focus on a single task
|
|
236
|
+
4. Next available task - Auto-discover the next incomplete task
|
|
160
237
|
|
|
161
238
|
Which approach?
|
|
162
239
|
```
|
|
163
240
|
|
|
241
|
+
**STOP.** Wait for user response.
|
|
242
|
+
|
|
164
243
|
If they choose a specific phase or task, ask them to specify which one.
|
|
165
244
|
|
|
166
|
-
> **Note:** Do NOT verify that the phase or task exists.
|
|
245
|
+
> **Note:** Do NOT verify that the phase or task exists at this stage. Record the user's answer in the handoff context. Validation happens when the skill is invoked.
|
|
167
246
|
|
|
168
|
-
|
|
247
|
+
→ Proceed to **Step 7**.
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## Step 7: Invoke the Skill
|
|
169
252
|
|
|
170
253
|
After completing the steps above, this command's purpose is fulfilled.
|
|
171
254
|
|
|
@@ -176,14 +259,11 @@ Invoke the [technical-implementation](../../skills/technical-implementation/SKIL
|
|
|
176
259
|
Implementation session for: {topic}
|
|
177
260
|
Plan: docs/workflow/planning/{topic}.md
|
|
178
261
|
Format: {format}
|
|
179
|
-
|
|
262
|
+
Specification: {specification} (exists: {true|false})
|
|
263
|
+
Scope: {all phases | Phase N | Task N.M | next-available}
|
|
180
264
|
|
|
181
|
-
Dependencies: All satisfied ✓
|
|
182
|
-
Environment
|
|
265
|
+
Dependencies: {All satisfied ✓ | List any notes}
|
|
266
|
+
Environment: {Setup required | No special setup required}
|
|
183
267
|
|
|
184
268
|
Invoke the technical-implementation skill.
|
|
185
269
|
```
|
|
186
|
-
|
|
187
|
-
## Notes
|
|
188
|
-
|
|
189
|
-
- Ask questions clearly and wait for responses before proceeding
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Start a planning session from an existing specification. Discovers available specifications, asks where to store the plan, and invokes the technical-planning skill.
|
|
3
|
+
allowed-tools: Bash(.claude/scripts/discovery-for-planning.sh)
|
|
3
4
|
---
|
|
4
5
|
|
|
5
6
|
Invoke the **technical-planning** skill for this conversation.
|
|
@@ -25,11 +26,15 @@ This is **Phase 4** of the six-phase workflow:
|
|
|
25
26
|
|
|
26
27
|
Follow these steps EXACTLY as written. Do not skip steps or combine them. Present output using the EXACT format shown in examples - do not simplify or alter the formatting.
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
**CRITICAL**: This guidance is mandatory.
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
- After each user interaction, STOP and wait for their response before proceeding
|
|
32
|
+
- Never assume or anticipate user choices
|
|
33
|
+
- Even if the user's initial prompt seems to answer a question, still confirm with them at the appropriate step
|
|
34
|
+
- Complete each step fully before moving to the next
|
|
35
|
+
- Do not act on gathered information until the skill is loaded - it contains the instructions for how to proceed
|
|
31
36
|
|
|
32
|
-
|
|
37
|
+
---
|
|
33
38
|
|
|
34
39
|
## Step 0: Run Migrations
|
|
35
40
|
|
|
@@ -39,64 +44,121 @@ Invoke the `/migrate` command and assess its output before proceeding to Step 1.
|
|
|
39
44
|
|
|
40
45
|
---
|
|
41
46
|
|
|
42
|
-
## Step 1:
|
|
47
|
+
## Step 1: Run Discovery Script
|
|
48
|
+
|
|
49
|
+
Run the discovery script to gather current state:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
.claude/scripts/discovery-for-planning.sh
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
This outputs structured YAML. Parse it to understand:
|
|
56
|
+
|
|
57
|
+
**From `specifications` section:**
|
|
58
|
+
- `exists` - whether any specifications exist
|
|
59
|
+
- `feature` - list of feature specs (name, status, has_plan)
|
|
60
|
+
- `crosscutting` - list of cross-cutting specs (name, status)
|
|
61
|
+
- `counts.feature` - total feature specifications
|
|
62
|
+
- `counts.feature_ready` - feature specs ready for planning (concluded + no plan)
|
|
63
|
+
- `counts.crosscutting` - total cross-cutting specifications
|
|
64
|
+
|
|
65
|
+
**From `plans` section:**
|
|
66
|
+
- `exists` - whether any plans exist
|
|
67
|
+
- `files` - each plan's name, format, and status
|
|
68
|
+
|
|
69
|
+
**From `state` section:**
|
|
70
|
+
- `scenario` - one of: `"no_specs"`, `"no_ready_specs"`, `"single_ready_spec"`, `"multiple_ready_specs"`
|
|
71
|
+
|
|
72
|
+
**IMPORTANT**: Use ONLY this script for discovery. Do NOT run additional bash commands (ls, head, cat, etc.) to gather state - the script provides everything needed.
|
|
73
|
+
|
|
74
|
+
→ Proceed to **Step 2**.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Step 2: Route Based on Scenario
|
|
79
|
+
|
|
80
|
+
Use `state.scenario` from the discovery output to determine the path:
|
|
81
|
+
|
|
82
|
+
#### If scenario is "no_specs"
|
|
83
|
+
|
|
84
|
+
No specifications exist yet.
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
No specifications found in docs/workflow/specification/
|
|
88
|
+
|
|
89
|
+
The planning phase requires a concluded specification. Please run /start-specification first.
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**STOP.** Wait for user to acknowledge before ending.
|
|
43
93
|
|
|
44
|
-
|
|
94
|
+
#### If scenario is "no_ready_specs"
|
|
45
95
|
|
|
46
|
-
|
|
47
|
-
- Run `ls docs/workflow/specification/` to list specification files
|
|
48
|
-
- Each file is named `{topic}.md`
|
|
96
|
+
Specifications exist but none are ready for planning (either still in-progress, or already have plans).
|
|
49
97
|
|
|
50
|
-
|
|
51
|
-
- Run `head -20 docs/workflow/specification/{topic}.md` to read the frontmatter
|
|
52
|
-
- Extract the `status:` field (Building specification | Complete)
|
|
53
|
-
- Extract the `type:` field (feature | cross-cutting) - if not present, default to `feature`
|
|
54
|
-
- Do NOT use bash loops - run separate `head` commands for each topic
|
|
98
|
+
→ Proceed to **Step 3** to show the state.
|
|
55
99
|
|
|
56
|
-
|
|
57
|
-
- **Feature specifications** (`type: feature` or unspecified): Candidates for planning
|
|
58
|
-
- **Cross-cutting specifications** (`type: cross-cutting`): Reference context only - do NOT offer for planning
|
|
100
|
+
#### If scenario is "single_ready_spec" or "multiple_ready_specs"
|
|
59
101
|
|
|
60
|
-
|
|
61
|
-
- Identify feature specifications that don't have corresponding plans
|
|
102
|
+
Specifications are ready for planning.
|
|
62
103
|
|
|
63
|
-
|
|
104
|
+
→ Proceed to **Step 3** to present options.
|
|
64
105
|
|
|
65
|
-
|
|
106
|
+
## Step 3: Present Workflow State and Options
|
|
107
|
+
|
|
108
|
+
Present everything discovered to help the user make an informed choice.
|
|
109
|
+
|
|
110
|
+
**Present the full state:**
|
|
66
111
|
|
|
67
112
|
```
|
|
68
|
-
|
|
113
|
+
Workflow Status: Planning Phase
|
|
114
|
+
|
|
115
|
+
Feature specifications:
|
|
116
|
+
1. · {topic-1} (in-progress) - not ready
|
|
117
|
+
2. ✓ {topic-2} (concluded) - ready for planning
|
|
118
|
+
3. - {topic-3} (concluded) → plan exists
|
|
69
119
|
|
|
70
|
-
|
|
120
|
+
Cross-cutting specifications (reference context):
|
|
121
|
+
- {caching-strategy} (concluded)
|
|
122
|
+
- {rate-limiting} (concluded)
|
|
123
|
+
|
|
124
|
+
Existing plans:
|
|
125
|
+
- {topic-3}.md (in-progress, local-markdown)
|
|
71
126
|
```
|
|
72
127
|
|
|
73
|
-
|
|
128
|
+
**Legend:**
|
|
129
|
+
- `·` = not ready for planning (still in-progress)
|
|
130
|
+
- `✓` = ready for planning (concluded, no plan yet)
|
|
131
|
+
- `-` = already has a plan
|
|
74
132
|
|
|
75
|
-
|
|
133
|
+
**Then present options based on what's ready:**
|
|
76
134
|
|
|
77
|
-
|
|
135
|
+
**If multiple specs ready for planning:**
|
|
136
|
+
```
|
|
137
|
+
Which specification would you like to plan? (Enter a number or name)
|
|
138
|
+
```
|
|
78
139
|
|
|
140
|
+
**STOP.** Wait for user response.
|
|
141
|
+
|
|
142
|
+
**If single spec ready for planning (auto-select):**
|
|
143
|
+
```
|
|
144
|
+
Auto-selecting: {topic} (only ready specification)
|
|
79
145
|
```
|
|
80
|
-
|
|
81
|
-
⚠️ {topic-1} - Building specification - not ready for planning
|
|
82
|
-
✅ {topic-2} - Complete - ready for planning
|
|
83
|
-
✅ {topic-3} - Complete - plan exists
|
|
146
|
+
→ Proceed directly to **Step 4**.
|
|
84
147
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
148
|
+
**If no specs ready for planning:**
|
|
149
|
+
```
|
|
150
|
+
No specifications ready for planning.
|
|
88
151
|
|
|
89
|
-
|
|
152
|
+
To proceed:
|
|
153
|
+
- Complete any "in-progress" specifications with /start-specification
|
|
154
|
+
- Or create a new specification first
|
|
90
155
|
```
|
|
91
156
|
|
|
92
|
-
**
|
|
93
|
-
- Only completed **feature** specifications should proceed to planning
|
|
94
|
-
- **Cross-cutting** specifications are NOT planning targets - they inform feature plans
|
|
95
|
-
- If a specification is still being built, advise the user to complete the specification phase first
|
|
157
|
+
**STOP.** Wait for user response before ending.
|
|
96
158
|
|
|
97
|
-
|
|
159
|
+
→ Based on user choice, proceed to **Step 4**.
|
|
98
160
|
|
|
99
|
-
|
|
161
|
+
---
|
|
100
162
|
|
|
101
163
|
## Step 4: Choose Output Destination
|
|
102
164
|
|
|
@@ -104,14 +166,27 @@ Ask: **Where should this plan live?**
|
|
|
104
166
|
|
|
105
167
|
Load **[output-formats.md](../../skills/technical-planning/references/output-formats.md)** and present the available formats to help the user choose. Then load the corresponding output adapter for that format's setup requirements.
|
|
106
168
|
|
|
169
|
+
**STOP.** Wait for user response.
|
|
170
|
+
|
|
171
|
+
→ Proceed to **Step 5**.
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
107
175
|
## Step 5: Gather Additional Context
|
|
108
176
|
|
|
177
|
+
Ask:
|
|
109
178
|
- Any additional context or priorities to consider?
|
|
110
|
-
- Any constraints since the specification was
|
|
179
|
+
- Any constraints since the specification was concluded?
|
|
180
|
+
|
|
181
|
+
**STOP.** Wait for user response.
|
|
182
|
+
|
|
183
|
+
→ Proceed to **Step 6**.
|
|
111
184
|
|
|
112
|
-
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## Step 6: Surface Cross-Cutting Context
|
|
113
188
|
|
|
114
|
-
If any **
|
|
189
|
+
If any **concluded cross-cutting specifications** exist (from `specifications.crosscutting` in discovery), surface them as reference context for planning:
|
|
115
190
|
|
|
116
191
|
1. **List applicable cross-cutting specs**:
|
|
117
192
|
- Read each cross-cutting specification
|
|
@@ -129,7 +204,11 @@ These specifications contain validated architectural decisions that should infor
|
|
|
129
204
|
|
|
130
205
|
**If no cross-cutting specifications exist**: Skip this step.
|
|
131
206
|
|
|
132
|
-
|
|
207
|
+
→ Proceed to **Step 7**.
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## Step 7: Invoke the Skill
|
|
133
212
|
|
|
134
213
|
After completing the steps above, this command's purpose is fulfilled.
|
|
135
214
|
|
|
@@ -23,32 +23,109 @@ This is **Phase 1** of the six-phase workflow:
|
|
|
23
23
|
|
|
24
24
|
## Instructions
|
|
25
25
|
|
|
26
|
+
Follow these steps EXACTLY as written. Do not skip steps or combine them. Present output using the EXACT format shown in examples - do not simplify or alter the formatting.
|
|
27
|
+
|
|
28
|
+
**CRITICAL**: This guidance is mandatory.
|
|
29
|
+
|
|
30
|
+
- After each user interaction, STOP and wait for their response before proceeding
|
|
31
|
+
- Never assume or anticipate user choices
|
|
32
|
+
- Even if the user's initial prompt seems to answer a question, still confirm with them at the appropriate step
|
|
33
|
+
- Complete each step fully before moving to the next
|
|
34
|
+
- Do not act on gathered information until the skill is loaded - it contains the instructions for how to proceed
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
26
38
|
## Step 0: Run Migrations
|
|
27
39
|
|
|
28
40
|
**This step is mandatory. You must complete it before proceeding.**
|
|
29
41
|
|
|
30
|
-
Invoke the `/migrate` command and assess its output before proceeding.
|
|
42
|
+
Invoke the `/migrate` command and assess its output before proceeding to Step 1.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Step 1: Get the Seed Idea
|
|
47
|
+
|
|
48
|
+
Ask:
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
What's on your mind?
|
|
52
|
+
|
|
53
|
+
- What idea or topic do you want to explore?
|
|
54
|
+
- What prompted this - a problem, opportunity, curiosity?
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**STOP.** Wait for user response before proceeding.
|
|
58
|
+
|
|
59
|
+
→ Proceed to **Step 2**.
|
|
31
60
|
|
|
32
61
|
---
|
|
33
62
|
|
|
34
|
-
|
|
63
|
+
## Step 2: Understand Current Knowledge
|
|
64
|
+
|
|
65
|
+
Ask:
|
|
35
66
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- What prompted this - a problem, opportunity, curiosity?
|
|
67
|
+
```
|
|
68
|
+
What do you already know?
|
|
39
69
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
70
|
+
- Any initial thoughts or research you've done?
|
|
71
|
+
- Constraints or context I should be aware of?
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**STOP.** Wait for user response before proceeding.
|
|
75
|
+
|
|
76
|
+
→ Proceed to **Step 3**.
|
|
77
|
+
|
|
78
|
+
---
|
|
43
79
|
|
|
44
|
-
3
|
|
45
|
-
- Technical feasibility? Market landscape? Business model?
|
|
46
|
-
- Or just talk it through and see where it goes?
|
|
80
|
+
## Step 3: Determine Starting Point
|
|
47
81
|
|
|
48
|
-
Ask
|
|
82
|
+
Ask:
|
|
49
83
|
|
|
50
|
-
|
|
84
|
+
```
|
|
85
|
+
Where should we start?
|
|
86
|
+
|
|
87
|
+
- Technical feasibility? Market landscape? Business model?
|
|
88
|
+
- Or just talk it through and see where it goes?
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**STOP.** Wait for user response before proceeding.
|
|
92
|
+
|
|
93
|
+
→ Proceed to **Step 4**.
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Step 4: Gather Final Context
|
|
98
|
+
|
|
99
|
+
Ask:
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
Any constraints or context I should know about upfront?
|
|
103
|
+
|
|
104
|
+
(Or "none" if we're starting fresh)
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**STOP.** Wait for user response before proceeding.
|
|
108
|
+
|
|
109
|
+
→ Proceed to **Step 5**.
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Step 5: Invoke the Skill
|
|
51
114
|
|
|
52
115
|
After completing the steps above, this command's purpose is fulfilled.
|
|
53
116
|
|
|
54
117
|
Invoke the [technical-research](../../skills/technical-research/SKILL.md) skill for your next instructions. Do not act on the gathered information until the skill is loaded - it contains the instructions for how to proceed.
|
|
118
|
+
|
|
119
|
+
**Example handoff:**
|
|
120
|
+
```
|
|
121
|
+
Research session for: {topic}
|
|
122
|
+
Output: docs/workflow/research/exploration.md
|
|
123
|
+
|
|
124
|
+
Context:
|
|
125
|
+
- Prompted by: {problem, opportunity, or curiosity}
|
|
126
|
+
- Already knows: {any initial thoughts or research, or "starting fresh"}
|
|
127
|
+
- Starting point: {technical feasibility, market, business model, or "open exploration"}
|
|
128
|
+
- Constraints: {any constraints mentioned, or "none"}
|
|
129
|
+
|
|
130
|
+
Invoke the technical-research skill.
|
|
131
|
+
```
|