@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 CHANGED
@@ -59,8 +59,8 @@ You have two entry points:
59
59
 
60
60
  | Start here... | When... | Command |
61
61
  |---------------|---------|---------|
62
- | **Research** | You have a fresh idea to explore: feasibility, market, viability, early thoughts | `/start-research` |
63
- | **Discussion** | You already know what you're building and need to iron out the details | `/start-discussion` |
62
+ | **Research** | You have a fresh idea to explore: feasibility, market, viability, early thoughts | `/workflow:start-research` |
63
+ | **Discussion** | You already know what you're building and need to iron out the details | `/workflow:start-discussion` |
64
64
 
65
65
  **Research** is a free-for-all. Explore broadly, follow tangents, challenge assumptions. Not everything researched gets built, and that's fine. Use this for ideas that need validating before you commit.
66
66
 
@@ -76,15 +76,16 @@ Each phase builds on the previous. Specification validates your discussions into
76
76
 
77
77
  ### Commands
78
78
 
79
- Each phase has a command designed as its entry point:
79
+ Each phase has a command designed as its entry point. Commands are prefixed with `workflow:` to indicate they're part of the sequential workflow system:
80
80
 
81
- | Phase | Command |
82
- |----------------|-------------------------|
83
- | Research | `/start-research` |
84
- | Discussion | `/start-discussion` |
85
- | Specification | `/start-specification` |
86
- | Planning | `/start-planning` |
87
- | Implementation | `/start-implementation` |
81
+ | Phase | Command |
82
+ |----------------|----------------------------------|
83
+ | Research | `/workflow:start-research` |
84
+ | Discussion | `/workflow:start-discussion` |
85
+ | Specification | `/workflow:start-specification` |
86
+ | Planning | `/workflow:start-planning` |
87
+ | Implementation | `/workflow:start-implementation` |
88
+ | Review | `/workflow:start-review` |
88
89
 
89
90
  Run the command directly or ask Claude to run it. Each command gathers the context it needs, asking what you're researching, discussing, or planning. Where relevant, it looks at outputs from the previous phase and offers you a choice from the list.
90
91
 
@@ -213,11 +214,15 @@ skills/
213
214
  └── technical-review/ # Phase 6: Validate against artifacts
214
215
 
215
216
  commands/
216
- ├── start-research.md # Begin research exploration
217
- ├── start-discussion.md # Begin technical discussions
218
- ├── start-specification.md # Begin specification building
219
- ├── start-planning.md # Begin implementation planning
220
- └── interview.md # Focused questioning mode
217
+ ├── workflow:start-research.md # Begin research exploration
218
+ ├── workflow:start-discussion.md # Begin technical discussions
219
+ ├── workflow:start-specification.md # Begin specification building
220
+ ├── workflow:start-planning.md # Begin implementation planning
221
+ ├── workflow:start-implementation.md # Begin implementing a plan
222
+ ├── workflow:start-review.md # Begin reviewing completed work
223
+ ├── link-dependencies.md # Link dependencies across topics
224
+ ├── start-feature.md # Create spec directly from inline context
225
+ └── interview.md # Focused questioning mode (general purpose)
221
226
 
222
227
  agents/
223
228
  └── chain-verifier.md # Parallel task verification for review
@@ -329,16 +334,28 @@ Reviews completed work with fresh perspective. Validates implementation against
329
334
 
330
335
  ## Commands
331
336
 
332
- Slash commands to quickly invoke the workflow.
337
+ ### Workflow Commands
333
338
 
334
- | Command | Description |
335
- |---------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
336
- | [**/start-research**](commands/start-research.md) | Begin research exploration. For early-stage ideas, feasibility checks, and broad exploration before formal discussion. |
337
- | [**/start-discussion**](commands/start-discussion.md) | Begin a new technical discussion. Gathers topic, context, background information, and relevant codebase areas before starting documentation. |
338
- | [**/start-specification**](commands/start-specification.md) | Start a specification session from an existing discussion. Validates and refines discussion content into a standalone specification. |
339
- | [**/start-planning**](commands/start-planning.md) | Start a planning session from an existing specification. Creates implementation plans with phases, tasks, and acceptance criteria. Supports multiple output formats (markdown, Linear, Backlog.md, Beads). |
340
- | [**/start-implementation**](commands/start-implementation.md) | Start implementing a plan. Executes tasks via strict TDD, committing after each passing test. |
341
- | [**/interview**](commands/interview.md) | Shift into focused questioning mode during research or discussion. Probes ideas with non-obvious questions, challenges assumptions, and surfaces concerns. |
339
+ Sequential workflow commands are prefixed with `workflow:` and expect files from previous phases.
340
+
341
+ | Command | Description |
342
+ |--------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
343
+ | [**/workflow:start-research**](commands/workflow:start-research.md) | Begin research exploration. For early-stage ideas, feasibility checks, and broad exploration before formal discussion. |
344
+ | [**/workflow:start-discussion**](commands/workflow:start-discussion.md) | Begin a new technical discussion. Gathers topic, context, background information, and relevant codebase areas before starting documentation. |
345
+ | [**/workflow:start-specification**](commands/workflow:start-specification.md) | Start a specification session from an existing discussion. Validates and refines discussion content into a standalone specification. |
346
+ | [**/workflow:start-planning**](commands/workflow:start-planning.md) | Start a planning session from an existing specification. Creates implementation plans with phases, tasks, and acceptance criteria. Supports multiple output formats (markdown, Linear, Backlog.md, Beads). |
347
+ | [**/workflow:start-implementation**](commands/workflow:start-implementation.md) | Start implementing a plan. Executes tasks via strict TDD, committing after each passing test. |
348
+ | [**/workflow:start-review**](commands/workflow:start-review.md) | Start reviewing completed work. Validates implementation against plan tasks and acceptance criteria. |
349
+
350
+ ### Standalone Commands
351
+
352
+ These commands can be used independently, without the full workflow.
353
+
354
+ | Command | Description |
355
+ |---------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
356
+ | [**/start-feature**](commands/start-feature.md) | Create a specification directly from inline context. For adding features to existing projects when you already know what you're building. |
357
+ | [**/interview**](commands/interview.md) | Shift into focused questioning mode. Probes ideas with non-obvious questions, challenges assumptions, and surfaces concerns. |
358
+ | [**/link-dependencies**](commands/link-dependencies.md) | Link external dependencies across topics. Scans plans and wires up unresolved cross-topic dependencies. |
342
359
 
343
360
  ## Agents
344
361
 
@@ -27,9 +27,9 @@ Scan the codebase for existing plans:
27
27
  **If no plans exist:**
28
28
 
29
29
  ```
30
- ⚠️ No plans found in docs/workflow/planning/
30
+ No plans found in docs/workflow/planning/
31
31
 
32
- There are no plans to link. Create plans using /start-planning first.
32
+ There are no plans to link. Create plans first.
33
33
  ```
34
34
 
35
35
  Stop here.
@@ -37,9 +37,9 @@ Stop here.
37
37
  **If only one plan exists:**
38
38
 
39
39
  ```
40
- ⚠️ Only one plan found: {topic}
40
+ Only one plan found: {topic}
41
41
 
42
- Cross-topic dependency linking requires at least two plans. Create more plans using /start-planning first.
42
+ Cross-topic dependency linking requires at least two plans.
43
43
  ```
44
44
 
45
45
  Stop here.
@@ -51,7 +51,7 @@ Compare the `format:` field across all discovered plans.
51
51
  **If plans use different output formats:**
52
52
 
53
53
  ```
54
- ⚠️ Mixed output formats detected:
54
+ Mixed output formats detected:
55
55
 
56
56
  - authentication: beads
57
57
  - billing-system: linear
@@ -76,7 +76,7 @@ For each plan, find the External Dependencies section:
76
76
  3. **Build a summary**:
77
77
 
78
78
  ```
79
- 📋 Dependency Summary
79
+ Dependency Summary
80
80
 
81
81
  Plan: authentication (format: beads)
82
82
  - billing-system: Invoice generation (unresolved)
@@ -130,7 +130,7 @@ For each plan that was a dependency target (i.e., other plans depend on it):
130
130
  Present a summary:
131
131
 
132
132
  ```
133
- Dependency Linking Complete
133
+ Dependency Linking Complete
134
134
 
135
135
  RESOLVED (newly linked):
136
136
  - authentication → billing-system: beads-b7c2.1.1 (Invoice generation)
@@ -145,8 +145,8 @@ SATISFIED EXTERNALLY (no action needed):
145
145
  UNRESOLVED (no matching plan exists):
146
146
  - notifications → email-service: Email delivery
147
147
 
148
- ⚠️ These dependencies have no corresponding plan. Either:
149
- - Create a plan for the topic using /start-planning
148
+ These dependencies have no corresponding plan. Either:
149
+ - Create a plan for the topic
150
150
  - Mark as "satisfied externally" if already implemented
151
151
 
152
152
  UPDATED FILES:
@@ -1,322 +1,15 @@
1
1
  ---
2
- description: Start a technical discussion. Discovers research and existing discussions, offers multiple entry paths, and invokes the technical-discussion skill.
2
+ description: "[DEPRECATED] Use /workflow:start-discussion instead"
3
3
  ---
4
4
 
5
- Invoke the **technical-discussion** skill for this conversation.
5
+ # Deprecated Command
6
6
 
7
- ## Instructions
7
+ ⚠️ **`/start-discussion` is deprecated.** Use `/workflow:start-discussion` instead.
8
8
 
9
- 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.
9
+ The command has been renamed to use the `workflow:` prefix to distinguish workflow commands from standalone commands.
10
10
 
11
- Before beginning, discover existing work and determine the best entry path.
12
-
13
- ## Important
14
-
15
- Use simple, individual commands. Never combine multiple operations into bash loops or one-liners. Execute commands one at a time.
16
-
17
- ## Step 1: Discover Existing Work
18
-
19
- Scan the codebase for research and discussions:
20
-
21
- 1. **Find research**: Look in `docs/workflow/research/`
22
- - Run `ls docs/workflow/research/` to list research files
23
- - Note which files exist (may include `exploration.md` and semantic files like `market-landscape.md`)
24
-
25
- 2. **Find discussions**: Look in `docs/workflow/discussion/`
26
- - Run `ls docs/workflow/discussion/` to list discussion files
27
- - Each file is named `{topic}.md`
28
-
29
- 3. **Check discussion status**: For each discussion file
30
- - Run `head -10 docs/workflow/discussion/{topic}.md` to extract the `Status:` field
31
- - Status values: `Exploring`, `Deciding`, or `Concluded`
32
- - Do NOT use bash loops - run separate commands for each file
33
-
34
- 4. **Check for cached analysis** (if research files exist):
35
- - Check if `docs/workflow/.cache/research-analysis.md` exists
36
- - If it exists, read it to get the stored checksum from the frontmatter
37
-
38
- 5. **Compute current research checksum** (if research files exist):
39
- - Run exactly: `cat docs/workflow/research/*.md 2>/dev/null | md5sum | cut -d' ' -f1`
40
- - IMPORTANT: Use this exact command - glob expansion is alphabetically sorted by default
41
- - Do NOT modify or "simplify" this command - checksum must be deterministic
42
- - Store this value to compare with the cached checksum
43
-
44
- ## Step 2: Present Workflow State and Options
45
-
46
- Present the workflow state and available options based on what was discovered.
47
-
48
- **Format:**
49
- ```
50
- 📂 Workflow state:
51
- 📚 Research: {count} files found / None found
52
- 💬 Discussions: {count} existing / None yet
53
- ```
54
-
55
- Then present the appropriate options:
56
-
57
- **If research AND discussions exist:**
58
- ```
59
- How would you like to proceed?
60
-
61
- 1. **From research** - Analyze research and suggest undiscussed topics
62
- 2. **Continue discussion** - Resume an existing discussion
63
- 3. **Fresh topic** - Start a new discussion
64
- ```
65
-
66
- **If ONLY research exists:**
67
- ```
68
- How would you like to proceed?
69
-
70
- 1. **From research** - Analyze research and suggest topics to discuss
71
- 2. **Fresh topic** - Start a new discussion
72
- ```
73
-
74
- **If ONLY discussions exist:**
75
- ```
76
- How would you like to proceed?
77
-
78
- 1. **Continue discussion** - Resume an existing discussion
79
- 2. **Fresh topic** - Start a new discussion
80
- ```
81
-
82
- **If NOTHING exists:**
83
- ```
84
- Starting fresh - no prior research or discussions found.
85
-
86
- What topic would you like to discuss?
87
- ```
88
- Then skip to Step 5 (Fresh topic path).
89
-
90
- Wait for the user to choose before proceeding.
91
-
92
- ## Step 3A: "From research" Path
93
-
94
- This step uses caching to avoid re-analyzing unchanged research documents.
95
-
96
- ### Step 3A.1: Check Cache Validity
97
-
98
- Compare the current research checksum (computed in Step 1.5) with the cached checksum:
99
-
100
- **If cache exists AND checksums match:**
101
- ```
102
- 📋 Using cached analysis
103
-
104
- Research documents unchanged since last analysis ({date from cache}).
105
- Loading {count} previously identified topics...
106
-
107
- 💡 To force a fresh analysis, enter: refresh
108
- ```
109
-
110
- Then load the topics from the cache file and skip to Step 3A.3 (Cross-reference).
111
-
112
- **If cache missing OR checksums differ:**
113
- ```
114
- 🔍 Analyzing research documents...
115
- ```
116
-
117
- Proceed to Step 3A.2 (Full Analysis).
118
-
119
- ### Step 3A.2: Full Analysis (when cache invalid)
120
-
121
- Read each research file and analyze the content to extract key themes and potential discussion topics. For each theme:
122
- - Note the source file and relevant line numbers
123
- - Summarize what the theme is about in 1-2 sentences
124
- - Identify key questions or decisions that need discussion
125
-
126
- **Be thorough**: This analysis will be cached, so take time to identify ALL potential topics including:
127
- - Major architectural decisions
128
- - Technical trade-offs mentioned
129
- - Open questions or concerns raised
130
- - Implementation approaches discussed
131
- - Integration points with external systems
132
- - Security or performance considerations
133
- - Edge cases or error handling mentioned
134
-
135
- **Save to cache:**
136
- After analysis, create/update `docs/workflow/.cache/research-analysis.md`:
137
-
138
- ```markdown
139
11
  ---
140
- checksum: {computed_checksum}
141
- generated: {ISO date}
142
- research_files:
143
- - {filename1}.md
144
- - {filename2}.md
145
- ---
146
-
147
- # Research Analysis Cache
148
-
149
- ## Topics
150
-
151
- ### {Theme name}
152
- - **Source**: {filename}.md (lines {start}-{end})
153
- - **Summary**: {1-2 sentence summary}
154
- - **Key questions**: {what needs deciding}
155
-
156
- ### {Another theme}
157
- - **Source**: {filename}.md (lines {start}-{end})
158
- - **Summary**: {1-2 sentence summary}
159
- - **Key questions**: {what needs deciding}
160
-
161
- [... more topics ...]
162
- ```
163
-
164
- Ensure the `.cache` directory exists: `mkdir -p docs/workflow/.cache`
165
-
166
- ### Step 3A.3: Cross-reference with Discussions
167
-
168
- **Always performed** (whether using cache or fresh analysis):
169
-
170
- For each identified topic, check if a corresponding discussion already exists in `docs/workflow/discussion/`.
171
-
172
- ### Step 3A.4: Present Findings
173
-
174
- **If using cached analysis:**
175
- ```
176
- 📋 Cached analysis (research unchanged since {date})
177
-
178
- 💡 Topics identified:
179
-
180
- ✨ {Theme name}
181
- Source: {filename}.md (lines {start}-{end})
182
- "{Brief summary}"
183
-
184
- ✅ {Already discussed theme} → discussed in {topic}.md
185
- Source: {filename}.md (lines {start}-{end})
186
- "{Brief summary}"
187
-
188
- Which topic would you like to discuss? (Or enter 'refresh' for fresh analysis)
189
- ```
190
-
191
- **If fresh analysis:**
192
- ```
193
- 🔍 Analysis complete (cached for future sessions)
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 describe something else)
206
- ```
207
-
208
- **Key:**
209
- - ✨ = Undiscussed topic (potential new discussion)
210
- - ✅ = Already has a corresponding discussion
211
-
212
- ### Step 3A.5: Handle "refresh" Request
213
-
214
- If user enters `refresh`:
215
- - Delete the cache file: `rm docs/workflow/.cache/research-analysis.md`
216
- - Return to Step 3A.2 (Full Analysis)
217
- - Inform user: "Refreshing analysis..."
218
-
219
- **Important:** Keep track of the source file and line numbers for the chosen topic - this will be passed to the skill.
220
-
221
- Wait for the user to choose before proceeding to Step 4.
222
-
223
- ## Step 3B: "Continue discussion" Path
224
-
225
- List existing discussions with their status:
226
-
227
- ```
228
- 💬 Existing discussions:
229
-
230
- ⚡ {topic}.md — {Status}
231
- "{Brief description from context section}"
232
-
233
- ⚡ {topic}.md — {Status}
234
- "{Brief description}"
235
-
236
- ✅ {topic}.md — Concluded
237
- "{Brief description}"
238
-
239
- Which discussion would you like to continue?
240
- ```
241
-
242
- **Key:**
243
- - ⚡ = In progress (Exploring or Deciding)
244
- - ✅ = Concluded (can still be continued/reopened)
245
-
246
- Wait for the user to choose, then proceed to Step 4.
247
-
248
- ## Step 3C: "Fresh topic" Path
249
-
250
- Proceed directly to Step 4.
251
-
252
- ## Step 4: Gather Context
253
-
254
- Gather context based on the chosen path.
255
-
256
- **If starting new discussion (from research or fresh):**
257
-
258
- ```
259
- ## New discussion: {topic}
260
-
261
- Before we begin:
262
-
263
- 1. What's the core problem or decision we need to work through?
264
-
265
- 2. Any constraints or context I should know about?
266
-
267
- 3. Are there specific files in the codebase I should review first?
268
- ```
269
-
270
- Wait for responses before proceeding.
271
-
272
- **If continuing existing discussion:**
273
-
274
- Read the existing discussion document first, then ask:
275
-
276
- ```
277
- ## Continuing: {topic}
278
-
279
- I've read the existing discussion.
280
-
281
- What would you like to focus on in this session?
282
- ```
283
-
284
- Wait for response before proceeding.
285
-
286
- ## Step 5: Invoke Discussion Skill
287
-
288
- Begin the discussion session with appropriate context based on the path taken.
289
-
290
- **If from research:**
291
- ```
292
- Discussion session for: {topic}
293
- Output: docs/workflow/discussion/{topic}.md
294
-
295
- ## Research Reference
296
- Source: docs/workflow/research/{filename}.md (lines {start}-{end})
297
- Summary: {the 1-2 sentence summary from Step 3A}
298
-
299
- Begin discussion using the technical-discussion skill.
300
- ```
301
-
302
- **If continuing or fresh:**
303
- ```
304
- Discussion session for: {topic}
305
- Source: {existing discussion | fresh}
306
- Output: docs/workflow/discussion/{topic}.md
307
-
308
- Begin discussion using the technical-discussion skill.
309
- ```
310
-
311
- **Setup:**
312
- - Ensure discussion directory exists: `docs/workflow/discussion/`
313
- - If new: Create file using the template structure
314
- - If continuing: Work with existing file
315
- - Commit frequently at natural discussion breaks
316
12
 
317
- ## Notes
13
+ **Forwarding to `/workflow:start-discussion`...**
318
14
 
319
- - Ask questions clearly and wait for responses before proceeding
320
- - Discussion captures WHAT and WHY - don't jump to specifications or implementation
321
- - The goal is to work through edge cases, debates, and decisions before planning
322
- - Commit the discussion document frequently during the session
15
+ Run the `/workflow:start-discussion` command now.
@@ -0,0 +1,80 @@
1
+ ---
2
+ description: Start a feature specification directly, skipping formal discussion documentation. For adding features to existing projects where you already know what you're building.
3
+ ---
4
+
5
+ Invoke the **technical-specification** skill for this conversation with inline feature context.
6
+
7
+ ## Instructions
8
+
9
+ Follow these steps EXACTLY as written. Do not skip steps or combine them.
10
+
11
+ This command is for **feature mode** - a streamlined path to specification when you already know what you're building and don't need formal discussion documentation.
12
+
13
+ ## Step 1: Gather Feature Context
14
+
15
+ Ask the user these questions (can be combined into one prompt):
16
+
17
+ 1. **What feature are you adding?**
18
+ - Brief description of what you're building
19
+
20
+ 2. **What's the scope?**
21
+ - Core functionality to implement
22
+ - Edge cases you're already aware of
23
+
24
+ 3. **Any constraints or integration points?**
25
+ - How this integrates with existing code
26
+ - Technical decisions already made
27
+ - Conventions to follow
28
+
29
+ **Note**: If the user has already provided this context in their initial message, don't ask again - acknowledge what they've shared and proceed.
30
+
31
+ ## Step 2: Suggest a Topic Name
32
+
33
+ Based on the feature description, suggest a topic name for the specification file:
34
+
35
+ ```
36
+ Based on what you've described, I'd suggest the topic name: {suggested-topic}
37
+
38
+ This will create: docs/workflow/specification/{suggested-topic}.md
39
+
40
+ Is this name okay, or would you prefer something else?
41
+ ```
42
+
43
+ ## Step 3: Check for Existing Specifications
44
+
45
+ Look in `docs/workflow/specification/` for naming conflicts:
46
+
47
+ ```bash
48
+ ls docs/workflow/specification/
49
+ ```
50
+
51
+ If a specification with the same name exists, inform the user and ask how to proceed:
52
+ - Append to existing specification
53
+ - Choose a different name
54
+ - Replace existing specification
55
+
56
+ ## Step 4: Invoke Specification Skill
57
+
58
+ Pass the gathered context to the technical-specification skill:
59
+
60
+ ```
61
+ Feature specification for: {topic}
62
+
63
+ ## Feature Context (from user)
64
+
65
+ {paste the gathered feature description, scope, and constraints}
66
+
67
+ ---
68
+
69
+ Begin specification building using the technical-specification skill.
70
+
71
+ This is feature mode - there is no discussion document to reference.
72
+ Work from the inline context provided above.
73
+ ```
74
+
75
+ ## Notes
76
+
77
+ - The specification skill will synthesize the inline context, present it for validation, and build the specification
78
+ - Output is a standard specification file at `docs/workflow/specification/{topic}.md`
79
+ - From there, the user can proceed to `/workflow:start-planning` as normal
80
+ - This path skips formal discussion documentation - use the full workflow for complex features that need debate captured