@leeovery/claude-technical-workflows 2.0.48 → 2.0.49

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: planning-phase-designer
3
- description: Designs implementation phases from a specification. Invoked by technical-planning skill during phase design (Step 4).
3
+ description: Designs implementation phases from a specification. Invoked by technical-planning skill during plan construction.
4
4
  tools: Read, Glob, Grep
5
5
  model: inherit
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: planning-task-author
3
- description: Writes full detail for a single plan task. Invoked by technical-planning skill during task authoring (Step 6).
3
+ description: Writes full detail for a single plan task. Invoked by technical-planning skill during plan construction.
4
4
  tools: Read, Glob, Grep
5
5
  model: inherit
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: planning-task-designer
3
- description: Breaks a single phase into a task list with edge cases. Invoked by technical-planning skill during task design (Step 5).
3
+ description: Breaks a single phase into a task list with edge cases. Invoked by technical-planning skill during plan construction.
4
4
  tools: Read, Glob, Grep
5
5
  model: inherit
6
6
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leeovery/claude-technical-workflows",
3
- "version": "2.0.48",
3
+ "version": "2.0.49",
4
4
  "description": "Technical workflow skills & commands for Claude Code",
5
5
  "license": "MIT",
6
6
  "author": "Lee Overy <me@leeovery.com>",
@@ -65,7 +65,7 @@ Load **[spec-change-detection.md](references/spec-change-detection.md)** to chec
65
65
  >
66
66
  > {spec change summary from spec-change-detection.md}
67
67
  >
68
- > - **`continue`** — Walk through the plan from the start. You can review, amend, or skip to any point — including straight to the leading edge.
68
+ > - **`continue`** — Walk through the plan from the start. You can review, amend, or navigate at any point — including straight to the leading edge.
69
69
  > - **`restart`** — Erase all planning work for this topic and start fresh. This deletes the Plan Index File and any Authored Tasks. Other topics are unaffected."
70
70
 
71
71
  **STOP.** Wait for user response.
@@ -144,39 +144,35 @@ Load **[planning-principles.md](references/planning-principles.md)** and follow
144
144
 
145
145
  Load **[steps/verify-source-material.md](references/steps/verify-source-material.md)** and follow its instructions as written.
146
146
 
147
- ---
148
-
149
- ## Step 4: Define Phases
150
-
151
- Load **[steps/define-phases.md](references/steps/define-phases.md)** and follow its instructions as written.
147
+ → Proceed to **Step 4**.
152
148
 
153
149
  ---
154
150
 
155
- ## Step 5: Define Tasks
156
-
157
- Load **[steps/define-tasks.md](references/steps/define-tasks.md)** and follow its instructions as written.
151
+ ## Step 4: Plan Construction
158
152
 
159
- ---
160
-
161
- ## Step 6: Author Tasks
153
+ Load **[steps/plan-construction.md](references/steps/plan-construction.md)** and follow its instructions as written.
162
154
 
163
- Load **[steps/author-tasks.md](references/steps/author-tasks.md)** and follow its instructions as written.
155
+ Proceed to **Step 5**.
164
156
 
165
157
  ---
166
158
 
167
- ## Step 7: Resolve External Dependencies
159
+ ## Step 5: Resolve External Dependencies
168
160
 
169
161
  Load **[steps/resolve-dependencies.md](references/steps/resolve-dependencies.md)** and follow its instructions as written.
170
162
 
163
+ → Proceed to **Step 6**.
164
+
171
165
  ---
172
166
 
173
- ## Step 8: Plan Review
167
+ ## Step 6: Plan Review
174
168
 
175
169
  Load **[steps/plan-review.md](references/steps/plan-review.md)** and follow its instructions as written.
176
170
 
171
+ → Proceed to **Step 7**.
172
+
177
173
  ---
178
174
 
179
- ## Step 9: Conclude the Plan
175
+ ## Step 7: Conclude the Plan
180
176
 
181
177
  After the review is complete:
182
178
 
@@ -4,35 +4,15 @@
4
4
 
5
5
  ---
6
6
 
7
- This step uses the `planning-task-author` agent (`.claude/agents/planning-task-author.md`) to write full task detail. You invoke the agent per task, present its output, and handle the approval gate.
7
+ This step uses the `planning-task-author` agent (`.claude/agents/planning-task-author.md`) to write full detail for a single task. You invoke the agent, present its output, and handle the approval gate.
8
8
 
9
9
  ---
10
10
 
11
- ## Check for Existing Authored Tasks
12
-
13
- Read the Plan Index File. Check the task table under the current phase.
14
-
15
- **For each task:**
16
- - If `status: authored` → skip (already written to output format)
17
- - If `status: pending` → needs authoring
18
-
19
- Walk through tasks in order. Already-authored tasks are presented for quick review (user can approve or amend). Pending tasks need full authoring.
20
-
21
- **If all tasks in current phase are authored:** → Return to Step 5 for next phase, or Step 7 if all phases complete.
22
-
23
- ---
24
-
25
- ## Author Tasks
26
-
27
- Orient the user:
28
-
29
- > "Task list for Phase {N} is agreed. I'll work through each task one at a time — delegating to a specialist agent that will read the full specification and write the complete task detail. You'll review each one before it's logged."
30
-
31
- Work through the task list **one task at a time**.
11
+ ## Author the Task
32
12
 
33
13
  ### Invoke the Agent
34
14
 
35
- For each pending task, invoke `planning-task-author` with these file paths:
15
+ Invoke `planning-task-author` with these file paths:
36
16
 
37
17
  1. **read-specification.md**: `.claude/skills/technical-planning/references/read-specification.md`
38
18
  2. **Specification**: path from the Plan Index File's `specification:` field
@@ -52,9 +32,9 @@ After presenting, ask:
52
32
  > **Task {M} of {total}: {Task Name}**
53
33
  >
54
34
  > **To proceed:**
55
- > - **`y`/`yes`** — Approved. I'll log it to the plan verbatim.
35
+ > - **`y`/`yes`** — Approved. I'll log it to the plan.
56
36
  > - **Or tell me what to change.**
57
- > - **`skip to {X}`** Navigate to different task/phase
37
+ > - **Or navigate**a different phase or task, or the leading edge.
58
38
 
59
39
  **STOP.** Wait for the user's response.
60
40
 
@@ -66,31 +46,21 @@ Re-invoke `planning-task-author` with all original inputs PLUS:
66
46
 
67
47
  Present the revised task in full. Ask the same choice again. Repeat until approved.
68
48
 
49
+ #### If the user navigates
50
+
51
+ → Return to **Plan Construction**.
52
+
69
53
  #### If approved (`y`/`yes`)
70
54
 
71
55
  > **CHECKPOINT**: Before logging, verify: (1) You presented this exact content, (2) The user explicitly approved with `y`/`yes` or equivalent — not a question, comment, or "okay" in passing, (3) You are writing exactly what was approved with no modifications.
72
56
 
73
57
  1. Write the task to the output format (format-specific — see output adapter)
74
58
  2. Update the task table in the Plan Index File: set `status: authored`
75
- 3. Update the `planning:` block in frontmatter: note current phase and task
59
+ 3. Advance the `planning:` block in frontmatter to the next pending task (or next phase if this was the last task)
76
60
  4. Commit: `planning({topic}): author task {task-id} ({task name})`
77
61
 
78
62
  Confirm:
79
63
 
80
64
  > "Task {M} of {total}: {Task Name} — authored."
81
65
 
82
- #### Next task or phase complete
83
-
84
- **If tasks remain in this phase:** → Return to the top with the next task. Present it, ask, wait.
85
-
86
- **If all tasks in this phase are authored:**
87
-
88
- Update `planning:` block and commit: `planning({topic}): complete Phase {N} tasks`
89
-
90
- ```
91
- Phase {N}: {Phase Name} — complete ({M} tasks authored).
92
- ```
93
-
94
- → Return to **Step 5** for the next phase.
95
-
96
- **If all phases are complete:** → Proceed to **Step 7**.
66
+ Return to **Plan Construction**.
@@ -4,34 +4,27 @@
4
4
 
5
5
  ---
6
6
 
7
- This step uses the `planning-phase-designer` agent (`.claude/agents/planning-phase-designer.md`) to design phases. You invoke the agent, present its output, and handle the approval gate.
7
+ This step uses the `planning-phase-designer` agent (`.claude/agents/planning-phase-designer.md`) to define or review the phase structure. Whether phases are being designed for the first time or reviewed from a previous session, the process converges on the same approval gate.
8
8
 
9
9
  ---
10
10
 
11
- ## Check for Existing Phases
11
+ ## Determine Phase State
12
12
 
13
13
  Read the Plan Index File. Check if phases already exist in the body.
14
14
 
15
- **If phases exist with `status: approved`:**
16
- - Present them to the user for review (deterministic replay)
17
- - User can approve (`y`), amend, or navigate (`skip to {X}`)
18
- - If amended, re-invoke the agent with the existing phases + user feedback
19
- - Once approved (or skipped), proceed to Step 5
15
+ #### If phases exist
20
16
 
21
- **If phases exist with `status: draft`:**
22
- - Present the draft for review/approval
23
- - Continue the approval flow below
17
+ Orient the user:
24
18
 
25
- **If no phases exist:**
26
- - Continue with fresh phase design below
19
+ > "Phase structure already exists. I'll present it for your review."
27
20
 
28
- ---
21
+ Continue to **Review and Approve** below.
29
22
 
30
- ## Fresh Phase Design
23
+ #### If no phases exist
31
24
 
32
25
  Orient the user:
33
26
 
34
- > "I'm going to delegate phase design to a specialist agent. It will read the full specification and propose a phase structure — how we break this into independently testable stages. Once we agree on the phases, we'll take each one and break it into tasks."
27
+ > "I'll delegate phase design to a specialist agent. It will read the full specification and propose a phase structure — how we break this into independently testable stages."
35
28
 
36
29
  ### Invoke the Agent
37
30
 
@@ -43,8 +36,6 @@ Invoke `planning-phase-designer` with these file paths:
43
36
  4. **phase-design.md**: `.claude/skills/technical-planning/references/phase-design.md`
44
37
  5. **task-design.md**: `.claude/skills/technical-planning/references/task-design.md`
45
38
 
46
- ### Present the Output
47
-
48
39
  The agent returns a complete phase structure. Write it directly to the Plan Index File body.
49
40
 
50
41
  Update the frontmatter `planning:` block:
@@ -56,13 +47,22 @@ planning:
56
47
 
57
48
  Commit: `planning({topic}): draft phase structure`
58
49
 
50
+ Continue to **Review and Approve** below.
51
+
52
+ ---
53
+
54
+ ## Review and Approve
55
+
59
56
  Present the phase structure to the user.
60
57
 
61
58
  **STOP.** Ask:
62
59
 
60
+ > **Phase Structure**
61
+ >
63
62
  > **To proceed:**
64
63
  > - **`y`/`yes`** — Approved. I'll proceed to task breakdown.
65
64
  > - **Or tell me what to change** — reorder, split, merge, add, edit, or remove phases.
65
+ > - **Or navigate** — a different phase or task, or the leading edge.
66
66
 
67
67
  #### If the user provides feedback
68
68
 
@@ -74,8 +74,9 @@ Update the Plan Index File with the revised output, re-present, and ask again. R
74
74
 
75
75
  #### If approved
76
76
 
77
+ **If the phase structure is new or was amended:**
78
+
77
79
  1. Update each phase in the Plan Index File: set `status: approved` and `approved_at: YYYY-MM-DD` (use today's actual date)
78
- 2. Update `planning:` block in frontmatter to note current position
79
- 3. Commit: `planning({topic}): approve phase structure`
80
+ 2. Commit: `planning({topic}): approve phase structure`
80
81
 
81
- Proceed to **Step 5**.
82
+ **If the phase structure was already approved and unchanged:** No updates needed.
@@ -4,32 +4,15 @@
4
4
 
5
5
  ---
6
6
 
7
- This step uses the `planning-task-designer` agent (`.claude/agents/planning-task-designer.md`) to break phases into task lists. You invoke the agent per phase, present its output, and handle the approval gate.
7
+ This step uses the `planning-task-designer` agent (`.claude/agents/planning-task-designer.md`) to design a task list for a single phase. You invoke the agent, present its output, and handle the approval gate.
8
8
 
9
9
  ---
10
10
 
11
- ## Check for Existing Task Tables
12
-
13
- Read the Plan Index File. Check the task table under each phase.
14
-
15
- **For each phase with an existing task table:**
16
- - If all tasks show `status: authored` → skip to next phase
17
- - If task table exists but not all approved → present for review (deterministic replay)
18
- - User can approve (`y`), amend, or navigate (`skip to {X}`)
19
-
20
- Walk through each phase in order, presenting existing task tables for review before moving to phases that need fresh work.
21
-
22
- **If all phases have approved task tables:** → Proceed to Step 6.
23
-
24
- **If no task table for current phase:** Continue with fresh task design below.
25
-
26
- ---
27
-
28
- ## Fresh Task Design
11
+ ## Design the Task List
29
12
 
30
13
  Orient the user:
31
14
 
32
- > "Taking Phase {N}: {Phase Name} and breaking it into tasks. I'll delegate this to a specialist agent that will read the full specification and propose a task list. Once we agree on the list, I'll write each task out in full detail."
15
+ > "Taking Phase {N}: {Phase Name} and breaking it into tasks. I'll delegate this to a specialist agent that will read the full specification and propose a task list."
33
16
 
34
17
  ### Invoke the Agent
35
18
 
@@ -60,8 +43,9 @@ Present the task overview to the user.
60
43
  **STOP.** Ask:
61
44
 
62
45
  > **To proceed:**
63
- > - **`y`/`yes`** — Approved. I'll begin writing full task detail.
46
+ > - **`y`/`yes`** — Approved.
64
47
  > - **Or tell me what to change** — reorder, split, merge, add, edit, or remove tasks.
48
+ > - **Or navigate** — a different phase or task, or the leading edge.
65
49
 
66
50
  #### If the user provides feedback
67
51
 
@@ -73,7 +57,11 @@ Update the Plan Index File with the revised task table, re-present, and ask agai
73
57
 
74
58
  #### If approved
75
59
 
76
- 1. Update the `planning:` block to note task authoring is starting
60
+ **If the task list is new or was amended:**
61
+
62
+ 1. Advance the `planning:` block to the first task in this phase
77
63
  2. Commit: `planning({topic}): approve Phase {N} task list`
78
64
 
79
- Proceed to **Step 6**.
65
+ **If the task list was already approved and unchanged:** No updates needed.
66
+
67
+ → Return to **Plan Construction**.
@@ -0,0 +1,131 @@
1
+ # Plan Construction
2
+
3
+ *Reference for **[technical-planning](../../SKILL.md)***
4
+
5
+ ---
6
+
7
+ This step constructs the complete plan — defining phases, designing task lists, and authoring every task. It operates as a nested structure:
8
+
9
+ ┌─────────────────────────────────────────────────────┐
10
+ │ │
11
+ │ Phase Structure — define or review all phases │
12
+ │ │
13
+ │ ┌─────────────────────────────────────────────┐ │
14
+ │ │ For each phase: │ │
15
+ │ │ │ │
16
+ │ │ Step A → Define tasks for the phase │ │
17
+ │ │ │ │
18
+ │ │ ┌─────────────────────────────────┐ │ │
19
+ │ │ │ For each task in the phase: │ │ │
20
+ │ │ │ │ │ │
21
+ │ │ │ Step B → Author the task │ │ │
22
+ │ │ └─────────────────────────────────┘ │ │
23
+ │ │ │ │
24
+ │ └─────────────────────────────────────────────┘ │
25
+ │ │
26
+ └─────────────────────────────────────────────────────┘
27
+
28
+ ---
29
+
30
+ ## Navigation
31
+
32
+ At any approval gate during plan construction, the user can navigate. They may describe where they want to go in their own words — a specific phase, a specific task, "the beginning", "the leading edge", or any point in the plan.
33
+
34
+ The **leading edge** is where new work begins — the first phase, task list, or task that hasn't been completed yet. It is tracked by the `planning:` block in the Plan Index File frontmatter (`phase` and `task`). To find the leading edge, read those values. If all phases and tasks are complete, the leading edge is the end of plan construction.
35
+
36
+ The `planning:` block always tracks the leading edge. It is only advanced when work is completed — never when the user navigates. Navigation moves the user's position, not the leading edge.
37
+
38
+ Navigation stays within plan construction. It cannot skip past the end of this step.
39
+
40
+ ---
41
+
42
+ ## Phase Structure
43
+
44
+ Load **[define-phases.md](define-phases.md)** and follow its instructions as written.
45
+
46
+ After the phase structure is approved, continue to **Process Phases** below.
47
+
48
+ ---
49
+
50
+ ## Process Phases
51
+
52
+ Work through each phase in order.
53
+
54
+ Orient the user:
55
+
56
+ > "I'll now work through each phase — presenting existing work for review and designing or authoring anything still pending. You'll approve at every stage."
57
+
58
+ ### For each phase, check its state:
59
+
60
+ #### If the phase has no task table
61
+
62
+ This phase needs task design.
63
+
64
+ → Go to **Step A** with this phase.
65
+
66
+ After Step A returns with an approved task table, continue to **Author Tasks for the Phase** below.
67
+
68
+ #### If the phase has a task table
69
+
70
+ Present the task list to the user for review.
71
+
72
+ > **Phase {N}: {Phase Name}** — {M} tasks.
73
+ >
74
+ > **To proceed:**
75
+ > - **`y`/`yes`** — Confirmed.
76
+ > - **Or tell me what to change.**
77
+ > - **Or navigate** — a different phase or task, or the leading edge.
78
+
79
+ **STOP.** Wait for the user's response.
80
+
81
+ **If the user wants changes:** → Go to **Step A** with this phase for revision.
82
+
83
+ **If confirmed:** Continue to **Author Tasks for the Phase** below.
84
+
85
+ ---
86
+
87
+ ## Author Tasks for the Phase
88
+
89
+ Work through each task in the phase's task table, in order.
90
+
91
+ #### If the task status is `authored`
92
+
93
+ Already written. Present a brief summary:
94
+
95
+ > "Task {M} of {total}: {Task Name} — already authored."
96
+
97
+ Continue to the next task.
98
+
99
+ #### If the task status is `pending`
100
+
101
+ → Go to **Step B** with this task.
102
+
103
+ After Step B returns, the task is authored. Continue to the next task.
104
+
105
+ #### When all tasks in the phase are authored
106
+
107
+ Advance the `planning:` block in frontmatter to the next phase. Commit: `planning({topic}): complete Phase {N} tasks`
108
+
109
+ > Phase {N}: {Phase Name} — complete ({M} tasks authored).
110
+
111
+ Continue to the next phase.
112
+
113
+ ---
114
+
115
+ ## Loop Complete
116
+
117
+ When all phases have all tasks authored:
118
+
119
+ > "All phases are complete. The plan has **{N} phases** with **{M} tasks** total."
120
+
121
+ ---
122
+
123
+ ## Step A: Define Tasks
124
+
125
+ Load **[define-tasks.md](define-tasks.md)** and follow its instructions as written. This step designs and approves a task list for **one phase**.
126
+
127
+ ---
128
+
129
+ ## Step B: Author Tasks
130
+
131
+ Load **[author-tasks.md](author-tasks.md)** and follow its instructions as written. This step authors **one task** and returns.
@@ -92,5 +92,3 @@ After both reviews:
92
92
  > Review is complete."
93
93
 
94
94
  > **CHECKPOINT**: Do not confirm completion if tracking files still exist. They indicate incomplete review work.
95
-
96
- → Proceed to **Step 9**.
@@ -52,5 +52,3 @@ Skip the resolution and reverse check — there is nothing to resolve against. D
52
52
  Incorporate feedback, re-present the updated dependency state, and ask again. Repeat until approved.
53
53
 
54
54
  #### If approved
55
-
56
- → Proceed to **Step 8**.
@@ -18,5 +18,3 @@ Verify that all source material exists and is accessible before entering agent-d
18
18
  ls docs/workflow/specification/{topic}.md
19
19
  ls docs/workflow/specification/{cross-cutting-spec}.md
20
20
  ```
21
-
22
- → Proceed to **Step 4**.