@leeovery/claude-technical-workflows 2.1.18 → 2.1.20

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.
Files changed (45) hide show
  1. package/agents/implementation-analysis-architecture.md +1 -0
  2. package/agents/review-product-assessor.md +112 -0
  3. package/agents/review-task-verifier.md +2 -1
  4. package/package.json +1 -1
  5. package/skills/start-discussion/SKILL.md +21 -246
  6. package/skills/start-discussion/references/display-options.md +71 -0
  7. package/skills/start-discussion/references/gather-context-continue.md +17 -0
  8. package/skills/start-discussion/references/gather-context-fresh.md +41 -0
  9. package/skills/start-discussion/references/gather-context-research.md +25 -0
  10. package/skills/start-discussion/references/gather-context.md +31 -0
  11. package/skills/start-discussion/references/handle-selection.md +54 -0
  12. package/skills/start-discussion/references/invoke-skill.md +30 -0
  13. package/skills/start-discussion/references/research-analysis.md +72 -0
  14. package/skills/start-implementation/SKILL.md +2 -0
  15. package/skills/start-planning/SKILL.md +2 -0
  16. package/skills/start-review/SKILL.md +88 -21
  17. package/skills/start-review/scripts/discovery.sh +19 -0
  18. package/skills/start-specification/SKILL.md +21 -758
  19. package/skills/start-specification/references/analysis-flow.md +103 -0
  20. package/skills/start-specification/references/confirm-and-handoff.md +30 -0
  21. package/skills/start-specification/references/confirm-continue.md +90 -0
  22. package/skills/start-specification/references/confirm-create.md +73 -0
  23. package/skills/start-specification/references/confirm-refine.md +41 -0
  24. package/skills/start-specification/references/confirm-unify.md +63 -0
  25. package/skills/start-specification/references/display-analyze.md +85 -0
  26. package/skills/start-specification/references/display-blocks.md +42 -0
  27. package/skills/start-specification/references/display-groupings.md +171 -0
  28. package/skills/start-specification/references/display-single-grouped.md +69 -0
  29. package/skills/start-specification/references/display-single-has-spec.md +60 -0
  30. package/skills/start-specification/references/display-single-no-spec.md +55 -0
  31. package/skills/start-specification/references/display-single.md +25 -0
  32. package/skills/start-specification/references/display-specs-menu.md +134 -0
  33. package/skills/start-specification/references/handoffs/continue-concluded.md +24 -0
  34. package/skills/start-specification/references/handoffs/continue.md +22 -0
  35. package/skills/start-specification/references/handoffs/create-with-incorporation.md +30 -0
  36. package/skills/start-specification/references/handoffs/create.md +20 -0
  37. package/skills/start-specification/references/handoffs/unify-with-incorporation.md +32 -0
  38. package/skills/start-specification/references/handoffs/unify.md +21 -0
  39. package/skills/start-specification/scripts/discovery.sh +66 -12
  40. package/skills/technical-implementation/references/steps/analysis-loop.md +10 -6
  41. package/skills/technical-review/SKILL.md +72 -70
  42. package/skills/technical-review/references/invoke-product-assessor.md +57 -0
  43. package/skills/technical-review/references/invoke-task-verifiers.md +104 -0
  44. package/skills/technical-review/references/review-checklist.md +1 -55
  45. package/skills/technical-review/references/template.md +34 -12
@@ -6,17 +6,7 @@ user-invocable: false
6
6
 
7
7
  # Technical Review
8
8
 
9
- Act as a **senior software architect** with deep experience in code review. You haven't seen this code before. Your job is to verify that **every plan task** was implemented correctly, tested adequately, and meets professional quality standards.
10
-
11
- This is **product review**, **feature review**, **test review**, AND **code review**. Not just "does the code work?" but "was every task done correctly, tested properly, and built to professional standards?"
12
-
13
- ## Review Artifacts
14
-
15
- This skill reviews against available artifacts. Required:
16
- - **Plan** (the tasks and acceptance criteria)
17
-
18
- Optional but helpful:
19
- - **Specification** (context for design decisions)
9
+ Act as a **senior software architect** with deep experience in code review. You haven't seen this code before. Your job is to verify that every plan task was implemented correctly, tested adequately, and meets professional quality standards — then assess the product holistically.
20
10
 
21
11
  ## Purpose in the Workflow
22
12
 
@@ -24,13 +14,13 @@ This skill can be used:
24
14
  - **Sequentially**: After implementation of a planned feature
25
15
  - **Standalone** (Contract entry): To review any implementation against a plan
26
16
 
27
- Either way: Verify every plan task was implemented, tested adequately, and meets quality standards.
17
+ Either way: Verify plan tasks were implemented, tested adequately, and meet quality standards — then assess the product holistically.
28
18
 
29
19
  ### What This Skill Needs
30
20
 
31
- - **Plan content** (required) - Tasks and acceptance criteria to verify against
21
+ - **Review scope** (required) - single, multi, or all
22
+ - **Plan content** (required) - Tasks and acceptance criteria to verify against (one or more plans)
32
23
  - **Specification content** (optional) - Context for design decisions
33
- - **Implementation scope** (optional) - What code/files to review. Will identify from git if not specified.
34
24
 
35
25
  **Before proceeding**, verify the required input is available. If anything is missing, **STOP** — do not proceed until resolved.
36
26
 
@@ -57,83 +47,91 @@ Do not guess at progress or continue from memory. The files on disk and git hist
57
47
 
58
48
  ---
59
49
 
60
- ## Review Approach
50
+ ## Hard Rules
51
+
52
+ 1. **Review ALL tasks** — Don't sample; verify every planned task
53
+ 2. **Don't fix code** — Identify problems, don't solve them
54
+ 3. **Don't re-implement** — You're reviewing, not building
55
+ 4. **Be specific** — "Test doesn't cover X" not "tests need work"
56
+ 5. **Reference artifacts** — Link findings to plan/spec with file:line references
57
+ 6. **Balanced test review** — Flag both under-testing AND over-testing
58
+ 7. **Fresh perspective** — You haven't seen this code before; question everything
59
+
60
+ ## Output Formatting
61
+
62
+ When announcing a new step, output `── ── ── ── ──` on its own line before the step heading.
63
+
64
+ ---
65
+
66
+ ## Step 1: Read Plan(s) and Specification(s)
61
67
 
62
- Start from the **plan** - it contains the granular tasks and acceptance criteria.
68
+ Read all plan(s) provided for the selected scope.
63
69
 
64
- Use the **specification** for context if available. If no specification exists, the plan is the source of truth for design decisions.
70
+ For each plan:
71
+ 1. Read the plan — understand phases, tasks, and acceptance criteria
72
+ 2. Read the linked specification if available — load design context
73
+ 3. Extract all tasks across all phases
65
74
 
66
- Verify **all** tasks, not a sample.
75
+ If no specification exists, the plan is the sole source of truth for design decisions.
76
+
77
+ → Proceed to **Step 2**.
78
+
79
+ ---
80
+
81
+ ## Step 2: Project Skills Discovery
82
+
83
+ #### If `.claude/skills/` does not exist or is empty
67
84
 
68
85
  ```
69
- Plan (tasks + acceptance criteria)
70
-
71
- For EACH task:
72
- → Load Spec Context (deeper understanding)
73
- → Verify Implementation (code exists, correct)
74
- → Verify Tests (adequate, not over/under tested)
75
- → Check Code Quality (readable, conventions)
86
+ No project skills found. Proceeding without project-specific conventions.
76
87
  ```
77
88
 
78
- **Use parallel `review-task-verifier` subagents** to verify ALL plan tasks simultaneously. Each verifier checks one task for implementation, tests, and quality. This enables comprehensive review without sequential bottlenecks.
89
+ Proceed to **Step 3**.
79
90
 
80
- ## What You Verify (Per Task)
91
+ #### If project skills exist
81
92
 
82
- ### Implementation
93
+ Scan `.claude/skills/` for project-specific skill directories. Note which are relevant to the review (framework guidelines, code style, architecture patterns).
83
94
 
84
- - Is the task implemented?
85
- - Does it match the acceptance criteria?
86
- - Does it align with spec context?
87
- - Any drift from what was planned?
95
+ Proceed to **Step 3**.
88
96
 
89
- ### Tests
97
+ ---
90
98
 
91
- Evaluate test coverage critically - both directions:
99
+ ## Step 3: QA Verification
92
100
 
93
- - **Not under-tested**: Does a test exist? Does it verify acceptance criteria? Are edge cases covered?
94
- - **Not over-tested**: Are tests focused and necessary? No redundant or bloated checks?
95
- - Would the test fail if the feature broke?
101
+ Load **[invoke-task-verifiers.md](references/invoke-task-verifiers.md)** and follow its instructions as written.
96
102
 
97
- ### Code Quality
103
+ **STOP.** Do not proceed until ALL task verifiers have returned and findings are aggregated.
98
104
 
99
- Review as a senior architect would:
105
+ Proceed to **Step 4**.
100
106
 
101
- **Project conventions** (check `.claude/skills/` for project-specific guidance):
102
- - Framework and architecture guidelines
103
- - Code style and patterns specific to the project
107
+ ---
104
108
 
105
- **General principles** (always apply):
106
- - **SOLID**: Single responsibility, open/closed, Liskov substitution, interface segregation, dependency inversion
107
- - **DRY**: No unnecessary duplication (without premature abstraction)
108
- - **Low complexity**: Reasonable cyclomatic complexity, clear code paths
109
- - **Modern idioms**: Uses current language features appropriately
110
- - **Readability**: Self-documenting code, clear intent
111
- - **Security**: No obvious vulnerabilities
112
- - **Performance**: No obvious inefficiencies
109
+ ## Step 4: Product Assessment
113
110
 
114
- ## Review Process
111
+ Load **[invoke-product-assessor.md](references/invoke-product-assessor.md)** and follow its instructions as written.
115
112
 
116
- 1. **Read the plan** - Understand all phases, tasks, and acceptance criteria
117
- 2. **Read the specification** - Load context for the feature being reviewed
118
- 3. **Extract all tasks** - List every task from every phase
119
- 4. **Spawn review-task-verifiers in parallel** - One subagent per task, all running simultaneously
120
- 5. **Aggregate findings** - Collect reports from all review-task-verifiers
121
- 6. **Check project skills** - Framework/language conventions
122
- 7. **Produce review** - Structured feedback covering all tasks
113
+ **STOP.** Do not proceed until the product assessor has returned.
123
114
 
124
- See **[review-checklist.md](references/review-checklist.md)** for detailed checklist.
115
+ Proceed to **Step 5**.
125
116
 
126
- ## Hard Rules
117
+ ---
118
+
119
+ ## Step 5: Produce Review
127
120
 
128
- 1. **Review ALL tasks** - Don't sample; verify every planned task
129
- 2. **Don't fix code** - Identify problems, don't solve them
130
- 3. **Don't re-implement** - You're reviewing, not building
131
- 4. **Be specific** - "Test doesn't cover X" not "tests need work"
132
- 5. **Reference artifacts** - Link findings to plan/spec with file:line references
133
- 6. **Balanced test review** - Flag both under-testing AND over-testing
134
- 7. **Fresh perspective** - You haven't seen this code before; question everything
121
+ Aggregate findings from both stages into a review document using the **[template.md](references/template.md)**.
135
122
 
136
- ## What Happens After Review
123
+ Write the review to `docs/workflow/review/{topic}.md` (single) or `docs/workflow/review/{scope-description}.md` (multi/all).
124
+
125
+ **QA Verdict** (from Step 3):
126
+ - **Approve** — All acceptance criteria met, no blocking issues
127
+ - **Request Changes** — Missing requirements, broken functionality, inadequate tests
128
+ - **Comments Only** — Minor suggestions, non-blocking observations
129
+
130
+ **Product Assessment** (from Step 4) — always advisory, presented alongside the verdict.
131
+
132
+ Commit: `review({topic}): complete review`
133
+
134
+ Present the review to the user.
137
135
 
138
136
  Your review feedback can be:
139
137
  - Addressed by implementation (same or new session)
@@ -142,7 +140,11 @@ Your review feedback can be:
142
140
 
143
141
  You produce feedback. User decides what to do with it.
144
142
 
143
+ ---
144
+
145
145
  ## References
146
146
 
147
- - **[template.md](references/template.md)** - Review output structure and verdict guidelines
148
- - **[review-checklist.md](references/review-checklist.md)** - Detailed review checklist
147
+ - **[invoke-task-verifiers.md](references/invoke-task-verifiers.md)** How to dispatch QA verifier agents
148
+ - **[invoke-product-assessor.md](references/invoke-product-assessor.md)** How to dispatch the product assessor agent
149
+ - **[template.md](references/template.md)** — Review output structure and verdict guidelines
150
+ - **[review-checklist.md](references/review-checklist.md)** — Per-task verification criteria (read by agents), plan completion checks, writing feedback guidance
@@ -0,0 +1,57 @@
1
+ # Invoke Product Assessor
2
+
3
+ *Reference for **[technical-review](../SKILL.md)***
4
+
5
+ ---
6
+
7
+ This step dispatches a single `review-product-assessor` agent to evaluate the implementation holistically as a product. This is not task-by-task — the assessor evaluates robustness, gaps, and product readiness.
8
+
9
+ ---
10
+
11
+ ## Identify Scope
12
+
13
+ Determine the review scope indicator to pass to the assessor:
14
+
15
+ - **single-plan** — one plan selected
16
+ - **multi-plan** — multiple plans selected
17
+ - **full-product** — all implemented plans
18
+
19
+ Build the full list of implementation files across all plans in scope (same git history approach as QA verification).
20
+
21
+ ---
22
+
23
+ ## Dispatch Assessor
24
+
25
+ Dispatch **one agent** via the Task tool.
26
+
27
+ - **Agent path**: `../../../agents/review-product-assessor.md`
28
+
29
+ The assessor receives:
30
+
31
+ 1. **Implementation files** — all files in scope (the full list, not summarized)
32
+ 2. **Specification path(s)** — from each plan's frontmatter
33
+ 3. **Plan path(s)** — all plans in scope
34
+ 4. **Project skill paths** — from Step 2 discovery
35
+ 5. **Review scope** — one of: `single-plan`, `multi-plan`, `full-product`
36
+
37
+ ---
38
+
39
+ ## Wait for Completion
40
+
41
+ **STOP.** Do not proceed until the assessor has returned.
42
+
43
+ The assessor writes its findings to `docs/workflow/review/{topic-or-scope}/product-assessment.md` and returns a brief status. If the agent fails (error, timeout), record the failure and continue to the review production step with QA findings only.
44
+
45
+ ---
46
+
47
+ ## Expected Result
48
+
49
+ The assessor returns:
50
+
51
+ ```
52
+ STATUS: findings | clean
53
+ FINDINGS_COUNT: {N}
54
+ SUMMARY: {1 sentence}
55
+ ```
56
+
57
+ The full findings are in the output file. Read `docs/workflow/review/{topic-or-scope}/product-assessment.md` to incorporate into the review document.
@@ -0,0 +1,104 @@
1
+ # Invoke Task Verifiers
2
+
3
+ *Reference for **[technical-review](../SKILL.md)***
4
+
5
+ ---
6
+
7
+ This step dispatches `review-task-verifier` agents in parallel to verify ALL tasks across the selected plan(s). Each verifier independently checks one task for implementation, tests, and code quality.
8
+
9
+ ---
10
+
11
+ ## Identify Scope
12
+
13
+ Build the list of implementation files using git history. For each plan in scope:
14
+
15
+ ```bash
16
+ git log --oneline --name-only --pretty=format: --grep="impl({topic}):" | sort -u | grep -v '^$'
17
+ ```
18
+
19
+ This captures all files touched by implementation commits for the topic.
20
+
21
+ ---
22
+
23
+ ## Extract All Tasks
24
+
25
+ From each plan in scope, list every task across all phases:
26
+ - Note each task's description
27
+ - Note each task's acceptance criteria
28
+ - Note expected micro acceptance (test name)
29
+
30
+ ---
31
+
32
+ ## Dispatch Verifiers
33
+
34
+ Dispatch **one verifier per task, all in parallel** via the Task tool.
35
+
36
+ - **Agent path**: `../../../agents/review-task-verifier.md`
37
+
38
+ Each verifier receives:
39
+
40
+ 1. **Plan task** — the specific task with acceptance criteria
41
+ 2. **Specification path** — from the plan's frontmatter (if available)
42
+ 3. **Plan path** — the full plan for phase context
43
+ 4. **Project skill paths** — from Step 2 discovery
44
+ 5. **Review checklist path** — `skills/technical-review/references/review-checklist.md`
45
+
46
+ ---
47
+
48
+ ## Wait for Completion
49
+
50
+ **STOP.** Do not proceed until all verifiers have returned.
51
+
52
+ Each verifier returns a structured finding. If any verifier fails (error, timeout), record the failure and continue — aggregate what's available.
53
+
54
+ ---
55
+
56
+ ## Expected Result
57
+
58
+ Each verifier returns:
59
+
60
+ ```
61
+ TASK: [Task name/description]
62
+
63
+ ACCEPTANCE CRITERIA: [List from plan]
64
+
65
+ STATUS: Complete | Incomplete | Issues Found
66
+
67
+ SPEC CONTEXT: [Brief summary of relevant spec context]
68
+
69
+ IMPLEMENTATION:
70
+ - Status: [Implemented/Missing/Partial/Drifted]
71
+ - Location: [file:line references]
72
+ - Notes: [Any concerns]
73
+
74
+ TESTS:
75
+ - Status: [Adequate/Under-tested/Over-tested/Missing]
76
+ - Coverage: [What is/isn't tested]
77
+ - Notes: [Specific issues]
78
+
79
+ CODE QUALITY:
80
+ - Project conventions: [Followed/Violations/N/A]
81
+ - SOLID principles: [Good/Concerns]
82
+ - Complexity: [Low/Acceptable/High]
83
+ - Modern idioms: [Yes/Opportunities]
84
+ - Readability: [Good/Concerns]
85
+ - Issues: [Specific problems if any]
86
+
87
+ BLOCKING ISSUES:
88
+ - [List any issues that must be fixed]
89
+
90
+ NON-BLOCKING NOTES:
91
+ - [Suggestions for improvement]
92
+ ```
93
+
94
+ ---
95
+
96
+ ## Aggregate Findings
97
+
98
+ Once all verifiers have returned, synthesize their reports:
99
+
100
+ - Collect all tasks with `STATUS: Incomplete` or `STATUS: Issues Found` as blocking issues
101
+ - Collect all test issues (under/over-tested)
102
+ - Collect all code quality concerns
103
+ - Include specific file:line references
104
+ - Check overall plan completion (see [review-checklist.md](review-checklist.md) — Plan Completion Check)
@@ -4,61 +4,7 @@
4
4
 
5
5
  ---
6
6
 
7
- ## Before Starting
8
-
9
- 1. Read plan (from the location provided)
10
- - If not found at expected path, ask user where the plan is
11
- 2. Read specification if available and linked in plan
12
- - Not required, but helpful for context if it exists
13
- 3. Identify what code/files were changed
14
- 4. Check for project-specific skills in `.claude/skills/`
15
-
16
- ## Task-Based Review (Primary Approach)
17
-
18
- Review **every task** in the plan. Don't sample - verify all of them.
19
-
20
- ### Extract All Tasks
21
-
22
- From the plan, list every task across all phases:
23
- - Note each task's description
24
- - Note each task's acceptance criteria
25
- - Note expected micro acceptance (test name)
26
-
27
- ### Parallel Verification
28
-
29
- Spawn `review-task-verifier` subagents **in parallel** for ALL tasks:
30
-
31
- ```
32
- Task 1 ──▶ [review-task-verifier] ──▶ Findings
33
- Task 2 ──▶ [review-task-verifier] ──▶ Findings
34
- Task 3 ──▶ [review-task-verifier] ──▶ Findings (all running in parallel)
35
- Task 4 ──▶ [review-task-verifier] ──▶ Findings
36
- ...
37
- Task N ──▶ [review-task-verifier] ──▶ Findings
38
- ```
39
-
40
- **How to invoke each review-task-verifier:**
41
-
42
- Provide:
43
- - The specific task (with acceptance criteria)
44
- - Path to specification (for context)
45
- - Path to plan (for phase context)
46
- - Implementation scope (files/directories changed)
47
-
48
- **Each review-task-verifier checks:**
49
- 1. Implementation exists and matches acceptance criteria
50
- 2. Tests are adequate (not under-tested, not over-tested)
51
- 3. Code quality is acceptable
52
-
53
- **Aggregate the findings:**
54
-
55
- Once all review-task-verifiers complete, synthesize their reports:
56
- - Collect all incomplete/failed tasks as blocking issues
57
- - Collect all test issues (under/over-tested)
58
- - Collect all code quality concerns
59
- - Include specific file:line references
60
-
61
- ## Per-Task Verification Details
7
+ ## Per-Task Verification Criteria
62
8
 
63
9
  For each task, the review-task-verifier checks:
64
10
 
@@ -7,34 +7,55 @@
7
7
  ## Template
8
8
 
9
9
  ```markdown
10
- # Implementation Review: {Topic}
10
+ # Implementation Review: {Topic / Product}
11
11
 
12
- **Verdict**: Approve | Request Changes | Comments Only
12
+ **Scope**: Single Plan ({plan}) | Multi-Plan ({plans}) | Full Product
13
+ **QA Verdict**: Approve | Request Changes | Comments Only
13
14
 
14
15
  ## Summary
15
16
  [One paragraph overall assessment]
16
17
 
17
- ## Specification Compliance
18
+ ## QA Verification
19
+
20
+ ### Specification Compliance
18
21
  [Implementation aligns with specification / Note any deviations]
19
22
 
20
- ## Plan Completion
21
- - [ ] Phase 1 acceptance criteria met
22
- - [ ] Phase 2 acceptance criteria met
23
+ ### Plan Completion
24
+ - [ ] Phase N acceptance criteria met
23
25
  - [ ] All tasks completed
24
26
  - [ ] No scope creep
25
27
 
26
- ## Code Quality
28
+ ### Code Quality
27
29
  [Issues or "No issues found"]
28
30
 
29
- ## Test Quality
31
+ ### Test Quality
30
32
  [Issues or "Tests adequately verify requirements"]
31
33
 
32
- ## Required Changes (if any)
34
+ ### Required Changes (if any)
33
35
  1. [Specific actionable change]
34
- 2. [Specific actionable change]
35
36
 
36
- ## Recommendations (optional)
37
- [Non-blocking suggestions]
37
+ ## Product Assessment
38
+
39
+ ### Robustness
40
+ [Where would this break under real-world usage?]
41
+
42
+ ### Gaps
43
+ [What's obviously missing now the product exists?]
44
+
45
+ ### Cross-Plan Consistency (multi/all only)
46
+ [Are patterns consistent across features?]
47
+
48
+ ### Integration Seams (multi/all only)
49
+ [Do independently-built features connect cleanly?]
50
+
51
+ ### Strengthening Opportunities
52
+ [Priority improvements for production readiness]
53
+
54
+ ### What's Next
55
+ [What does this enable? What should be built next?]
56
+
57
+ ## Recommendations
58
+ [Combined non-blocking suggestions]
38
59
  ```
39
60
 
40
61
  ## Verdict Guidelines
@@ -44,3 +65,4 @@
44
65
  **Request Changes**: Missing requirements, deviations from decisions, broken functionality, inadequate tests
45
66
 
46
67
  **Comments Only**: Minor suggestions, style preferences, non-blocking observations
68
+