@leeovery/claude-technical-workflows 2.0.33 → 2.0.35
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.
|
@@ -333,7 +333,7 @@ Coupling: {explanation}
|
|
|
333
333
|
|
|
334
334
|
How would you like to proceed?
|
|
335
335
|
|
|
336
|
-
1. **
|
|
336
|
+
1. **Proceed as recommended** - I'll ask which to start with
|
|
337
337
|
2. **Combine differently** - Tell me your preferred groupings
|
|
338
338
|
3. **Single specification** - Consolidate ALL into one unified spec
|
|
339
339
|
4. **Individual specifications** - Create 1:1 specs (I'll ask which to start)
|
|
@@ -351,16 +351,23 @@ How would you like to proceed?
|
|
|
351
351
|
|
|
352
352
|
Based on user's choice from Step 7:
|
|
353
353
|
|
|
354
|
-
#### If "
|
|
354
|
+
#### If "Proceed as recommended"
|
|
355
355
|
|
|
356
356
|
```
|
|
357
|
-
Which
|
|
357
|
+
Which would you like to start with?
|
|
358
358
|
|
|
359
|
+
Grouped:
|
|
359
360
|
1. {Grouping Name A} - {N} discussions
|
|
360
361
|
2. {Grouping Name B} - {N} discussions (specification exists)
|
|
361
362
|
3. {Grouping Name C} - {N} discussions
|
|
363
|
+
|
|
364
|
+
Independent:
|
|
365
|
+
4. {topic-f} - standalone
|
|
366
|
+
5. {topic-g} - standalone
|
|
362
367
|
```
|
|
363
368
|
|
|
369
|
+
List ALL items from the analysis: grouped specifications first, then independent discussions. Number them consecutively.
|
|
370
|
+
|
|
364
371
|
**STOP.** Wait for user to pick a number, then proceed to **Step 9**.
|
|
365
372
|
|
|
366
373
|
#### If "Combine differently"
|
|
@@ -506,7 +513,7 @@ Before invoking the specification skill:
|
|
|
506
513
|
2. Any constraints or changes since the discussion(s) concluded?
|
|
507
514
|
3. Are there existing partial implementations or related documentation I should review?
|
|
508
515
|
|
|
509
|
-
(
|
|
516
|
+
(Say 'none' or 'continue' if nothing to add)
|
|
510
517
|
```
|
|
511
518
|
|
|
512
519
|
**STOP.** Wait for user response.
|
package/package.json
CHANGED
|
@@ -15,15 +15,31 @@ SPEC_DIR="docs/workflow/specification"
|
|
|
15
15
|
CACHE_FILE="docs/workflow/.cache/discussion-consolidation-analysis.md"
|
|
16
16
|
|
|
17
17
|
# Helper: Extract a frontmatter field value from a file
|
|
18
|
+
# Supports both YAML frontmatter and markdown format (**Field**: Value)
|
|
18
19
|
# Usage: extract_field <file> <field_name>
|
|
19
20
|
extract_field() {
|
|
20
21
|
local file="$1"
|
|
21
22
|
local field="$2"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
sed "
|
|
23
|
+
local value=""
|
|
24
|
+
|
|
25
|
+
# Try YAML frontmatter first (only if file starts with ---)
|
|
26
|
+
if head -1 "$file" 2>/dev/null | grep -q "^---$"; then
|
|
27
|
+
value=$(sed -n '2,/^---$/p' "$file" 2>/dev/null | \
|
|
28
|
+
grep -m1 "^${field}:" | \
|
|
29
|
+
sed "s/^${field}:[[:space:]]*//" || true)
|
|
30
|
+
fi
|
|
31
|
+
|
|
32
|
+
# If empty, try markdown format: **Field**: Value
|
|
33
|
+
# Only search the header (before first ## heading) to avoid body matches
|
|
34
|
+
if [ -z "$value" ]; then
|
|
35
|
+
value=$(awk '/^## /{exit} {print}' "$file" 2>/dev/null | \
|
|
36
|
+
grep -i -m1 "^\*\*${field}\*\*:" | \
|
|
37
|
+
sed -E "s/^\*\*[^*]+\*\*:[[:space:]]*//" || true)
|
|
38
|
+
# Normalize to lowercase for consistency
|
|
39
|
+
value=$(echo "$value" | tr '[:upper:]' '[:lower:]')
|
|
40
|
+
fi
|
|
41
|
+
|
|
42
|
+
echo "$value"
|
|
27
43
|
}
|
|
28
44
|
|
|
29
45
|
# Helper: Extract array field from frontmatter (returns space-separated values)
|