@leeovery/claude-technical-workflows 2.0.50 → 2.0.51
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.
|
@@ -70,6 +70,7 @@ This outputs structured YAML. Parse it to understand:
|
|
|
70
70
|
**From `plans` section:**
|
|
71
71
|
- `exists` - whether any plans exist
|
|
72
72
|
- `files` - each plan's name, format, status, and plan_id (if present)
|
|
73
|
+
- `common_format` - the output format if all existing plans share the same one; empty string otherwise
|
|
73
74
|
|
|
74
75
|
**From `state` section:**
|
|
75
76
|
- `scenario` - one of: `"no_specs"`, `"nothing_actionable"`, `"has_options"`
|
|
@@ -255,6 +256,7 @@ Planning session for: {topic}
|
|
|
255
256
|
Specification: docs/workflow/specification/{topic}.md
|
|
256
257
|
Additional context: {summary of user's answers from Step 5}
|
|
257
258
|
Cross-cutting references: {list of applicable cross-cutting specs with brief summaries, or "none"}
|
|
259
|
+
Recommended output format: {common_format from discovery if non-empty, otherwise "none"}
|
|
258
260
|
|
|
259
261
|
Invoke the technical-planning skill.
|
|
260
262
|
```
|
package/package.json
CHANGED
|
@@ -139,6 +139,9 @@ echo ""
|
|
|
139
139
|
#
|
|
140
140
|
echo "plans:"
|
|
141
141
|
|
|
142
|
+
plan_format_seen=""
|
|
143
|
+
plan_format_unanimous="true"
|
|
144
|
+
|
|
142
145
|
if [ -d "$PLAN_DIR" ] && [ -n "$(ls -A "$PLAN_DIR" 2>/dev/null)" ]; then
|
|
143
146
|
echo " exists: true"
|
|
144
147
|
echo " files:"
|
|
@@ -149,6 +152,15 @@ if [ -d "$PLAN_DIR" ] && [ -n "$(ls -A "$PLAN_DIR" 2>/dev/null)" ]; then
|
|
|
149
152
|
name=$(basename "$file" .md)
|
|
150
153
|
format=$(extract_field "$file" "format")
|
|
151
154
|
format=${format:-"MISSING"}
|
|
155
|
+
|
|
156
|
+
if [ "$format" != "MISSING" ]; then
|
|
157
|
+
if [ -z "$plan_format_seen" ]; then
|
|
158
|
+
plan_format_seen="$format"
|
|
159
|
+
elif [ "$plan_format_seen" != "$format" ]; then
|
|
160
|
+
plan_format_unanimous="false"
|
|
161
|
+
fi
|
|
162
|
+
fi
|
|
163
|
+
|
|
152
164
|
status=$(extract_field "$file" "status")
|
|
153
165
|
status=${status:-"unknown"}
|
|
154
166
|
plan_id=$(extract_field "$file" "plan_id")
|
|
@@ -160,9 +172,16 @@ if [ -d "$PLAN_DIR" ] && [ -n "$(ls -A "$PLAN_DIR" 2>/dev/null)" ]; then
|
|
|
160
172
|
echo " plan_id: \"$plan_id\""
|
|
161
173
|
fi
|
|
162
174
|
done
|
|
175
|
+
|
|
176
|
+
if [ "$plan_format_unanimous" = "true" ] && [ -n "$plan_format_seen" ]; then
|
|
177
|
+
echo " common_format: \"$plan_format_seen\""
|
|
178
|
+
else
|
|
179
|
+
echo " common_format: \"\""
|
|
180
|
+
fi
|
|
163
181
|
else
|
|
164
182
|
echo " exists: false"
|
|
165
183
|
echo " files: []"
|
|
184
|
+
echo " common_format: \"\""
|
|
166
185
|
fi
|
|
167
186
|
|
|
168
187
|
echo ""
|
|
@@ -22,6 +22,7 @@ Either way: Transform specifications into actionable phases, tasks, and acceptan
|
|
|
22
22
|
- **Specification content** (required) - The validated decisions and requirements to plan from
|
|
23
23
|
- **Topic name** (optional) - Will derive from specification if not provided
|
|
24
24
|
- **Output format preference** (optional) - Will ask if not specified
|
|
25
|
+
- **Recommended output format** (optional) - A format suggestion for consistency with existing plans
|
|
25
26
|
- **Cross-cutting references** (optional) - Cross-cutting specifications that inform technical decisions in this plan
|
|
26
27
|
|
|
27
28
|
**Before proceeding**, verify the required input is available and unambiguous. If anything is missing or unclear, **STOP** — do not proceed until resolved.
|
|
@@ -97,7 +98,21 @@ Read **[output-formats.md](references/output-formats.md)**, find the entry match
|
|
|
97
98
|
|
|
98
99
|
#### If no Plan Index File exists
|
|
99
100
|
|
|
100
|
-
First, choose the Output Format.
|
|
101
|
+
First, choose the Output Format.
|
|
102
|
+
|
|
103
|
+
**If a recommended output format was provided** (non-empty, not "none"):
|
|
104
|
+
|
|
105
|
+
Present the recommendation:
|
|
106
|
+
|
|
107
|
+
> "Existing plans use **{format}**. Use the same format for consistency?
|
|
108
|
+
> - **yes** — use {format}
|
|
109
|
+
> - **no** — see all available formats"
|
|
110
|
+
|
|
111
|
+
**STOP.** Wait for user choice. If declined, fall through to the full list below.
|
|
112
|
+
|
|
113
|
+
**If no recommendation, or user declined:**
|
|
114
|
+
|
|
115
|
+
Present the formats from **[output-formats.md](references/output-formats.md)** to the user — including description, pros, cons, and "best for". Number each format and ask the user to pick.
|
|
101
116
|
|
|
102
117
|
**STOP.** Wait for the user to choose.
|
|
103
118
|
|