@leeovery/claude-technical-workflows 2.0.16 → 2.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -24
- package/commands/link-dependencies.md +9 -9
- package/commands/start-discussion.md +6 -313
- package/commands/start-feature.md +80 -0
- package/commands/start-implementation.md +7 -162
- package/commands/start-planning.md +7 -86
- package/commands/start-research.md +7 -13
- package/commands/start-specification.md +7 -81
- package/commands/workflow:start-discussion.md +339 -0
- package/commands/workflow:start-implementation.md +187 -0
- package/commands/workflow:start-planning.md +111 -0
- package/commands/workflow:start-research.md +38 -0
- package/commands/workflow:start-review.md +112 -0
- package/commands/workflow:start-specification.md +106 -0
- package/package.json +1 -1
- package/skills/technical-discussion/SKILL.md +13 -8
- package/skills/technical-implementation/SKILL.md +23 -11
- package/skills/technical-planning/SKILL.md +17 -13
- package/skills/technical-planning/references/formal-planning.md +97 -5
- package/skills/technical-research/SKILL.md +13 -9
- package/skills/technical-review/SKILL.md +26 -9
- package/skills/technical-review/references/review-checklist.md +4 -2
- package/skills/technical-specification/SKILL.md +16 -9
- package/skills/technical-specification/references/specification-guide.md +8 -9
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Start a technical discussion. Discovers research and existing discussions, offers multiple entry paths, and invokes the technical-discussion skill.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Invoke the **technical-discussion** skill for this conversation.
|
|
6
|
+
|
|
7
|
+
## Workflow Context
|
|
8
|
+
|
|
9
|
+
This is **Phase 2** of the six-phase workflow:
|
|
10
|
+
|
|
11
|
+
| Phase | Focus | You |
|
|
12
|
+
|-------|-------|-----|
|
|
13
|
+
| 1. Research | EXPLORE - ideas, feasibility, market, business | |
|
|
14
|
+
| **2. Discussion** | WHAT and WHY - decisions, architecture, edge cases | ◀ HERE |
|
|
15
|
+
| 3. Specification | REFINE - validate into standalone spec | |
|
|
16
|
+
| 4. Planning | HOW - phases, tasks, acceptance criteria | |
|
|
17
|
+
| 5. Implementation | DOING - tests first, then code | |
|
|
18
|
+
| 6. Review | VALIDATING - check work against artifacts | |
|
|
19
|
+
|
|
20
|
+
**Stay in your lane**: Capture the WHAT and WHY - decisions, rationale, competing approaches, edge cases. Don't jump to specifications, plans, or code. This is the time for debate and documentation.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Instructions
|
|
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
|
+
Before beginning, discover existing work and determine the best entry path.
|
|
29
|
+
|
|
30
|
+
## Important
|
|
31
|
+
|
|
32
|
+
Use simple, individual commands. Never combine multiple operations into bash loops or one-liners. Execute commands one at a time.
|
|
33
|
+
|
|
34
|
+
## Step 1: Discover Existing Work
|
|
35
|
+
|
|
36
|
+
Scan the codebase for research and discussions:
|
|
37
|
+
|
|
38
|
+
1. **Find research**: Look in `docs/workflow/research/`
|
|
39
|
+
- Run `ls docs/workflow/research/` to list research files
|
|
40
|
+
- Note which files exist (may include `exploration.md` and semantic files like `market-landscape.md`)
|
|
41
|
+
|
|
42
|
+
2. **Find discussions**: Look in `docs/workflow/discussion/`
|
|
43
|
+
- Run `ls docs/workflow/discussion/` to list discussion files
|
|
44
|
+
- Each file is named `{topic}.md`
|
|
45
|
+
|
|
46
|
+
3. **Check discussion status**: For each discussion file
|
|
47
|
+
- Run `head -10 docs/workflow/discussion/{topic}.md` to extract the `Status:` field
|
|
48
|
+
- Status values: `Exploring`, `Deciding`, or `Concluded`
|
|
49
|
+
- Do NOT use bash loops - run separate commands for each file
|
|
50
|
+
|
|
51
|
+
4. **Check for cached analysis** (if research files exist):
|
|
52
|
+
- Check if `docs/workflow/.cache/research-analysis.md` exists
|
|
53
|
+
- If it exists, read it to get the stored checksum from the frontmatter
|
|
54
|
+
|
|
55
|
+
5. **Compute current research checksum** (if research files exist):
|
|
56
|
+
- Run exactly: `cat docs/workflow/research/*.md 2>/dev/null | md5sum | cut -d' ' -f1`
|
|
57
|
+
- IMPORTANT: Use this exact command - glob expansion is alphabetically sorted by default
|
|
58
|
+
- Do NOT modify or "simplify" this command - checksum must be deterministic
|
|
59
|
+
- Store this value to compare with the cached checksum
|
|
60
|
+
|
|
61
|
+
## Step 2: Present Workflow State and Options
|
|
62
|
+
|
|
63
|
+
Present the workflow state and available options based on what was discovered.
|
|
64
|
+
|
|
65
|
+
**Format:**
|
|
66
|
+
```
|
|
67
|
+
📂 Workflow state:
|
|
68
|
+
📚 Research: {count} files found / None found
|
|
69
|
+
💬 Discussions: {count} existing / None yet
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Then present the appropriate options:
|
|
73
|
+
|
|
74
|
+
**If research AND discussions exist:**
|
|
75
|
+
```
|
|
76
|
+
How would you like to proceed?
|
|
77
|
+
|
|
78
|
+
1. **From research** - Analyze research and suggest undiscussed topics
|
|
79
|
+
2. **Continue discussion** - Resume an existing discussion
|
|
80
|
+
3. **Fresh topic** - Start a new discussion
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**If ONLY research exists:**
|
|
84
|
+
```
|
|
85
|
+
How would you like to proceed?
|
|
86
|
+
|
|
87
|
+
1. **From research** - Analyze research and suggest topics to discuss
|
|
88
|
+
2. **Fresh topic** - Start a new discussion
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**If ONLY discussions exist:**
|
|
92
|
+
```
|
|
93
|
+
How would you like to proceed?
|
|
94
|
+
|
|
95
|
+
1. **Continue discussion** - Resume an existing discussion
|
|
96
|
+
2. **Fresh topic** - Start a new discussion
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**If NOTHING exists:**
|
|
100
|
+
```
|
|
101
|
+
Starting fresh - no prior research or discussions found.
|
|
102
|
+
|
|
103
|
+
What topic would you like to discuss?
|
|
104
|
+
```
|
|
105
|
+
Then skip to Step 5 (Fresh topic path).
|
|
106
|
+
|
|
107
|
+
Wait for the user to choose before proceeding.
|
|
108
|
+
|
|
109
|
+
## Step 3A: "From research" Path
|
|
110
|
+
|
|
111
|
+
This step uses caching to avoid re-analyzing unchanged research documents.
|
|
112
|
+
|
|
113
|
+
### Step 3A.1: Check Cache Validity
|
|
114
|
+
|
|
115
|
+
Compare the current research checksum (computed in Step 1.5) with the cached checksum:
|
|
116
|
+
|
|
117
|
+
**If cache exists AND checksums match:**
|
|
118
|
+
```
|
|
119
|
+
📋 Using cached analysis
|
|
120
|
+
|
|
121
|
+
Research documents unchanged since last analysis ({date from cache}).
|
|
122
|
+
Loading {count} previously identified topics...
|
|
123
|
+
|
|
124
|
+
💡 To force a fresh analysis, enter: refresh
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Then load the topics from the cache file and skip to Step 3A.3 (Cross-reference).
|
|
128
|
+
|
|
129
|
+
**If cache missing OR checksums differ:**
|
|
130
|
+
```
|
|
131
|
+
🔍 Analyzing research documents...
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Proceed to Step 3A.2 (Full Analysis).
|
|
135
|
+
|
|
136
|
+
### Step 3A.2: Full Analysis (when cache invalid)
|
|
137
|
+
|
|
138
|
+
Read each research file and analyze the content to extract key themes and potential discussion topics. For each theme:
|
|
139
|
+
- Note the source file and relevant line numbers
|
|
140
|
+
- Summarize what the theme is about in 1-2 sentences
|
|
141
|
+
- Identify key questions or decisions that need discussion
|
|
142
|
+
|
|
143
|
+
**Be thorough**: This analysis will be cached, so take time to identify ALL potential topics including:
|
|
144
|
+
- Major architectural decisions
|
|
145
|
+
- Technical trade-offs mentioned
|
|
146
|
+
- Open questions or concerns raised
|
|
147
|
+
- Implementation approaches discussed
|
|
148
|
+
- Integration points with external systems
|
|
149
|
+
- Security or performance considerations
|
|
150
|
+
- Edge cases or error handling mentioned
|
|
151
|
+
|
|
152
|
+
**Save to cache:**
|
|
153
|
+
After analysis, create/update `docs/workflow/.cache/research-analysis.md`:
|
|
154
|
+
|
|
155
|
+
```markdown
|
|
156
|
+
---
|
|
157
|
+
checksum: {computed_checksum}
|
|
158
|
+
generated: {ISO date}
|
|
159
|
+
research_files:
|
|
160
|
+
- {filename1}.md
|
|
161
|
+
- {filename2}.md
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
# Research Analysis Cache
|
|
165
|
+
|
|
166
|
+
## Topics
|
|
167
|
+
|
|
168
|
+
### {Theme name}
|
|
169
|
+
- **Source**: {filename}.md (lines {start}-{end})
|
|
170
|
+
- **Summary**: {1-2 sentence summary}
|
|
171
|
+
- **Key questions**: {what needs deciding}
|
|
172
|
+
|
|
173
|
+
### {Another theme}
|
|
174
|
+
- **Source**: {filename}.md (lines {start}-{end})
|
|
175
|
+
- **Summary**: {1-2 sentence summary}
|
|
176
|
+
- **Key questions**: {what needs deciding}
|
|
177
|
+
|
|
178
|
+
[... more topics ...]
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
Ensure the `.cache` directory exists: `mkdir -p docs/workflow/.cache`
|
|
182
|
+
|
|
183
|
+
### Step 3A.3: Cross-reference with Discussions
|
|
184
|
+
|
|
185
|
+
**Always performed** (whether using cache or fresh analysis):
|
|
186
|
+
|
|
187
|
+
For each identified topic, check if a corresponding discussion already exists in `docs/workflow/discussion/`.
|
|
188
|
+
|
|
189
|
+
### Step 3A.4: Present Findings
|
|
190
|
+
|
|
191
|
+
**If using cached analysis:**
|
|
192
|
+
```
|
|
193
|
+
📋 Cached analysis (research unchanged since {date})
|
|
194
|
+
|
|
195
|
+
💡 Topics identified:
|
|
196
|
+
|
|
197
|
+
✨ {Theme name}
|
|
198
|
+
Source: {filename}.md (lines {start}-{end})
|
|
199
|
+
"{Brief summary}"
|
|
200
|
+
|
|
201
|
+
✅ {Already discussed theme} → discussed in {topic}.md
|
|
202
|
+
Source: {filename}.md (lines {start}-{end})
|
|
203
|
+
"{Brief summary}"
|
|
204
|
+
|
|
205
|
+
Which topic would you like to discuss? (Or enter 'refresh' for fresh analysis)
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
**If fresh analysis:**
|
|
209
|
+
```
|
|
210
|
+
🔍 Analysis complete (cached for future sessions)
|
|
211
|
+
|
|
212
|
+
💡 Topics identified:
|
|
213
|
+
|
|
214
|
+
✨ {Theme name}
|
|
215
|
+
Source: {filename}.md (lines {start}-{end})
|
|
216
|
+
"{Brief summary}"
|
|
217
|
+
|
|
218
|
+
✅ {Already discussed theme} → discussed in {topic}.md
|
|
219
|
+
Source: {filename}.md (lines {start}-{end})
|
|
220
|
+
"{Brief summary}"
|
|
221
|
+
|
|
222
|
+
Which topic would you like to discuss? (Or describe something else)
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
**Key:**
|
|
226
|
+
- ✨ = Undiscussed topic (potential new discussion)
|
|
227
|
+
- ✅ = Already has a corresponding discussion
|
|
228
|
+
|
|
229
|
+
### Step 3A.5: Handle "refresh" Request
|
|
230
|
+
|
|
231
|
+
If user enters `refresh`:
|
|
232
|
+
- Delete the cache file: `rm docs/workflow/.cache/research-analysis.md`
|
|
233
|
+
- Return to Step 3A.2 (Full Analysis)
|
|
234
|
+
- Inform user: "Refreshing analysis..."
|
|
235
|
+
|
|
236
|
+
**Important:** Keep track of the source file and line numbers for the chosen topic - this will be passed to the skill.
|
|
237
|
+
|
|
238
|
+
Wait for the user to choose before proceeding to Step 4.
|
|
239
|
+
|
|
240
|
+
## Step 3B: "Continue discussion" Path
|
|
241
|
+
|
|
242
|
+
List existing discussions with their status:
|
|
243
|
+
|
|
244
|
+
```
|
|
245
|
+
💬 Existing discussions:
|
|
246
|
+
|
|
247
|
+
⚡ {topic}.md — {Status}
|
|
248
|
+
"{Brief description from context section}"
|
|
249
|
+
|
|
250
|
+
⚡ {topic}.md — {Status}
|
|
251
|
+
"{Brief description}"
|
|
252
|
+
|
|
253
|
+
✅ {topic}.md — Concluded
|
|
254
|
+
"{Brief description}"
|
|
255
|
+
|
|
256
|
+
Which discussion would you like to continue?
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
**Key:**
|
|
260
|
+
- ⚡ = In progress (Exploring or Deciding)
|
|
261
|
+
- ✅ = Concluded (can still be continued/reopened)
|
|
262
|
+
|
|
263
|
+
Wait for the user to choose, then proceed to Step 4.
|
|
264
|
+
|
|
265
|
+
## Step 3C: "Fresh topic" Path
|
|
266
|
+
|
|
267
|
+
Proceed directly to Step 4.
|
|
268
|
+
|
|
269
|
+
## Step 4: Gather Context
|
|
270
|
+
|
|
271
|
+
Gather context based on the chosen path.
|
|
272
|
+
|
|
273
|
+
**If starting new discussion (from research or fresh):**
|
|
274
|
+
|
|
275
|
+
```
|
|
276
|
+
## New discussion: {topic}
|
|
277
|
+
|
|
278
|
+
Before we begin:
|
|
279
|
+
|
|
280
|
+
1. What's the core problem or decision we need to work through?
|
|
281
|
+
|
|
282
|
+
2. Any constraints or context I should know about?
|
|
283
|
+
|
|
284
|
+
3. Are there specific files in the codebase I should review first?
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
Wait for responses before proceeding.
|
|
288
|
+
|
|
289
|
+
**If continuing existing discussion:**
|
|
290
|
+
|
|
291
|
+
Read the existing discussion document first, then ask:
|
|
292
|
+
|
|
293
|
+
```
|
|
294
|
+
## Continuing: {topic}
|
|
295
|
+
|
|
296
|
+
I've read the existing discussion.
|
|
297
|
+
|
|
298
|
+
What would you like to focus on in this session?
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
Wait for response before proceeding.
|
|
302
|
+
|
|
303
|
+
## Step 5: Invoke Discussion Skill
|
|
304
|
+
|
|
305
|
+
Begin the discussion session with appropriate context based on the path taken.
|
|
306
|
+
|
|
307
|
+
**If from research:**
|
|
308
|
+
```
|
|
309
|
+
Discussion session for: {topic}
|
|
310
|
+
Output: docs/workflow/discussion/{topic}.md
|
|
311
|
+
|
|
312
|
+
## Research Reference
|
|
313
|
+
Source: docs/workflow/research/{filename}.md (lines {start}-{end})
|
|
314
|
+
Summary: {the 1-2 sentence summary from Step 3A}
|
|
315
|
+
|
|
316
|
+
Begin discussion using the technical-discussion skill.
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
**If continuing or fresh:**
|
|
320
|
+
```
|
|
321
|
+
Discussion session for: {topic}
|
|
322
|
+
Source: {existing discussion | fresh}
|
|
323
|
+
Output: docs/workflow/discussion/{topic}.md
|
|
324
|
+
|
|
325
|
+
Begin discussion using the technical-discussion skill.
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
**Setup:**
|
|
329
|
+
- Ensure discussion directory exists: `docs/workflow/discussion/`
|
|
330
|
+
- If new: Create file using the template structure
|
|
331
|
+
- If continuing: Work with existing file
|
|
332
|
+
- Commit frequently at natural discussion breaks
|
|
333
|
+
|
|
334
|
+
## Notes
|
|
335
|
+
|
|
336
|
+
- Ask questions clearly and wait for responses before proceeding
|
|
337
|
+
- Discussion captures WHAT and WHY - don't jump to specifications or implementation
|
|
338
|
+
- The goal is to work through edge cases, debates, and decisions before planning
|
|
339
|
+
- Commit the discussion document frequently during the session
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Start an implementation session from an existing plan. Discovers available plans, checks environment setup, and invokes the technical-implementation skill.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Workflow Context
|
|
6
|
+
|
|
7
|
+
This is **Phase 5** of the six-phase workflow:
|
|
8
|
+
|
|
9
|
+
| Phase | Focus | You |
|
|
10
|
+
|-------|-------|-----|
|
|
11
|
+
| 1. Research | EXPLORE - ideas, feasibility, market, business | |
|
|
12
|
+
| 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | |
|
|
13
|
+
| 3. Specification | REFINE - validate into standalone spec | |
|
|
14
|
+
| 4. Planning | HOW - phases, tasks, acceptance criteria | |
|
|
15
|
+
| **5. Implementation** | DOING - tests first, then code | ◀ HERE |
|
|
16
|
+
| 6. Review | VALIDATING - check work against artifacts | |
|
|
17
|
+
|
|
18
|
+
**Stay in your lane**: Execute the plan via strict TDD - tests first, then code. Don't re-debate decisions from the specification or expand scope beyond the plan. The plan is your authority.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
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
|
+
## Instructions
|
|
31
|
+
|
|
32
|
+
Follow these steps EXACTLY as written. Do not skip steps or combine them.
|
|
33
|
+
|
|
34
|
+
Before beginning, discover existing work and gather necessary information.
|
|
35
|
+
|
|
36
|
+
## Important
|
|
37
|
+
|
|
38
|
+
Use simple, individual commands. Never combine multiple operations into bash loops or one-liners. Execute commands one at a time.
|
|
39
|
+
|
|
40
|
+
## Step 1: Discover Existing Plans
|
|
41
|
+
|
|
42
|
+
Scan the codebase for plans:
|
|
43
|
+
|
|
44
|
+
1. **Find plans**: Look in `docs/workflow/planning/`
|
|
45
|
+
- Run `ls docs/workflow/planning/` to list plan files
|
|
46
|
+
- Each file is named `{topic}.md`
|
|
47
|
+
|
|
48
|
+
2. **Check plan format**: For each plan file
|
|
49
|
+
- Run `head -10 docs/workflow/planning/{topic}.md` to read the frontmatter
|
|
50
|
+
- Note the `format:` field
|
|
51
|
+
- Do NOT use bash loops - run separate `head` commands for each topic
|
|
52
|
+
|
|
53
|
+
## Step 2: Present Options to User
|
|
54
|
+
|
|
55
|
+
Show what you found.
|
|
56
|
+
|
|
57
|
+
> **Note:** If no plans exist, inform the user that this workflow is designed to be executed in sequence. They need to create plans from specifications prior to implementation using `/workflow:start-planning`.
|
|
58
|
+
|
|
59
|
+
> **Auto-select:** If exactly one plan exists, automatically select it and proceed to Step 3. Inform the user which plan was selected. Do not ask for confirmation.
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
Plans found:
|
|
63
|
+
{topic-1}
|
|
64
|
+
{topic-2}
|
|
65
|
+
|
|
66
|
+
Which plan would you like to implement?
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Step 3: Check External Dependencies
|
|
70
|
+
|
|
71
|
+
**This step is a gate.** Implementation cannot proceed if dependencies are not satisfied.
|
|
72
|
+
|
|
73
|
+
See **[dependencies.md](../skills/technical-planning/references/dependencies.md)** for dependency format and states.
|
|
74
|
+
|
|
75
|
+
After the user selects a plan:
|
|
76
|
+
|
|
77
|
+
1. **Read the External Dependencies section** from the plan index file
|
|
78
|
+
2. **Check each dependency** according to its state:
|
|
79
|
+
- **Unresolved**: Block
|
|
80
|
+
- **Resolved**: Check if task is complete (load output format reference, follow "Querying Dependencies" section)
|
|
81
|
+
- **Satisfied externally**: Proceed
|
|
82
|
+
|
|
83
|
+
### Blocking Behavior
|
|
84
|
+
|
|
85
|
+
If ANY dependency is unresolved or incomplete, **stop and present**:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
⚠️ Implementation blocked. Missing dependencies:
|
|
89
|
+
|
|
90
|
+
UNRESOLVED (not yet planned):
|
|
91
|
+
- billing-system: Invoice generation for order completion
|
|
92
|
+
→ No plan exists for this topic. Create with /workflow:start-planning or mark as satisfied externally.
|
|
93
|
+
|
|
94
|
+
INCOMPLETE (planned but not implemented):
|
|
95
|
+
- beads-7x2k (authentication): User context retrieval
|
|
96
|
+
→ Status: in_progress. This task must be completed first.
|
|
97
|
+
|
|
98
|
+
These dependencies must be completed before this plan can be implemented.
|
|
99
|
+
|
|
100
|
+
OPTIONS:
|
|
101
|
+
1. Implement the blocking dependencies first
|
|
102
|
+
2. Mark a dependency as "satisfied externally" if it was implemented outside this workflow
|
|
103
|
+
3. Run /link-dependencies to wire up any recently completed plans
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Escape Hatch
|
|
107
|
+
|
|
108
|
+
If the user says a dependency has been implemented outside the workflow:
|
|
109
|
+
|
|
110
|
+
1. Ask which dependency to mark as satisfied
|
|
111
|
+
2. Update the plan index file:
|
|
112
|
+
- Change `- {topic}: {description}` to `- ~~{topic}: {description}~~ → satisfied externally`
|
|
113
|
+
3. Commit the change
|
|
114
|
+
4. Re-check dependencies
|
|
115
|
+
|
|
116
|
+
### All Dependencies Satisfied
|
|
117
|
+
|
|
118
|
+
If all dependencies are resolved and complete (or satisfied externally), proceed to Step 4.
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
✅ External dependencies satisfied:
|
|
122
|
+
- billing-system: Invoice generation → beads-b7c2.1.1 (complete)
|
|
123
|
+
- authentication: User context → beads-a3f8.1.2 (complete)
|
|
124
|
+
|
|
125
|
+
Proceeding with environment setup...
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Step 4: Check Environment Setup
|
|
129
|
+
|
|
130
|
+
> **IMPORTANT**: This step is for **information gathering only**. Do NOT execute any setup commands at this stage. The technical-implementation skill will handle execution when invoked.
|
|
131
|
+
|
|
132
|
+
After the user selects a plan:
|
|
133
|
+
|
|
134
|
+
1. Check if `docs/workflow/environment-setup.md` exists
|
|
135
|
+
2. If it exists, note the file location for the skill handoff
|
|
136
|
+
3. If missing, ask: "Are there any environment setup instructions I should follow?"
|
|
137
|
+
- If the user provides instructions, save them to `docs/workflow/environment-setup.md`, commit and push to Git
|
|
138
|
+
- 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.
|
|
139
|
+
- See `skills/technical-implementation/references/environment-setup.md` for format guidance
|
|
140
|
+
|
|
141
|
+
## Step 5: Ask About Scope
|
|
142
|
+
|
|
143
|
+
Ask the user about implementation scope:
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
How would you like to proceed?
|
|
147
|
+
|
|
148
|
+
1. **Implement all phases** - Work through the entire plan sequentially
|
|
149
|
+
2. **Implement specific phase** - Focus on one phase (e.g., "Phase 1")
|
|
150
|
+
3. **Implement specific task** - Focus on a single task
|
|
151
|
+
4. **Next available task** - Auto-discover the next unblocked task
|
|
152
|
+
|
|
153
|
+
Which approach?
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
If they choose a specific phase or task, ask them to specify which one.
|
|
157
|
+
|
|
158
|
+
> **Note:** Do NOT verify that the phase or task exists. Accept the user's answer and pass it to the skill. Validation happens during the implementation phase.
|
|
159
|
+
|
|
160
|
+
## Step 6: Invoke Implementation Skill
|
|
161
|
+
|
|
162
|
+
Invoke the **technical-implementation** skill for this conversation.
|
|
163
|
+
|
|
164
|
+
Pass to the technical-implementation skill:
|
|
165
|
+
- Plan: `docs/workflow/planning/{topic}.md`
|
|
166
|
+
- Format: (from frontmatter)
|
|
167
|
+
- Scope: (all phases | specific phase | specific task | next-available)
|
|
168
|
+
- Dependencies: (all satisfied - verified in Step 3)
|
|
169
|
+
- Environment setup: (completed | not needed)
|
|
170
|
+
|
|
171
|
+
**Example handoff:**
|
|
172
|
+
```
|
|
173
|
+
Implementation session for: {topic}
|
|
174
|
+
Plan: docs/workflow/planning/{topic}.md
|
|
175
|
+
Format: {format}
|
|
176
|
+
Scope: All phases
|
|
177
|
+
|
|
178
|
+
Dependencies: All satisfied ✓
|
|
179
|
+
Environment setup: Completed (or: Not needed)
|
|
180
|
+
|
|
181
|
+
Begin implementation using the technical-implementation skill.
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Notes
|
|
185
|
+
|
|
186
|
+
- Ask questions clearly and wait for responses before proceeding
|
|
187
|
+
- Execute environment setup before starting implementation
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
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
|
+
---
|
|
4
|
+
|
|
5
|
+
Invoke the **technical-planning** skill for this conversation.
|
|
6
|
+
|
|
7
|
+
## Workflow Context
|
|
8
|
+
|
|
9
|
+
This is **Phase 4** of the six-phase workflow:
|
|
10
|
+
|
|
11
|
+
| Phase | Focus | You |
|
|
12
|
+
|-------|-------|-----|
|
|
13
|
+
| 1. Research | EXPLORE - ideas, feasibility, market, business | |
|
|
14
|
+
| 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | |
|
|
15
|
+
| 3. Specification | REFINE - validate into standalone spec | |
|
|
16
|
+
| **4. Planning** | HOW - phases, tasks, acceptance criteria | ◀ HERE |
|
|
17
|
+
| 5. Implementation | DOING - tests first, then code | |
|
|
18
|
+
| 6. Review | VALIDATING - check work against artifacts | |
|
|
19
|
+
|
|
20
|
+
**Stay in your lane**: Create the plan - phases, tasks, and acceptance criteria. Don't jump to implementation or write code. The specification is your sole input; transform it into actionable work items.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Instructions
|
|
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
|
+
Before beginning, discover existing work and gather necessary information.
|
|
29
|
+
|
|
30
|
+
## Important
|
|
31
|
+
|
|
32
|
+
Use simple, individual commands. Never combine multiple operations into bash loops or one-liners. Execute commands one at a time.
|
|
33
|
+
|
|
34
|
+
## Step 1: Discover Existing Work
|
|
35
|
+
|
|
36
|
+
Scan the codebase for specifications and plans:
|
|
37
|
+
|
|
38
|
+
1. **Find specifications**: Look in `docs/workflow/specification/`
|
|
39
|
+
- Run `ls docs/workflow/specification/` to list specification files
|
|
40
|
+
- Each file is named `{topic}.md`
|
|
41
|
+
|
|
42
|
+
2. **Check specification status**: For each specification file
|
|
43
|
+
- Run `head -20 docs/workflow/specification/{topic}.md` to read the frontmatter and extract the `status:` field
|
|
44
|
+
- Do NOT use bash loops - run separate `head` commands for each topic
|
|
45
|
+
|
|
46
|
+
3. **Check for existing plans**: Look in `docs/workflow/planning/`
|
|
47
|
+
- Identify specifications that don't have corresponding plans
|
|
48
|
+
|
|
49
|
+
## Step 2: Check Prerequisites
|
|
50
|
+
|
|
51
|
+
**If no specifications exist:**
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
⚠️ No specifications found in docs/workflow/specification/
|
|
55
|
+
|
|
56
|
+
The planning phase requires a completed specification. Please run /workflow:start-specification first to validate and refine the discussion content into a standalone specification before creating a plan.
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Stop here and wait for the user to acknowledge.
|
|
60
|
+
|
|
61
|
+
## Step 3: Present Options to User
|
|
62
|
+
|
|
63
|
+
Show what you found using a list like below:
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
📂 Specifications found:
|
|
67
|
+
⚠️ {topic-1} - Building specification - not ready for planning
|
|
68
|
+
✅ {topic-2} - Complete - ready for planning
|
|
69
|
+
✅ {topic-3} - Complete - plan exists
|
|
70
|
+
|
|
71
|
+
Which specification would you like to create a plan for?
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Important:** Only completed specifications should proceed to planning. If a specification is still being built, advise the user to complete the specification phase first.
|
|
75
|
+
|
|
76
|
+
**Auto-select:** If exactly one specification exists, automatically select it and proceed to Step 4. Inform the user which specification was selected. Do not ask for confirmation.
|
|
77
|
+
|
|
78
|
+
Ask: **Which specification would you like to plan?**
|
|
79
|
+
|
|
80
|
+
## Step 4: Choose Output Destination
|
|
81
|
+
|
|
82
|
+
Ask: **Where should this plan live?**
|
|
83
|
+
|
|
84
|
+
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.
|
|
85
|
+
|
|
86
|
+
## Step 5: Gather Additional Context
|
|
87
|
+
|
|
88
|
+
- Any additional context or priorities to consider?
|
|
89
|
+
- Any constraints since the specification was completed?
|
|
90
|
+
|
|
91
|
+
## Step 6: Invoke Planning Skill
|
|
92
|
+
|
|
93
|
+
Pass to the technical-planning skill with:
|
|
94
|
+
- Specification path
|
|
95
|
+
- Output format chosen
|
|
96
|
+
- Additional context gathered
|
|
97
|
+
|
|
98
|
+
**Example handoff:**
|
|
99
|
+
```
|
|
100
|
+
Planning session for: {topic}
|
|
101
|
+
Specification: docs/workflow/specification/{topic}.md
|
|
102
|
+
Output format: {format}
|
|
103
|
+
|
|
104
|
+
Begin planning using the technical-planning skill.
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## Notes
|
|
108
|
+
|
|
109
|
+
- Ask questions clearly and wait for responses before proceeding
|
|
110
|
+
- The specification is the sole source of truth for planning - do not reference discussions
|
|
111
|
+
- Commit the plan files when complete
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Start a research exploration using the technical-research skill. For early-stage ideas, feasibility checks, and broad exploration before formal discussion.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Invoke the **technical-research** skill for this conversation.
|
|
6
|
+
|
|
7
|
+
## Workflow Context
|
|
8
|
+
|
|
9
|
+
This is **Phase 1** of the six-phase workflow:
|
|
10
|
+
|
|
11
|
+
| Phase | Focus | You |
|
|
12
|
+
|-------|-------|-----|
|
|
13
|
+
| **1. Research** | EXPLORE - ideas, feasibility, market, business | ◀ HERE |
|
|
14
|
+
| 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | |
|
|
15
|
+
| 3. Specification | REFINE - validate into standalone spec | |
|
|
16
|
+
| 4. Planning | HOW - phases, tasks, acceptance criteria | |
|
|
17
|
+
| 5. Implementation | DOING - tests first, then code | |
|
|
18
|
+
| 6. Review | VALIDATING - check work against artifacts | |
|
|
19
|
+
|
|
20
|
+
**Stay in your lane**: Explore freely. This is the time for broad thinking, feasibility checks, and learning. Don't jump to formal discussions or specifications yet.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
Then ask these questions to kickstart the exploration:
|
|
25
|
+
|
|
26
|
+
1. **What's on your mind?**
|
|
27
|
+
- What idea or topic do you want to explore?
|
|
28
|
+
- What prompted this - a problem, opportunity, curiosity?
|
|
29
|
+
|
|
30
|
+
2. **What do you already know?**
|
|
31
|
+
- Any initial thoughts or research you've done?
|
|
32
|
+
- Constraints or context I should be aware of?
|
|
33
|
+
|
|
34
|
+
3. **Where should we start?**
|
|
35
|
+
- Technical feasibility? Market landscape? Business model?
|
|
36
|
+
- Or just talk it through and see where it goes?
|
|
37
|
+
|
|
38
|
+
Ask these questions clearly and wait for responses before proceeding. The skill handles everything else.
|