@leeovery/claude-technical-workflows 2.1.42 → 2.2.1
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 +10 -9
- package/hooks/workflows/compact-recovery.sh +3 -23
- package/hooks/workflows/write-session-state.sh +2 -26
- package/package.json +1 -1
- package/skills/link-dependencies/SKILL.md +0 -1
- package/skills/migrate/SKILL.md +0 -1
- package/skills/migrate/scripts/migrations/013-discussion-work-type.sh +76 -0
- package/skills/migrate/scripts/migrations/014-specification-work-type.sh +76 -0
- package/skills/migrate/scripts/migrations/015-plan-work-type.sh +76 -0
- package/skills/start-bugfix/SKILL.md +80 -0
- package/skills/start-bugfix/references/gather-bug-context.md +75 -0
- package/skills/start-bugfix/references/invoke-investigation.md +46 -0
- package/skills/start-bugfix/references/topic-name-check.md +59 -0
- package/skills/start-discussion/SKILL.md +51 -46
- package/skills/start-discussion/references/gather-context.md +54 -10
- package/skills/start-discussion/references/handle-selection.md +14 -4
- package/skills/start-discussion/references/invoke-skill.md +71 -3
- package/skills/start-discussion/references/research-analysis.md +2 -0
- package/skills/start-discussion/references/route-scenario.md +39 -0
- package/skills/start-discussion/references/validate-topic.md +46 -0
- package/skills/start-discussion/scripts/discovery.sh +3 -0
- package/skills/start-feature/SKILL.md +28 -84
- package/skills/start-feature/references/invoke-discussion.md +8 -4
- package/skills/start-feature/references/invoke-research.md +29 -0
- package/skills/start-feature/references/invoke-skill.md +35 -0
- package/skills/start-feature/references/research-gating.md +65 -0
- package/skills/start-feature/references/topic-name-check.md +61 -0
- package/skills/start-implementation/SKILL.md +35 -289
- package/skills/start-implementation/references/check-dependencies.md +65 -0
- package/skills/start-implementation/references/display-plans.md +159 -0
- package/skills/start-implementation/references/environment-check.md +45 -0
- package/skills/start-implementation/references/invoke-skill.md +42 -0
- package/skills/start-implementation/references/route-scenario.md +32 -0
- package/skills/start-implementation/references/validate-plan.md +45 -0
- package/skills/start-implementation/scripts/discovery.sh +3 -0
- package/skills/start-investigation/SKILL.md +145 -0
- package/skills/start-investigation/references/gather-context-fresh.md +72 -0
- package/skills/start-investigation/references/gather-context.md +31 -0
- package/skills/start-investigation/references/invoke-skill.md +54 -0
- package/skills/start-investigation/references/route-scenario.md +69 -0
- package/skills/start-investigation/references/validate-investigation.md +46 -0
- package/skills/start-investigation/scripts/discovery.sh +92 -0
- package/skills/start-planning/SKILL.md +32 -72
- package/skills/start-planning/references/cross-cutting-context.md +5 -5
- package/skills/start-planning/references/invoke-skill.md +27 -4
- package/skills/start-planning/references/route-plan-state.md +30 -0
- package/skills/start-planning/references/route-scenario.md +38 -0
- package/skills/start-planning/references/validate-spec.md +47 -0
- package/skills/start-planning/scripts/discovery.sh +7 -0
- package/skills/start-research/SKILL.md +17 -6
- package/skills/start-research/references/invoke-skill.md +3 -0
- package/skills/start-review/SKILL.md +32 -60
- package/skills/start-review/references/determine-review-version.md +24 -0
- package/skills/start-review/references/display-plans.md +2 -2
- package/skills/start-review/references/route-scenario.md +74 -0
- package/skills/start-review/references/select-plans.md +8 -6
- package/skills/start-review/references/validate-artifacts.md +63 -0
- package/skills/start-review/scripts/discovery.sh +3 -0
- package/skills/start-specification/SKILL.md +44 -20
- package/skills/start-specification/references/check-existing-spec.md +57 -0
- package/skills/start-specification/references/check-prerequisites.md +15 -0
- package/skills/start-specification/references/handoffs/continue-concluded.md +3 -0
- package/skills/start-specification/references/handoffs/continue.md +3 -0
- package/skills/start-specification/references/handoffs/create-with-incorporation.md +3 -0
- package/skills/start-specification/references/handoffs/create.md +3 -0
- package/skills/start-specification/references/handoffs/unify-with-incorporation.md +3 -0
- package/skills/start-specification/references/handoffs/unify.md +3 -0
- package/skills/start-specification/references/invoke-skill-bridge.md +74 -0
- package/skills/start-specification/references/route-scenario.md +23 -0
- package/skills/start-specification/references/validate-source.md +91 -0
- package/skills/start-specification/scripts/discovery.sh +6 -0
- package/skills/status/SKILL.md +6 -3
- package/skills/status/scripts/discovery.sh +9 -0
- package/skills/technical-discussion/SKILL.md +15 -4
- package/skills/technical-discussion/references/template.md +9 -1
- package/skills/technical-implementation/SKILL.md +24 -1
- package/skills/technical-implementation/references/analysis-loop.md +4 -4
- package/skills/technical-implementation/references/task-loop.md +2 -2
- package/skills/technical-investigation/SKILL.md +239 -0
- package/skills/technical-investigation/references/analysis-patterns.md +181 -0
- package/skills/technical-investigation/references/symptom-gathering.md +164 -0
- package/skills/technical-investigation/references/template.md +164 -0
- package/skills/technical-planning/SKILL.md +24 -1
- package/skills/technical-planning/references/author-tasks.md +16 -16
- package/skills/technical-planning/references/define-tasks.md +2 -2
- package/skills/technical-planning/references/plan-construction.md +11 -30
- package/skills/technical-planning/references/plan-review.md +3 -3
- package/skills/technical-research/SKILL.md +38 -2
- package/skills/technical-review/SKILL.md +1 -2
- package/skills/technical-review/references/review-actions-loop.md +43 -1
- package/skills/technical-specification/SKILL.md +1 -2
- package/skills/technical-specification/references/spec-completion.md +34 -6
- package/skills/technical-specification/references/spec-construction.md +1 -1
- package/skills/technical-specification/references/spec-review.md +5 -5
- package/skills/view-plan/SKILL.md +0 -1
- package/skills/workflow-bridge/SKILL.md +82 -0
- package/skills/workflow-bridge/references/bugfix-continuation.md +59 -0
- package/skills/workflow-bridge/references/feature-continuation.md +60 -0
- package/skills/workflow-bridge/references/greenfield-continuation.md +224 -0
- package/skills/workflow-bridge/scripts/discovery.sh +512 -0
- package/skills/workflow-start/SKILL.md +97 -0
- package/skills/workflow-start/references/bugfix-routing.md +117 -0
- package/skills/workflow-start/references/feature-routing.md +117 -0
- package/skills/workflow-start/references/greenfield-routing.md +140 -0
- package/skills/workflow-start/references/work-type-selection.md +83 -0
- package/skills/workflow-start/scripts/discovery.sh +577 -0
- package/skills/begin-implementation/SKILL.md +0 -162
- package/skills/begin-planning/SKILL.md +0 -92
- package/skills/begin-review/SKILL.md +0 -90
- package/skills/continue-feature/SKILL.md +0 -186
- package/skills/continue-feature/references/detect-phase.md +0 -99
- package/skills/continue-feature/references/invoke-implementation.md +0 -43
- package/skills/continue-feature/references/invoke-planning.md +0 -43
- package/skills/continue-feature/references/invoke-review.md +0 -43
- package/skills/continue-feature/references/invoke-specification.md +0 -55
- package/skills/continue-feature/references/phase-bridge.md +0 -57
- package/skills/continue-feature/scripts/discovery.sh +0 -233
- package/skills/start-feature/references/phase-bridge.md +0 -37
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
# Greenfield Continuation
|
|
2
|
+
|
|
3
|
+
*Reference for **[workflow-bridge](../SKILL.md)***
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Present greenfield state, let the user choose what to do next, then enter plan mode with that specific choice.
|
|
8
|
+
|
|
9
|
+
Greenfield is phase-centric — all artifacts in a phase complete before moving to the next. Unlike feature/bugfix pipelines, greenfield doesn't route to a single next phase. Instead, present what's actionable across all phases and let the user choose.
|
|
10
|
+
|
|
11
|
+
## A. Display State
|
|
12
|
+
|
|
13
|
+
Using the discovery output, build the phase-centric view.
|
|
14
|
+
|
|
15
|
+
> *Output the next fenced block as a code block:*
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
Greenfield — {completed_phase:(titlecase)} Complete
|
|
19
|
+
|
|
20
|
+
"{topic:(titlecase)}" {completed_phase} has concluded.
|
|
21
|
+
|
|
22
|
+
Research:
|
|
23
|
+
@if(research.count > 0)
|
|
24
|
+
@foreach(file in research.files)
|
|
25
|
+
└─ {file}
|
|
26
|
+
@endforeach
|
|
27
|
+
@else
|
|
28
|
+
(none)
|
|
29
|
+
@endif
|
|
30
|
+
|
|
31
|
+
Discussions:
|
|
32
|
+
@if(discussions.count > 0)
|
|
33
|
+
@foreach(disc in discussions.files)
|
|
34
|
+
└─ {disc.name:(titlecase)} ({disc.status})
|
|
35
|
+
@endforeach
|
|
36
|
+
@else
|
|
37
|
+
(none)
|
|
38
|
+
@endif
|
|
39
|
+
|
|
40
|
+
Specifications:
|
|
41
|
+
@if(specifications.count > 0)
|
|
42
|
+
@foreach(spec in specifications.files)
|
|
43
|
+
└─ {spec.name:(titlecase)}
|
|
44
|
+
└─ Spec: {spec.status} ({spec.type})
|
|
45
|
+
└─ Plan: @if(spec.has_plan) exists @else (no plan) @endif
|
|
46
|
+
@endforeach
|
|
47
|
+
@else
|
|
48
|
+
(none)
|
|
49
|
+
@endif
|
|
50
|
+
|
|
51
|
+
Plans:
|
|
52
|
+
@if(plans.count > 0)
|
|
53
|
+
@foreach(plan in plans.files)
|
|
54
|
+
└─ {plan.name:(titlecase)}
|
|
55
|
+
└─ Plan: {plan.status}
|
|
56
|
+
└─ Implementation: @if(plan.has_implementation) exists @else (not started) @endif
|
|
57
|
+
@endforeach
|
|
58
|
+
@else
|
|
59
|
+
(none)
|
|
60
|
+
@endif
|
|
61
|
+
|
|
62
|
+
Implementation:
|
|
63
|
+
@if(implementation.count > 0)
|
|
64
|
+
@foreach(impl in implementation.files)
|
|
65
|
+
└─ {impl.topic:(titlecase)}
|
|
66
|
+
└─ Implementation: {impl.status}
|
|
67
|
+
└─ Review: @if(impl.has_review) exists @else (no review) @endif
|
|
68
|
+
@endforeach
|
|
69
|
+
@else
|
|
70
|
+
(none)
|
|
71
|
+
@endif
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
→ Proceed to **B. Present Choices**.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## B. Present Choices
|
|
79
|
+
|
|
80
|
+
Build a numbered menu of actionable items. The verb depends on the state:
|
|
81
|
+
|
|
82
|
+
| State | Verb |
|
|
83
|
+
|-------|------|
|
|
84
|
+
| In-progress discussion | Continue |
|
|
85
|
+
| In-progress specification | Continue |
|
|
86
|
+
| Concluded spec (feature type), no plan | Start planning for |
|
|
87
|
+
| In-progress plan | Continue |
|
|
88
|
+
| Concluded plan, no implementation | Start implementation of |
|
|
89
|
+
| In-progress implementation | Continue |
|
|
90
|
+
| Completed implementation, no review | Start review for |
|
|
91
|
+
| Research exists | Continue research |
|
|
92
|
+
|
|
93
|
+
**Specification phase is different in greenfield**: Don't offer "Start specification from {topic}". Instead, when concluded discussions exist, offer "Start specification" which invokes `/start-specification greenfield`. Don't pass a topic. Always route through discovery mode so analysis can detect changed discussions.
|
|
94
|
+
|
|
95
|
+
**Specification readiness:**
|
|
96
|
+
- All discussions concluded → "Start specification" (recommended)
|
|
97
|
+
- Some discussions still in-progress → "Start specification" with note: "(some discussions still in-progress)"
|
|
98
|
+
|
|
99
|
+
**Recommendation logic**: Mark one item as "(recommended)" based on phase completion state:
|
|
100
|
+
- All discussions concluded, no specifications exist → "Start specification (recommended)"
|
|
101
|
+
- All specifications (feature type) concluded, some without plans → first plannable spec "(recommended)"
|
|
102
|
+
- All plans concluded, some without implementations → first implementable plan "(recommended)"
|
|
103
|
+
- All implementations completed, some without reviews → first reviewable implementation "(recommended)"
|
|
104
|
+
- Otherwise → no recommendation (complete in-progress work first)
|
|
105
|
+
|
|
106
|
+
Always include "Start new research", "Start new discussion", and "Stop here" as final options.
|
|
107
|
+
|
|
108
|
+
> *Output the next fenced block as markdown (not a code block):*
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
· · · · · · · · · · · ·
|
|
112
|
+
What would you like to do next?
|
|
113
|
+
|
|
114
|
+
1. Continue "Auth Flow" discussion — in-progress
|
|
115
|
+
2. Continue "Data Model" specification — in-progress
|
|
116
|
+
3. Start planning for "User Profiles" — spec concluded
|
|
117
|
+
4. Continue "Caching" plan — in-progress
|
|
118
|
+
5. Start implementation of "Notifications" — plan concluded
|
|
119
|
+
6. Start specification — 3 discussions concluded (recommended)
|
|
120
|
+
7. Continue research
|
|
121
|
+
8. Start new research
|
|
122
|
+
9. Start new discussion
|
|
123
|
+
10. Stop here — resume later with /workflow-start
|
|
124
|
+
|
|
125
|
+
Select an option (enter number):
|
|
126
|
+
· · · · · · · · · · · ·
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
Recreate with actual topics and states from discovery. Only include options that apply based on current state.
|
|
130
|
+
|
|
131
|
+
**STOP.** Wait for user response.
|
|
132
|
+
|
|
133
|
+
→ Proceed to **C. Route Selection**.
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## C. Route Selection
|
|
138
|
+
|
|
139
|
+
#### If user chose "Stop here"
|
|
140
|
+
|
|
141
|
+
> *Output the next fenced block as a code block:*
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
Session Paused
|
|
145
|
+
|
|
146
|
+
To resume later, run /workflow-start — it will discover your
|
|
147
|
+
current state and present all available options.
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
**STOP.** Do not proceed — terminal condition.
|
|
151
|
+
|
|
152
|
+
#### Otherwise
|
|
153
|
+
|
|
154
|
+
Map the selection to a skill invocation:
|
|
155
|
+
|
|
156
|
+
| Selection | Skill | Work Type | Topic |
|
|
157
|
+
|-----------|-------|-----------|-------|
|
|
158
|
+
| Continue discussion | `/start-discussion` | greenfield | {topic} |
|
|
159
|
+
| Continue specification | `/start-specification` | greenfield | — |
|
|
160
|
+
| Continue plan | `/start-planning` | greenfield | {topic} |
|
|
161
|
+
| Continue implementation | `/start-implementation` | greenfield | {topic} |
|
|
162
|
+
| Continue research | `/start-research` | greenfield | — |
|
|
163
|
+
| Start specification | `/start-specification` | greenfield | — |
|
|
164
|
+
| Start planning for {topic} | `/start-planning` | greenfield | {topic} |
|
|
165
|
+
| Start implementation of {topic} | `/start-implementation` | greenfield | {topic} |
|
|
166
|
+
| Start review for {topic} | `/start-review` | greenfield | {topic} |
|
|
167
|
+
| Start new research | `/start-research` | greenfield | — |
|
|
168
|
+
| Start new discussion | `/start-discussion` | greenfield | — |
|
|
169
|
+
|
|
170
|
+
Skills receive positional arguments: `$0` = work_type, `$1` = topic.
|
|
171
|
+
|
|
172
|
+
**With arguments** (bridge mode): `/start-discussion greenfield {topic}` — skill skips discovery, validates topic, proceeds to processing.
|
|
173
|
+
|
|
174
|
+
**Without arguments** (discovery mode): `/start-discussion greenfield` — skill runs discovery with work_type context.
|
|
175
|
+
|
|
176
|
+
→ Proceed to **D. Enter Plan Mode**.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## D. Enter Plan Mode
|
|
181
|
+
|
|
182
|
+
#### If topic is present
|
|
183
|
+
|
|
184
|
+
Enter plan mode with the following content:
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
# Continue Greenfield: {selected_phase:(titlecase)}
|
|
188
|
+
|
|
189
|
+
Continue {selected_phase} for "{selected_topic}".
|
|
190
|
+
|
|
191
|
+
## Next Step
|
|
192
|
+
|
|
193
|
+
Invoke `/start-{selected_phase} greenfield {selected_topic}`
|
|
194
|
+
|
|
195
|
+
Arguments: work_type = greenfield, topic = {selected_topic}
|
|
196
|
+
The skill will skip discovery and proceed directly to validation.
|
|
197
|
+
|
|
198
|
+
## How to proceed
|
|
199
|
+
|
|
200
|
+
Clear context and continue.
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
#### If topic is absent
|
|
204
|
+
|
|
205
|
+
Enter plan mode with the following content:
|
|
206
|
+
|
|
207
|
+
```
|
|
208
|
+
# Continue Greenfield: {selected_phase:(titlecase)}
|
|
209
|
+
|
|
210
|
+
Start {selected_phase} phase.
|
|
211
|
+
|
|
212
|
+
## Next Step
|
|
213
|
+
|
|
214
|
+
Invoke `/start-{selected_phase} greenfield`
|
|
215
|
+
|
|
216
|
+
Arguments: work_type = greenfield
|
|
217
|
+
The skill will run discovery with greenfield context.
|
|
218
|
+
|
|
219
|
+
## How to proceed
|
|
220
|
+
|
|
221
|
+
Clear context and continue.
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Exit plan mode. The user will approve and clear context.
|