@leeovery/claude-technical-workflows 2.0.38 → 2.0.40

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.
@@ -9,14 +9,14 @@ Invoke the **technical-specification** skill for this conversation.
9
9
 
10
10
  This is **Phase 3** of the six-phase workflow:
11
11
 
12
- | Phase | Focus | You |
13
- |-------|-------|-----|
14
- | 1. Research | EXPLORE - ideas, feasibility, market, business | |
15
- | 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | |
16
- | **3. Specification** | REFINE - validate into standalone spec | ◀ HERE |
17
- | 4. Planning | HOW - phases, tasks, acceptance criteria | |
18
- | 5. Implementation | DOING - tests first, then code | |
19
- | 6. Review | VALIDATING - check work against artifacts | |
12
+ | Phase | Focus | You |
13
+ |----------------------|----------------------------------------------------|--------|
14
+ | 1. Research | EXPLORE - ideas, feasibility, market, business | |
15
+ | 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | |
16
+ | **3. Specification** | REFINE - validate into standalone spec | ◀ HERE |
17
+ | 4. Planning | HOW - phases, tasks, acceptance criteria | |
18
+ | 5. Implementation | DOING - tests first, then code | |
19
+ | 6. Review | VALIDATING - check work against artifacts | |
20
20
 
21
21
  **Stay in your lane**: Validate and refine discussion content into standalone specifications. Don't jump to planning, phases, tasks, or code. The specification is the "line in the sand" - everything after this has hard dependencies on it.
22
22
 
@@ -459,15 +459,72 @@ Please describe your preferred groupings. Which discussions should be combined t
459
459
 
460
460
  **STOP.** Wait for user to describe their groupings.
461
461
 
462
- Confirm understanding and present as a numbered list. Check if any grouping names match existing specifications.
462
+ ##### Analyze Impact
463
463
 
464
+ Determine which existing specifications are affected by the proposed groupings. A spec is "affected" if:
465
+ - Its source discussions are being split across multiple new groupings, OR
466
+ - It's being merged with another spec's source discussions
467
+
468
+ ##### Simple case (0-1 specs affected)
469
+
470
+ Establish a name for each grouping:
471
+ - If the grouping contains all sources from an existing spec → suggest that spec's name
472
+ - Otherwise → propose a semantic name based on the combined content
473
+
474
+ ```
475
+ Based on your description:
476
+
477
+ 1. {Proposed Name} - {topic-a}, {topic-b}, {topic-c}
478
+ {If expanding existing spec: "(continues {spec-name} specification)"}
479
+
480
+ {If name derived from existing spec:}
481
+ Keep the name "{spec-name}" or use a different name?
482
+ ```
483
+
484
+ **STOP.** Wait for user to confirm or provide a different name.
485
+
486
+ → Proceed to **Update Cache** below.
487
+
488
+ ##### Complex case (2+ specs affected)
489
+
490
+ ```
491
+ This reorganization affects multiple existing specifications:
492
+ - {spec-1} (sources: {topics})
493
+ - {spec-2} (sources: {topics})
494
+
495
+ Moving discussions between established specifications requires deleting the affected specs and re-processing. The source material in your discussions is preserved.
496
+
497
+ Options:
498
+ 1. **Delete affected specs and proceed** - Remove {spec-1}, {spec-2} and create fresh specs for your new groupings
499
+ 2. **Reconsider** - Adjust your groupings to affect fewer specs
500
+
501
+ Which approach?
464
502
  ```
465
- Based on your description, here are the groupings:
466
503
 
467
- 1. {User's Grouping A} - {topics}
468
- 2. {User's Grouping B} - {topics}
504
+ **STOP.** Wait for user choice.
505
+
506
+ - If delete: Remove the affected spec files, then proceed to **Update Cache**
507
+ - If reconsider: Return to grouping description prompt
508
+
509
+ ##### Update Cache
510
+
511
+ After confirming groupings, update the cache to reflect the user's custom arrangement.
512
+
513
+ Rewrite `docs/workflow/.cache/discussion-consolidation-analysis.md` with:
514
+ - Same `checksum` value (discussions unchanged)
515
+ - New `generated` timestamp
516
+ - User's custom groupings in the "Recommended Groupings" section
517
+ - Note in Analysis Notes: `Custom groupings confirmed by user.`
518
+
519
+ This ensures subsequent runs present the agreed groupings rather than re-analyzing.
520
+
521
+ ```
522
+ Groupings confirmed. Cache updated.
469
523
 
470
524
  Which grouping would you like to start with?
525
+
526
+ 1. {Grouping A} - {N} discussions {if has spec: "(specification exists)"}
527
+ 2. {Grouping B} - {N} discussions
471
528
  ```
472
529
 
473
530
  **STOP.** Wait for user to pick, then proceed to **Step 9**.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leeovery/claude-technical-workflows",
3
- "version": "2.0.38",
3
+ "version": "2.0.40",
4
4
  "description": "Technical workflow skills & commands for Claude Code",
5
5
  "license": "MIT",
6
6
  "author": "Lee Overy <me@leeovery.com>",
@@ -344,31 +344,13 @@ After documenting dependencies, perform a **final comprehensive review** of the
344
344
  - Error handling, validation rules, or boundary conditions
345
345
  - Integration points or data flows mentioned but not elaborated
346
346
 
347
- 4. **Flag what you find** - When you discover potentially missed content, present it to the user. **Do NOT add it to the specification without explicit approval.**
347
+ 4. **Collect what you find** - When you discover potentially missed content, note it for your summary. You'll present all findings together after the review is complete (see "Presenting Review Findings" below).
348
348
 
349
- > **CHECKPOINT**: If you found missed content and are about to add it to the specification without presenting it first and receiving explicit approval, **STOP**. Every addition requires the present → approve → log cycle, even during final review.
349
+ Categorize each finding:
350
350
 
351
- There are two cases:
351
+ **Enhancing an existing topic** - Details that belong in an already-documented section. Note which section it would enhance.
352
352
 
353
- **Enhancing an existing topic** - Details that belong in an already-documented section:
354
-
355
- > "During my final review, I found additional detail about [existing topic] that isn't captured. From [source]:
356
- >
357
- > [quote or summary from source material]
358
- >
359
- > I'd add this to the [section name] section. Would you like me to include it, or show you the full section with this addition first?"
360
-
361
- If the user wants to see context, present the entire section with the new content clearly marked (e.g., with a comment like `<!-- NEW -->` or by calling it out before the block).
362
-
363
- **An entirely missed topic** - Something that warrants its own section but was glossed over:
364
-
365
- > "During my final review, I found [topic] discussed in [source] that doesn't have coverage in the specification:
366
- >
367
- > [quote or summary from source material]
368
- >
369
- > This would be a new section. Should I add it?"
370
-
371
- In both cases, you know where the content belongs - existing topics get enhanced in place, new topics get added at the end.
353
+ **An entirely missed topic** - Something that warrants its own section but was glossed over. New topics get added at the end.
372
354
 
373
355
  5. **Never fabricate** - Every item you flag must trace back to specific source material. If you can't point to where it came from, don't suggest it. The goal is to catch missed content, not invent new requirements.
374
356
 
@@ -380,19 +362,56 @@ After documenting dependencies, perform a **final comprehensive review** of the
380
362
  - Integration points that seem implicit but aren't specified
381
363
  - Behaviors that are ambiguous without clarification
382
364
 
383
- Present these as a batch for the user to triage:
365
+ Collect these alongside the missed content from step 4. They'll be presented together in the summary (see below).
366
+
367
+ This should be infrequent - most gaps will be caught from source material. But occasionally the sources themselves have blind spots worth surfacing.
368
+
369
+ ### Presenting Review Findings
370
+
371
+ After completing your review (steps 1-7), present findings to the user in two stages:
384
372
 
385
- > "I've identified some potential gaps that aren't covered in the source material:
373
+ **Stage 1: Summary of All Findings**
374
+
375
+ First, present a numbered summary of everything you found:
376
+
377
+ > "I've completed my final review against all source material. I found [N] items:
378
+ >
379
+ > 1. **[Brief title]**
380
+ > [2-4 line explanation: what was missed, where it came from, what it affects]
381
+ >
382
+ > 2. **[Brief title]**
383
+ > [2-4 line explanation]
384
+ >
385
+ > 3. **[Brief title]**
386
+ > [2-4 line explanation]
387
+ >
388
+ > Let's work through these one at a time, starting with #1."
389
+
390
+ Each item should have enough context that the user understands what they're about to discuss - not just a label, but clarity on what was missed and why it matters.
391
+
392
+ **Stage 2: Process One Item at a Time**
393
+
394
+ For each item, follow the **same workflow as the main specification process**:
395
+
396
+ 1. **Present** the item in detail - what you found, where it came from (source reference), and what you propose to add
397
+ 2. **Discuss** if needed - clarify ambiguities, answer questions, refine the content
398
+ 3. **Present for approval** - show exactly what will be written to the specification:
399
+
400
+ > "Here's what I'll add to the specification:
386
401
  >
387
- > 1. **[Gap A]** - [brief description of what's unclear/missing]
388
- > 2. **[Gap B]** - [brief description]
389
- > 3. **[Gap C]** - [brief description]
402
+ > [content exactly as it would appear]
390
403
  >
391
- > Are any of these areas you'd like to discuss, or are they intentionally out of scope?"
404
+ > **To proceed, choose one:**
405
+ > - **"Log it"** - I'll add the above to the specification **verbatim**
406
+ > - **"Adjust"** - Tell me which part to change
392
407
 
393
- The user can then pick which gaps (if any) need addressing. For those they want to discuss, work through them and add to the specification with standard approval workflow.
408
+ 4. **Wait for explicit approval** - same rules as always: "Log it" or equivalent before writing
409
+ 5. **Log verbatim** when approved
410
+ 6. **Move to the next item**: "Moving to #2: [Brief title]..."
394
411
 
395
- This should be infrequent - most gaps will be caught from source material. But occasionally the sources themselves have blind spots worth surfacing.
412
+ > **CHECKPOINT**: Each review item requires the full present approve log cycle. Do not batch multiple items together. Do not proceed to the next item until the current one is resolved (approved, adjusted, or explicitly skipped by the user).
413
+
414
+ For potential gaps (items not in source material), you're asking questions rather than proposing content. If the user wants to address a gap, discuss it, then present what you'd add for approval.
396
415
 
397
416
  ### What You're NOT Doing
398
417