@leeovery/claude-technical-workflows 2.0.17 → 2.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leeovery/claude-technical-workflows",
3
- "version": "2.0.17",
3
+ "version": "2.0.19",
4
4
  "description": "Technical workflow skills & commands for Claude Code",
5
5
  "license": "MIT",
6
6
  "author": "Lee Overy <me@leeovery.com>",
@@ -43,6 +43,8 @@ Either way: Transform specifications into actionable phases, tasks, and acceptan
43
43
 
44
44
  **Commit frequently**: Commit at natural breaks, after significant exchanges, and before any context refresh. Context refresh = lost work.
45
45
 
46
- **Never invent reasoning**: If it's not in the specification, ask again.
46
+ **Never invent reasoning**: If it's not in the specification, ask again. The specification is the golden document - all plan content must trace back to it.
47
47
 
48
48
  **Create plans, not code**: Your job is phases, tasks, and acceptance criteria - not implementation.
49
+
50
+ **Collaborate with the user**: Planning is iterative. Stop and ask when the specification is ambiguous, multiple valid approaches exist, or you're uncertain about task scope. The user expects collaboration - don't guess when you can ask.
@@ -10,6 +10,20 @@ You are creating the formal implementation plan from the specification.
10
10
 
11
11
  **Confirm output format with user.** Ask which format they want, then load the appropriate output adapter from the main skill file. If you don't know which format, ask.
12
12
 
13
+ ## Planning is Collaborative
14
+
15
+ Planning is an iterative process between you and the user. The specification contains validated, considered decisions - planning translates that work into actionable structure. But translation still requires judgment, and the user should guide that judgment.
16
+
17
+ **Stop, reflect, and ask** when:
18
+ - The specification is ambiguous about implementation approach
19
+ - Multiple valid ways to structure phases or tasks exist
20
+ - You're uncertain whether a task is appropriately scoped
21
+ - Edge cases aren't fully addressed in the specification
22
+
23
+ **Never invent to fill gaps.** If the specification doesn't address something, use `[needs-info]` and ask the user. The specification is the golden document - everything in the plan must trace back to it.
24
+
25
+ **The user expects collaboration.** Planning doesn't have to be done by the agent alone. It's normal and encouraged to pause for guidance rather than guess.
26
+
13
27
  ## The Planning Process
14
28
 
15
29
  ### 1. Read Specification
@@ -86,13 +100,91 @@ Verify:
86
100
 
87
101
  ## Task Design
88
102
 
89
- **Each task should**:
90
- - Be a single TDD cycle
91
- - Have micro acceptance (specific test name)
92
- - Do one clear thing
93
-
94
103
  **One task = One TDD cycle**: write test → implement → pass → commit
95
104
 
105
+ ### Task Structure
106
+
107
+ Every task should follow this structure:
108
+
109
+ ```markdown
110
+ ### Task N: [Clear action statement]
111
+
112
+ **Problem**: Why this task exists - what issue or gap it addresses.
113
+
114
+ **Solution**: What we're building - the high-level approach.
115
+
116
+ **Outcome**: What success looks like - the verifiable end state.
117
+
118
+ **Do**:
119
+ - Specific implementation steps
120
+ - File locations and method names where helpful
121
+ - Concrete guidance, not vague directions
122
+
123
+ **Acceptance Criteria**:
124
+ - [ ] First verifiable criterion
125
+ - [ ] Second verifiable criterion
126
+ - [ ] Edge case handling criterion
127
+
128
+ **Tests**:
129
+ - `"it does the primary expected behavior"`
130
+ - `"it handles edge case correctly"`
131
+ - `"it fails appropriately for invalid input"`
132
+
133
+ **Context**: (when relevant)
134
+ > Relevant details from specification: code examples, architectural decisions,
135
+ > data models, or constraints that inform implementation.
136
+ ```
137
+
138
+ ### Field Requirements
139
+
140
+ | Field | Required | Notes |
141
+ |-------|----------|-------|
142
+ | Problem | Yes | One sentence minimum - why this task exists |
143
+ | Solution | Yes | One sentence minimum - what we're building |
144
+ | Outcome | Yes | One sentence minimum - what success looks like |
145
+ | Do | Yes | At least one concrete action |
146
+ | Acceptance Criteria | Yes | At least one pass/fail criterion |
147
+ | Tests | Yes | At least one test name; include edge cases, not just happy path |
148
+ | Context | When relevant | Only include when spec has details worth pulling forward |
149
+
150
+ ### The Template as Quality Gate
151
+
152
+ If you struggle to articulate a clear Problem for a task, this signals the task may be:
153
+
154
+ - **Too granular**: Merge with a related task
155
+ - **Mechanical housekeeping**: Include as a step within another task
156
+ - **Poorly understood**: Revisit the specification
157
+
158
+ Every standalone task should have a reason to exist that can be stated simply. The template enforces this - difficulty completing it is diagnostic information, not a problem to work around.
159
+
160
+ ### Vertical Slicing
161
+
162
+ Prefer **vertical slices** that deliver complete, testable functionality over horizontal slices that separate by technical layer.
163
+
164
+ **Horizontal (avoid)**:
165
+ ```
166
+ Task 1: Create all database models
167
+ Task 2: Create all service classes
168
+ Task 3: Wire up integrations
169
+ Task 4: Add error handling
170
+ ```
171
+
172
+ Nothing works until Task 4. No task is independently verifiable.
173
+
174
+ **Vertical (prefer)**:
175
+ ```
176
+ Task 1: Fetch and store events from provider (happy path)
177
+ Task 2: Handle pagination for large result sets
178
+ Task 3: Handle authentication token refresh
179
+ Task 4: Handle rate limiting
180
+ ```
181
+
182
+ Each task delivers a complete slice of functionality that can be tested in isolation.
183
+
184
+ Within a bounded feature, vertical slicing means each task completes a coherent unit of that feature's functionality - not that it must touch UI/API/database layers. The test is: *can this task be verified independently?*
185
+
186
+ TDD naturally encourages vertical slicing - when you think "what test can I write?", you frame work as complete, verifiable behavior rather than technical layers
187
+
96
188
  ## Plan as Source of Truth
97
189
 
98
190
  The plan IS the source of truth. Every phase, every task must contain all information needed to execute it.
@@ -37,15 +37,17 @@ Either way: Transform unvalidated reference material into a specification that's
37
37
 
38
38
  ## What You Do
39
39
 
40
- 1. **Filter**: Reference material may contain hallucinations, inaccuracies, or outdated concepts. Validate before including.
40
+ 1. **Extract exhaustively**: For each topic, re-scan ALL source material. Search for keywords and related terms. Information is often scattered - collect it all before synthesizing. Include only what we're building (not discarded alternatives).
41
41
 
42
- 2. **Enrich**: Reference material may have gaps. Fill them through discussion.
42
+ 2. **Filter**: Reference material may contain hallucinations, inaccuracies, or outdated concepts. Validate before including.
43
43
 
44
- 3. **Present**: Synthesize and present content to the user in the format it would appear in the specification.
44
+ 3. **Enrich**: Reference material may have gaps. Fill them through discussion.
45
45
 
46
- 4. **Log**: Only when approved, write content verbatim to the specification.
46
+ 4. **Present**: Synthesize and present content to the user in the format it would appear in the specification.
47
47
 
48
- The specification must be **standalone** - it contains everything formal planning needs. No references back to discussions or other source material.
48
+ 5. **Log**: Only when approved, write content verbatim to the specification.
49
+
50
+ The specification is the **golden document** - planning uses only this. If information doesn't make it into the specification, it won't be built. No references back to discussions or other source material.
49
51
 
50
52
  ## Critical Rules
51
53
 
@@ -33,8 +33,31 @@ Before starting any topic, identify ALL available reference material:
33
33
 
34
34
  Work through the specification **topic by topic**:
35
35
 
36
- ### 1. Review
37
- Read all reference material for the current topic. Understand what exists.
36
+ ### 1. Review (Exhaustive Extraction)
37
+
38
+ **This step is critical. The specification is the golden document - if information doesn't make it here, it won't be built.**
39
+
40
+ For each topic or subtopic, perform exhaustive extraction:
41
+
42
+ 1. **Re-scan ALL source material** - Don't rely on memory. Go back to the source material and systematically review it for the current topic.
43
+
44
+ 2. **Search for keywords** - Topics are rarely contained in one section. Search for:
45
+ - The topic name and synonyms
46
+ - Related concepts and terms
47
+ - Names of systems, fields, or behaviors mentioned in context
48
+
49
+ 3. **Collect scattered information** - Source material (research, discussions, requirements) is often non-linear. Information about a single topic may be scattered across:
50
+ - Multiple sections of the same document
51
+ - Different documents entirely
52
+ - Tangential discussions that revealed important details
53
+
54
+ 4. **Filter for what we're building** - Include only validated decisions:
55
+ - Exclude discarded alternatives
56
+ - Exclude ideas that were explored but rejected
57
+ - Exclude "maybes" that weren't confirmed
58
+ - Include only what the user has decided to build
59
+
60
+ **Why this matters:** The specification is the single source of truth for planning. Planning will not reference discussions or research - only this document. Missing a detail here means that detail doesn't get implemented.
38
61
 
39
62
  ### 2. Synthesize and Present
40
63
  Present your understanding to the user **in the format it would appear in the specification**:
@@ -98,6 +121,8 @@ Suggested skeleton:
98
121
 
99
122
  ## Critical Rules
100
123
 
124
+ **Exhaustive extraction is non-negotiable**: Before presenting any topic, re-scan source material. Search for keywords. Collect scattered information. The specification is the golden document - planning uses only this. If you miss something, it doesn't get built.
125
+
101
126
  **Present before logging**: Never write content to the specification until the user has seen and approved it.
102
127
 
103
128
  **Log verbatim**: When approved, write exactly what was presented - no silent modifications.