@leeovery/claude-technical-workflows 2.0.15 → 2.0.17

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 (29) hide show
  1. package/README.md +41 -24
  2. package/commands/link-dependencies.md +170 -0
  3. package/commands/start-discussion.md +6 -313
  4. package/commands/start-feature.md +80 -0
  5. package/commands/start-implementation.md +7 -101
  6. package/commands/start-planning.md +7 -86
  7. package/commands/start-research.md +7 -13
  8. package/commands/start-specification.md +7 -81
  9. package/commands/workflow:start-discussion.md +339 -0
  10. package/commands/workflow:start-implementation.md +187 -0
  11. package/commands/workflow:start-planning.md +111 -0
  12. package/commands/workflow:start-research.md +38 -0
  13. package/commands/workflow:start-review.md +112 -0
  14. package/commands/workflow:start-specification.md +106 -0
  15. package/package.json +1 -1
  16. package/skills/technical-discussion/SKILL.md +13 -8
  17. package/skills/technical-implementation/SKILL.md +23 -11
  18. package/skills/technical-planning/SKILL.md +14 -12
  19. package/skills/technical-planning/references/dependencies.md +69 -0
  20. package/skills/technical-planning/references/formal-planning.md +25 -0
  21. package/skills/technical-planning/references/output-backlog-md.md +75 -4
  22. package/skills/technical-planning/references/output-beads.md +95 -5
  23. package/skills/technical-planning/references/output-linear.md +57 -4
  24. package/skills/technical-planning/references/output-local-markdown.md +71 -3
  25. package/skills/technical-research/SKILL.md +13 -9
  26. package/skills/technical-review/SKILL.md +26 -9
  27. package/skills/technical-review/references/review-checklist.md +4 -2
  28. package/skills/technical-specification/SKILL.md +16 -9
  29. package/skills/technical-specification/references/specification-guide.md +8 -9
@@ -0,0 +1,187 @@
1
+ ---
2
+ description: Start an implementation session from an existing plan. Discovers available plans, checks environment setup, and invokes the technical-implementation skill.
3
+ ---
4
+
5
+ ## Workflow Context
6
+
7
+ This is **Phase 5** of the six-phase workflow:
8
+
9
+ | Phase | Focus | You |
10
+ |-------|-------|-----|
11
+ | 1. Research | EXPLORE - ideas, feasibility, market, business | |
12
+ | 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | |
13
+ | 3. Specification | REFINE - validate into standalone spec | |
14
+ | 4. Planning | HOW - phases, tasks, acceptance criteria | |
15
+ | **5. Implementation** | DOING - tests first, then code | ◀ HERE |
16
+ | 6. Review | VALIDATING - check work against artifacts | |
17
+
18
+ **Stay in your lane**: Execute the plan via strict TDD - tests first, then code. Don't re-debate decisions from the specification or expand scope beyond the plan. The plan is your authority.
19
+
20
+ ---
21
+
22
+ ## IMPORTANT: Follow these steps EXACTLY. Do not skip steps.
23
+
24
+ - Ask each question and WAIT for a response before proceeding
25
+ - Do NOT install anything or invoke tools until Step 6
26
+ - Even if the user's initial prompt seems to answer a question, still confirm with them at the appropriate step
27
+ - Do NOT make assumptions about what the user wants
28
+ - Complete each step fully before moving to the next
29
+
30
+ ## Instructions
31
+
32
+ Follow these steps EXACTLY as written. Do not skip steps or combine them.
33
+
34
+ Before beginning, discover existing work and gather necessary information.
35
+
36
+ ## Important
37
+
38
+ Use simple, individual commands. Never combine multiple operations into bash loops or one-liners. Execute commands one at a time.
39
+
40
+ ## Step 1: Discover Existing Plans
41
+
42
+ Scan the codebase for plans:
43
+
44
+ 1. **Find plans**: Look in `docs/workflow/planning/`
45
+ - Run `ls docs/workflow/planning/` to list plan files
46
+ - Each file is named `{topic}.md`
47
+
48
+ 2. **Check plan format**: For each plan file
49
+ - Run `head -10 docs/workflow/planning/{topic}.md` to read the frontmatter
50
+ - Note the `format:` field
51
+ - Do NOT use bash loops - run separate `head` commands for each topic
52
+
53
+ ## Step 2: Present Options to User
54
+
55
+ Show what you found.
56
+
57
+ > **Note:** If no plans exist, inform the user that this workflow is designed to be executed in sequence. They need to create plans from specifications prior to implementation using `/workflow:start-planning`.
58
+
59
+ > **Auto-select:** If exactly one plan exists, automatically select it and proceed to Step 3. Inform the user which plan was selected. Do not ask for confirmation.
60
+
61
+ ```
62
+ Plans found:
63
+ {topic-1}
64
+ {topic-2}
65
+
66
+ Which plan would you like to implement?
67
+ ```
68
+
69
+ ## Step 3: Check External Dependencies
70
+
71
+ **This step is a gate.** Implementation cannot proceed if dependencies are not satisfied.
72
+
73
+ See **[dependencies.md](../skills/technical-planning/references/dependencies.md)** for dependency format and states.
74
+
75
+ After the user selects a plan:
76
+
77
+ 1. **Read the External Dependencies section** from the plan index file
78
+ 2. **Check each dependency** according to its state:
79
+ - **Unresolved**: Block
80
+ - **Resolved**: Check if task is complete (load output format reference, follow "Querying Dependencies" section)
81
+ - **Satisfied externally**: Proceed
82
+
83
+ ### Blocking Behavior
84
+
85
+ If ANY dependency is unresolved or incomplete, **stop and present**:
86
+
87
+ ```
88
+ ⚠️ Implementation blocked. Missing dependencies:
89
+
90
+ UNRESOLVED (not yet planned):
91
+ - billing-system: Invoice generation for order completion
92
+ → No plan exists for this topic. Create with /workflow:start-planning or mark as satisfied externally.
93
+
94
+ INCOMPLETE (planned but not implemented):
95
+ - beads-7x2k (authentication): User context retrieval
96
+ → Status: in_progress. This task must be completed first.
97
+
98
+ These dependencies must be completed before this plan can be implemented.
99
+
100
+ OPTIONS:
101
+ 1. Implement the blocking dependencies first
102
+ 2. Mark a dependency as "satisfied externally" if it was implemented outside this workflow
103
+ 3. Run /link-dependencies to wire up any recently completed plans
104
+ ```
105
+
106
+ ### Escape Hatch
107
+
108
+ If the user says a dependency has been implemented outside the workflow:
109
+
110
+ 1. Ask which dependency to mark as satisfied
111
+ 2. Update the plan index file:
112
+ - Change `- {topic}: {description}` to `- ~~{topic}: {description}~~ → satisfied externally`
113
+ 3. Commit the change
114
+ 4. Re-check dependencies
115
+
116
+ ### All Dependencies Satisfied
117
+
118
+ If all dependencies are resolved and complete (or satisfied externally), proceed to Step 4.
119
+
120
+ ```
121
+ ✅ External dependencies satisfied:
122
+ - billing-system: Invoice generation → beads-b7c2.1.1 (complete)
123
+ - authentication: User context → beads-a3f8.1.2 (complete)
124
+
125
+ Proceeding with environment setup...
126
+ ```
127
+
128
+ ## Step 4: Check Environment Setup
129
+
130
+ > **IMPORTANT**: This step is for **information gathering only**. Do NOT execute any setup commands at this stage. The technical-implementation skill will handle execution when invoked.
131
+
132
+ After the user selects a plan:
133
+
134
+ 1. Check if `docs/workflow/environment-setup.md` exists
135
+ 2. If it exists, note the file location for the skill handoff
136
+ 3. If missing, ask: "Are there any environment setup instructions I should follow?"
137
+ - If the user provides instructions, save them to `docs/workflow/environment-setup.md`, commit and push to Git
138
+ - If the user says no, create `docs/workflow/environment-setup.md` with "No special setup required." and commit. This prevents asking again in future sessions.
139
+ - See `skills/technical-implementation/references/environment-setup.md` for format guidance
140
+
141
+ ## Step 5: Ask About Scope
142
+
143
+ Ask the user about implementation scope:
144
+
145
+ ```
146
+ How would you like to proceed?
147
+
148
+ 1. **Implement all phases** - Work through the entire plan sequentially
149
+ 2. **Implement specific phase** - Focus on one phase (e.g., "Phase 1")
150
+ 3. **Implement specific task** - Focus on a single task
151
+ 4. **Next available task** - Auto-discover the next unblocked task
152
+
153
+ Which approach?
154
+ ```
155
+
156
+ If they choose a specific phase or task, ask them to specify which one.
157
+
158
+ > **Note:** Do NOT verify that the phase or task exists. Accept the user's answer and pass it to the skill. Validation happens during the implementation phase.
159
+
160
+ ## Step 6: Invoke Implementation Skill
161
+
162
+ Invoke the **technical-implementation** skill for this conversation.
163
+
164
+ Pass to the technical-implementation skill:
165
+ - Plan: `docs/workflow/planning/{topic}.md`
166
+ - Format: (from frontmatter)
167
+ - Scope: (all phases | specific phase | specific task | next-available)
168
+ - Dependencies: (all satisfied - verified in Step 3)
169
+ - Environment setup: (completed | not needed)
170
+
171
+ **Example handoff:**
172
+ ```
173
+ Implementation session for: {topic}
174
+ Plan: docs/workflow/planning/{topic}.md
175
+ Format: {format}
176
+ Scope: All phases
177
+
178
+ Dependencies: All satisfied ✓
179
+ Environment setup: Completed (or: Not needed)
180
+
181
+ Begin implementation using the technical-implementation skill.
182
+ ```
183
+
184
+ ## Notes
185
+
186
+ - Ask questions clearly and wait for responses before proceeding
187
+ - Execute environment setup before starting implementation
@@ -0,0 +1,111 @@
1
+ ---
2
+ description: Start a planning session from an existing specification. Discovers available specifications, asks where to store the plan, and invokes the technical-planning skill.
3
+ ---
4
+
5
+ Invoke the **technical-planning** skill for this conversation.
6
+
7
+ ## Workflow Context
8
+
9
+ This is **Phase 4** of the six-phase workflow:
10
+
11
+ | Phase | Focus | You |
12
+ |-------|-------|-----|
13
+ | 1. Research | EXPLORE - ideas, feasibility, market, business | |
14
+ | 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | |
15
+ | 3. Specification | REFINE - validate into standalone spec | |
16
+ | **4. Planning** | HOW - phases, tasks, acceptance criteria | ◀ HERE |
17
+ | 5. Implementation | DOING - tests first, then code | |
18
+ | 6. Review | VALIDATING - check work against artifacts | |
19
+
20
+ **Stay in your lane**: Create the plan - phases, tasks, and acceptance criteria. Don't jump to implementation or write code. The specification is your sole input; transform it into actionable work items.
21
+
22
+ ---
23
+
24
+ ## Instructions
25
+
26
+ Follow these steps EXACTLY as written. Do not skip steps or combine them. Present output using the EXACT format shown in examples - do not simplify or alter the formatting.
27
+
28
+ Before beginning, discover existing work and gather necessary information.
29
+
30
+ ## Important
31
+
32
+ Use simple, individual commands. Never combine multiple operations into bash loops or one-liners. Execute commands one at a time.
33
+
34
+ ## Step 1: Discover Existing Work
35
+
36
+ Scan the codebase for specifications and plans:
37
+
38
+ 1. **Find specifications**: Look in `docs/workflow/specification/`
39
+ - Run `ls docs/workflow/specification/` to list specification files
40
+ - Each file is named `{topic}.md`
41
+
42
+ 2. **Check specification status**: For each specification file
43
+ - Run `head -20 docs/workflow/specification/{topic}.md` to read the frontmatter and extract the `status:` field
44
+ - Do NOT use bash loops - run separate `head` commands for each topic
45
+
46
+ 3. **Check for existing plans**: Look in `docs/workflow/planning/`
47
+ - Identify specifications that don't have corresponding plans
48
+
49
+ ## Step 2: Check Prerequisites
50
+
51
+ **If no specifications exist:**
52
+
53
+ ```
54
+ ⚠️ No specifications found in docs/workflow/specification/
55
+
56
+ The planning phase requires a completed specification. Please run /workflow:start-specification first to validate and refine the discussion content into a standalone specification before creating a plan.
57
+ ```
58
+
59
+ Stop here and wait for the user to acknowledge.
60
+
61
+ ## Step 3: Present Options to User
62
+
63
+ Show what you found using a list like below:
64
+
65
+ ```
66
+ 📂 Specifications found:
67
+ ⚠️ {topic-1} - Building specification - not ready for planning
68
+ ✅ {topic-2} - Complete - ready for planning
69
+ ✅ {topic-3} - Complete - plan exists
70
+
71
+ Which specification would you like to create a plan for?
72
+ ```
73
+
74
+ **Important:** Only completed specifications should proceed to planning. If a specification is still being built, advise the user to complete the specification phase first.
75
+
76
+ **Auto-select:** If exactly one specification exists, automatically select it and proceed to Step 4. Inform the user which specification was selected. Do not ask for confirmation.
77
+
78
+ Ask: **Which specification would you like to plan?**
79
+
80
+ ## Step 4: Choose Output Destination
81
+
82
+ Ask: **Where should this plan live?**
83
+
84
+ Load **[output-formats.md](../skills/technical-planning/references/output-formats.md)** and present the available formats to help the user choose. Then load the corresponding output adapter for that format's setup requirements.
85
+
86
+ ## Step 5: Gather Additional Context
87
+
88
+ - Any additional context or priorities to consider?
89
+ - Any constraints since the specification was completed?
90
+
91
+ ## Step 6: Invoke Planning Skill
92
+
93
+ Pass to the technical-planning skill with:
94
+ - Specification path
95
+ - Output format chosen
96
+ - Additional context gathered
97
+
98
+ **Example handoff:**
99
+ ```
100
+ Planning session for: {topic}
101
+ Specification: docs/workflow/specification/{topic}.md
102
+ Output format: {format}
103
+
104
+ Begin planning using the technical-planning skill.
105
+ ```
106
+
107
+ ## Notes
108
+
109
+ - Ask questions clearly and wait for responses before proceeding
110
+ - The specification is the sole source of truth for planning - do not reference discussions
111
+ - Commit the plan files when complete
@@ -0,0 +1,38 @@
1
+ ---
2
+ description: Start a research exploration using the technical-research skill. For early-stage ideas, feasibility checks, and broad exploration before formal discussion.
3
+ ---
4
+
5
+ Invoke the **technical-research** skill for this conversation.
6
+
7
+ ## Workflow Context
8
+
9
+ This is **Phase 1** of the six-phase workflow:
10
+
11
+ | Phase | Focus | You |
12
+ |-------|-------|-----|
13
+ | **1. Research** | EXPLORE - ideas, feasibility, market, business | ◀ HERE |
14
+ | 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | |
15
+ | 3. Specification | REFINE - validate into standalone spec | |
16
+ | 4. Planning | HOW - phases, tasks, acceptance criteria | |
17
+ | 5. Implementation | DOING - tests first, then code | |
18
+ | 6. Review | VALIDATING - check work against artifacts | |
19
+
20
+ **Stay in your lane**: Explore freely. This is the time for broad thinking, feasibility checks, and learning. Don't jump to formal discussions or specifications yet.
21
+
22
+ ---
23
+
24
+ Then ask these questions to kickstart the exploration:
25
+
26
+ 1. **What's on your mind?**
27
+ - What idea or topic do you want to explore?
28
+ - What prompted this - a problem, opportunity, curiosity?
29
+
30
+ 2. **What do you already know?**
31
+ - Any initial thoughts or research you've done?
32
+ - Constraints or context I should be aware of?
33
+
34
+ 3. **Where should we start?**
35
+ - Technical feasibility? Market landscape? Business model?
36
+ - Or just talk it through and see where it goes?
37
+
38
+ Ask these questions clearly and wait for responses before proceeding. The skill handles everything else.
@@ -0,0 +1,112 @@
1
+ ---
2
+ description: Start a review session from an existing plan and implementation. Discovers available plans, validates implementation exists, and invokes the technical-review skill.
3
+ ---
4
+
5
+ Invoke the **technical-review** skill for this conversation.
6
+
7
+ ## Workflow Context
8
+
9
+ This is **Phase 6** of the six-phase workflow:
10
+
11
+ | Phase | Focus | You |
12
+ |-------|-------|-----|
13
+ | 1. Research | EXPLORE - ideas, feasibility, market, business | |
14
+ | 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | |
15
+ | 3. Specification | REFINE - validate into standalone spec | |
16
+ | 4. Planning | HOW - phases, tasks, acceptance criteria | |
17
+ | 5. Implementation | DOING - tests first, then code | |
18
+ | **6. Review** | VALIDATING - check work against artifacts | HERE |
19
+
20
+ **Stay in your lane**: Verify that every plan task was implemented, tested adequately, and meets quality standards. Don't fix code - identify problems. You're reviewing, not building.
21
+
22
+ ---
23
+
24
+ ## Instructions
25
+
26
+ Follow these steps EXACTLY as written. Do not skip steps or combine them.
27
+
28
+ Before beginning, discover existing work and gather necessary information.
29
+
30
+ ## Important
31
+
32
+ Use simple, individual commands. Never combine multiple operations into bash loops or one-liners. Execute commands one at a time.
33
+
34
+ ## Step 1: Discover Existing Plans
35
+
36
+ Scan the codebase for plans:
37
+
38
+ 1. **Find plans**: Look in `docs/workflow/planning/`
39
+ - Run `ls docs/workflow/planning/` to list plan files
40
+ - Each file is named `{topic}.md`
41
+
42
+ 2. **Check plan format**: For each plan file
43
+ - Run `head -10 docs/workflow/planning/{topic}.md` to read the frontmatter
44
+ - Note the `format:` field
45
+ - Do NOT use bash loops - run separate `head` commands for each topic
46
+
47
+ ## Step 2: Check Prerequisites
48
+
49
+ **If no plans exist:**
50
+
51
+ ```
52
+ No plans found in docs/workflow/planning/
53
+
54
+ The review phase requires a completed implementation based on a plan. Please run /workflow:start-planning first to create a plan, then /workflow:start-implementation to build it.
55
+ ```
56
+
57
+ Stop here and wait for the user to acknowledge.
58
+
59
+ ## Step 3: Present Options to User
60
+
61
+ Show what you found:
62
+
63
+ ```
64
+ Plans found:
65
+ {topic-1} (format: {format})
66
+ {topic-2} (format: {format})
67
+
68
+ Which plan would you like to review the implementation for?
69
+ ```
70
+
71
+ **Auto-select:** If exactly one plan exists, automatically select it and proceed to Step 4. Inform the user which plan was selected. Do not ask for confirmation.
72
+
73
+ ## Step 4: Identify Implementation Scope
74
+
75
+ Determine what code to review:
76
+
77
+ 1. **Check git status** - See what files have changed
78
+ 2. **Ask user** if unclear:
79
+ - "What code should I review? (all changes, specific directories, or specific files)"
80
+
81
+ ## Step 5: Locate Specification (Optional)
82
+
83
+ Check if a specification exists:
84
+
85
+ 1. **Look for specification**: Check `docs/workflow/specification/{topic}.md`
86
+ 2. **If exists**: Note the path for context
87
+ 3. **If missing**: Proceed without - the plan is the primary review artifact
88
+
89
+ ## Step 6: Invoke Review Skill
90
+
91
+ Pass to the technical-review skill:
92
+ - Plan: `docs/workflow/planning/{topic}.md`
93
+ - Format: (from frontmatter)
94
+ - Specification: `docs/workflow/specification/{topic}.md` (if exists)
95
+ - Implementation scope: (files/directories to review)
96
+
97
+ **Example handoff:**
98
+ ```
99
+ Review session for: {topic}
100
+ Plan: docs/workflow/planning/{topic}.md
101
+ Format: {format}
102
+ Specification: docs/workflow/specification/{topic}.md (or: Not available)
103
+ Scope: {implementation scope}
104
+
105
+ Begin review using the technical-review skill.
106
+ ```
107
+
108
+ ## Notes
109
+
110
+ - Ask questions clearly and wait for responses before proceeding
111
+ - Review produces feedback (approve, request changes, or comments) - it does NOT fix code
112
+ - Verify ALL plan tasks, don't sample
@@ -0,0 +1,106 @@
1
+ ---
2
+ description: Start a specification session from an existing discussion. Discovers available discussions, checks for existing specifications, and invokes the technical-specification skill.
3
+ ---
4
+
5
+ Invoke the **technical-specification** skill for this conversation.
6
+
7
+ ## Workflow Context
8
+
9
+ This is **Phase 3** of the six-phase workflow:
10
+
11
+ | Phase | Focus | You |
12
+ |-------|-------|-----|
13
+ | 1. Research | EXPLORE - ideas, feasibility, market, business | |
14
+ | 2. Discussion | WHAT and WHY - decisions, architecture, edge cases | |
15
+ | **3. Specification** | REFINE - validate into standalone spec | ◀ HERE |
16
+ | 4. Planning | HOW - phases, tasks, acceptance criteria | |
17
+ | 5. Implementation | DOING - tests first, then code | |
18
+ | 6. Review | VALIDATING - check work against artifacts | |
19
+
20
+ **Stay in your lane**: Validate and refine discussion content into a standalone specification. 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.
21
+
22
+ ---
23
+
24
+ ## Instructions
25
+
26
+ Follow these steps EXACTLY as written. Do not skip steps or combine them. Present output using the EXACT format shown in examples - do not simplify or alter the formatting.
27
+
28
+ Before beginning, discover existing work and gather necessary information.
29
+
30
+ ## Important
31
+
32
+ Use simple, individual commands. Never combine multiple operations into bash loops or one-liners. Execute commands one at a time.
33
+
34
+ ## Step 1: Discover Existing Work
35
+
36
+ Scan the codebase for discussions and specifications:
37
+
38
+ 1. **Find discussions**: Look in `docs/workflow/discussion/`
39
+ - Run `ls docs/workflow/discussion/` to list discussion files
40
+ - Each file is named `{topic}.md`
41
+
42
+ 2. **Check discussion status**: For each discussion file
43
+ - Run `head -20 docs/workflow/discussion/{topic}.md` to read the frontmatter and extract the `status:` field
44
+ - Do NOT use bash loops - run separate `head` commands for each topic
45
+
46
+ 3. **Check for existing specifications**: Look in `docs/workflow/specification/`
47
+ - Identify discussions that don't have corresponding specifications
48
+
49
+ ## Step 2: Check Prerequisites
50
+
51
+ **If no discussions exist:**
52
+
53
+ ```
54
+ ⚠️ No discussions found in docs/workflow/discussion/
55
+
56
+ The specification phase requires a completed discussion. Please run /workflow:start-discussion first to document the technical decisions, edge cases, and rationale before creating a specification.
57
+ ```
58
+
59
+ Stop here and wait for the user to acknowledge.
60
+
61
+ ## Step 3: Present Options to User
62
+
63
+ Show what you found using a list like below:
64
+
65
+ ```
66
+ 📂 Discussions found:
67
+ ✅ {topic-1} - Concluded - ready for specification
68
+ ⚠️ {topic-2} - Exploring - not ready for specification
69
+ ✅ {topic-3} - Concluded - specification exists
70
+
71
+ Which discussion would you like to create a specification for?
72
+ ```
73
+
74
+ **Important:** Only concluded discussions should proceed to specification. If a discussion is still exploring, advise the user to complete the discussion phase first.
75
+
76
+ Ask: **Which discussion would you like to specify?**
77
+
78
+ ## Step 4: Gather Additional Context
79
+
80
+ Ask:
81
+ - Any additional context or priorities to consider?
82
+ - Any constraints or changes since the discussion concluded?
83
+ - Are there any existing partial plans or related documentation I should review?
84
+
85
+ ## Step 5: Invoke Specification Skill
86
+
87
+ Pass to the technical-specification skill:
88
+ - Source: `docs/workflow/discussion/{topic}.md`
89
+ - Output: `docs/workflow/specification/{topic}.md`
90
+ - Additional context gathered
91
+
92
+ **Example handoff:**
93
+ ```
94
+ Specification session for: {topic}
95
+ Source: docs/workflow/discussion/{topic}.md
96
+ Output: docs/workflow/specification/{topic}.md
97
+
98
+ Begin specification using the technical-specification skill.
99
+ Reference: specification-guide.md
100
+ ```
101
+
102
+ ## Notes
103
+
104
+ - Ask questions clearly and wait for responses before proceeding
105
+ - The specification phase validates and refines discussion content into a standalone document
106
+ - Commit the specification files frequently during the session
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leeovery/claude-technical-workflows",
3
- "version": "2.0.15",
3
+ "version": "2.0.17",
4
4
  "description": "Technical workflow skills & commands for Claude Code",
5
5
  "license": "MIT",
6
6
  "author": "Lee Overy <me@leeovery.com>",
@@ -7,16 +7,21 @@ description: "Document technical discussions as expert architect and meeting ass
7
7
 
8
8
  Act as **expert software architect** participating in discussions AND **documentation assistant** capturing them. Do both simultaneously. Engage deeply while documenting for planning teams.
9
9
 
10
- ## Six-Phase Workflow
10
+ ## Purpose in the Workflow
11
11
 
12
- 1. **Research** (previous): EXPLORE - ideas, feasibility, market, business, learning
13
- 2. **Discussion** (YOU): WHAT and WHY - decisions, architecture, edge cases
14
- 3. **Specification** (next): REFINE - validate and build standalone spec
15
- 4. **Planning** (after): HOW - phases, tasks, acceptance criteria
16
- 5. **Implementation** (after): DOING - tests first, then code
17
- 6. **Review** (final): VALIDATING - check work against artifacts
12
+ This skill can be used:
13
+ - **Sequentially** (Phase 2): After research to debate and document decisions
14
+ - **Standalone** (Contract entry): To document technical decisions from any source
18
15
 
19
- You're at step 2. Capture context. Don't jump to specs, plans, or code.
16
+ Either way: Capture decisions, rationale, competing approaches, and edge cases.
17
+
18
+ ### What This Skill Needs
19
+
20
+ - **Topic** (required) - What technical area to discuss/document
21
+ - **Context** (optional) - Prior research, constraints, existing decisions
22
+ - **Questions to explore** (optional) - Specific architectural questions to address
23
+
24
+ **If missing:** Will ask user what topic they want to discuss.
20
25
 
21
26
  ## What to Capture
22
27
 
@@ -9,16 +9,23 @@ Act as **expert senior developer** who builds quality software through disciplin
9
9
 
10
10
  Execute plans through strict TDD. Write tests first, then code to pass them.
11
11
 
12
- ## Six-Phase Workflow
12
+ ## Purpose in the Workflow
13
13
 
14
- 1. **Research** (previous): EXPLORE - ideas, feasibility, market, business, learning
15
- 2. **Discussion** (previous): WHAT and WHY - decisions, architecture, rationale
16
- 3. **Specification** (previous): REFINE - validated, standalone specification
17
- 4. **Planning** (previous): HOW - phases, tasks, acceptance criteria
18
- 5. **Implementation** (YOU): DOING - tests first, then code
19
- 6. **Review** (next): VALIDATING - check work against artifacts
14
+ This skill can be used:
15
+ - **Sequentially** (Phase 5): To execute a plan created by technical-planning
16
+ - **Standalone** (Contract entry): To execute any plan that follows plan-format conventions
20
17
 
21
- You're at step 5. Execute the plan. Don't re-debate decisions.
18
+ Either way: Execute via strict TDD - tests first, implementation second.
19
+
20
+ ### What This Skill Needs
21
+
22
+ - **Plan content** (required) - Phases, tasks, and acceptance criteria to execute
23
+ - **Plan format** (required) - How to parse tasks (from plan frontmatter)
24
+ - **Specification content** (optional) - For context when task rationale is unclear
25
+ - **Environment setup** (optional) - First-time setup instructions
26
+ - **Scope** (optional) - Specific phase/task to work on
27
+
28
+ **If missing:** Will ask user for plan location. If no specification, plan becomes sole authority.
22
29
 
23
30
  ## Hard Rules
24
31
 
@@ -51,9 +58,10 @@ Complete ALL setup steps before proceeding to implementation work.
51
58
 
52
59
  See **[environment-setup.md](references/environment-setup.md)** for details.
53
60
 
54
- 2. **Read the plan** from `docs/workflow/planning/{topic}.md`
61
+ 2. **Read the plan** from the provided location (typically `docs/workflow/planning/{topic}.md`)
55
62
  - Check the `format` field in frontmatter
56
63
  - Load the output adapter: `skills/technical-planning/references/output-{format}.md`
64
+ - If no format field, ask user which format the plan uses
57
65
  - Follow the **Implementation** section for how to read tasks and update progress
58
66
 
59
67
  3. **Read the TDD workflow** - Load **[tdd-workflow.md](references/tdd-workflow.md)** before writing any code. This is mandatory.
@@ -85,14 +93,18 @@ Keep user informed of progress:
85
93
 
86
94
  ## When to Reference Specification
87
95
 
88
- Check the specification (`docs/workflow/specification/{topic}.md`) when:
96
+ Check the specification when:
89
97
 
90
98
  - Task rationale is unclear
91
99
  - Multiple valid approaches exist
92
100
  - Edge case handling not specified in plan
93
101
  - You need the "why" behind a decision
94
102
 
95
- The specification is the source of truth. Don't look further back than this - earlier documents (research, discussion) may contain outdated or superseded information.
103
+ **Location**: Specification should be linked in the plan file (check frontmatter or plan header). Ask user if not found.
104
+
105
+ The specification (if available) is the source of truth for design decisions. If no specification exists, the plan is the authority.
106
+
107
+ **Important:** If research or discussion documents exist from earlier workflow phases, ignore them during implementation. They may contain outdated ideas, rejected approaches, or superseded decisions. The specification filtered and validated that content - refer only to the specification and plan.
96
108
 
97
109
  ## Project-Specific Conventions
98
110