@leeovery/claude-technical-workflows 2.1.40 → 2.1.41

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 (110) hide show
  1. package/README.md +1 -1
  2. package/agents/implementation-analysis-architecture.md +2 -2
  3. package/agents/implementation-analysis-duplication.md +2 -2
  4. package/agents/implementation-analysis-standards.md +2 -2
  5. package/agents/implementation-analysis-synthesizer.md +3 -3
  6. package/agents/implementation-analysis-task-writer.md +1 -1
  7. package/agents/implementation-task-executor.md +3 -0
  8. package/agents/planning-phase-designer.md +8 -6
  9. package/agents/planning-task-designer.md +8 -6
  10. package/agents/review-findings-synthesizer.md +2 -2
  11. package/agents/review-task-verifier.md +1 -1
  12. package/hooks/workflows/compact-recovery.sh +1 -1
  13. package/hooks/workflows/session-cleanup.sh +1 -1
  14. package/hooks/workflows/write-session-state.sh +1 -1
  15. package/package.json +1 -1
  16. package/skills/begin-implementation/SKILL.md +5 -5
  17. package/skills/begin-planning/SKILL.md +2 -1
  18. package/skills/begin-review/SKILL.md +1 -1
  19. package/skills/continue-feature/references/detect-phase.md +5 -5
  20. package/skills/continue-feature/references/invoke-implementation.md +2 -2
  21. package/skills/continue-feature/references/invoke-planning.md +2 -2
  22. package/skills/continue-feature/references/invoke-review.md +2 -2
  23. package/skills/continue-feature/references/invoke-specification.md +3 -3
  24. package/skills/continue-feature/scripts/discovery.sh +5 -5
  25. package/skills/link-dependencies/SKILL.md +5 -5
  26. package/skills/migrate/SKILL.md +1 -1
  27. package/skills/migrate/scripts/migrate.sh +56 -25
  28. package/skills/migrate/scripts/migrations/011-rename-workflow-directory.sh +73 -0
  29. package/skills/migrate/scripts/migrations/012-environment-setup-to-state.sh +23 -0
  30. package/skills/start-discussion/SKILL.md +2 -2
  31. package/skills/start-discussion/references/gather-context-research.md +1 -1
  32. package/skills/start-discussion/references/handle-selection.md +1 -1
  33. package/skills/start-discussion/references/invoke-skill.md +3 -3
  34. package/skills/start-discussion/references/research-analysis.md +3 -3
  35. package/skills/start-discussion/scripts/discovery.sh +3 -3
  36. package/skills/start-feature/SKILL.md +5 -5
  37. package/skills/start-feature/references/phase-bridge.md +1 -1
  38. package/skills/start-implementation/SKILL.md +6 -6
  39. package/skills/start-implementation/scripts/discovery.sh +4 -4
  40. package/skills/start-planning/SKILL.md +5 -3
  41. package/skills/start-planning/references/display-state.md +31 -1
  42. package/skills/start-planning/references/invoke-skill.md +3 -3
  43. package/skills/start-planning/scripts/discovery.sh +32 -3
  44. package/skills/start-research/SKILL.md +1 -1
  45. package/skills/start-research/references/invoke-skill.md +1 -1
  46. package/skills/start-review/SKILL.md +1 -1
  47. package/skills/start-review/references/invoke-skill.md +4 -4
  48. package/skills/start-review/scripts/discovery.sh +5 -5
  49. package/skills/start-specification/SKILL.md +1 -1
  50. package/skills/start-specification/references/analysis-flow.md +2 -2
  51. package/skills/start-specification/references/confirm-continue.md +3 -3
  52. package/skills/start-specification/references/confirm-create.md +2 -2
  53. package/skills/start-specification/references/confirm-refine.md +1 -1
  54. package/skills/start-specification/references/confirm-unify.md +2 -2
  55. package/skills/start-specification/references/display-analyze.md +1 -1
  56. package/skills/start-specification/references/display-groupings.md +3 -3
  57. package/skills/start-specification/references/display-specs-menu.md +1 -1
  58. package/skills/start-specification/references/handoffs/continue-concluded.md +4 -4
  59. package/skills/start-specification/references/handoffs/continue.md +4 -4
  60. package/skills/start-specification/references/handoffs/create-with-incorporation.md +5 -5
  61. package/skills/start-specification/references/handoffs/create.md +4 -4
  62. package/skills/start-specification/references/handoffs/unify-with-incorporation.md +6 -6
  63. package/skills/start-specification/references/handoffs/unify.md +4 -4
  64. package/skills/start-specification/scripts/discovery.sh +3 -3
  65. package/skills/status/SKILL.md +1 -1
  66. package/skills/status/scripts/discovery.sh +5 -5
  67. package/skills/technical-discussion/SKILL.md +3 -3
  68. package/skills/technical-discussion/references/template.md +2 -2
  69. package/skills/technical-implementation/SKILL.md +11 -10
  70. package/skills/technical-implementation/references/analysis-loop.md +45 -9
  71. package/skills/technical-implementation/references/environment-setup.md +3 -3
  72. package/skills/technical-implementation/references/invoke-task-writer.md +1 -1
  73. package/skills/technical-implementation/references/task-loop.md +1 -1
  74. package/skills/technical-planning/SKILL.md +8 -7
  75. package/skills/technical-planning/references/analyze-task-graph.md +1 -1
  76. package/skills/technical-planning/references/author-tasks.md +5 -5
  77. package/skills/technical-planning/references/define-phases.md +5 -2
  78. package/skills/technical-planning/references/define-tasks.md +6 -3
  79. package/skills/technical-planning/references/invoke-review-integrity.md +1 -1
  80. package/skills/technical-planning/references/invoke-review-traceability.md +1 -1
  81. package/skills/technical-planning/references/output-formats/local-markdown/about.md +2 -2
  82. package/skills/technical-planning/references/output-formats/local-markdown/authoring.md +2 -2
  83. package/skills/technical-planning/references/output-formats/local-markdown/reading.md +3 -3
  84. package/skills/technical-planning/references/output-formats/local-markdown/updating.md +1 -1
  85. package/skills/technical-planning/references/phase-design/bugfix.md +75 -0
  86. package/skills/technical-planning/references/phase-design/feature.md +77 -0
  87. package/skills/technical-planning/references/phase-design/greenfield.md +75 -0
  88. package/skills/technical-planning/references/phase-design.md +7 -57
  89. package/skills/technical-planning/references/plan-index-schema.md +3 -1
  90. package/skills/technical-planning/references/review-integrity.md +1 -1
  91. package/skills/technical-planning/references/review-traceability.md +1 -1
  92. package/skills/technical-planning/references/task-design/bugfix.md +65 -0
  93. package/skills/technical-planning/references/task-design/feature.md +61 -0
  94. package/skills/technical-planning/references/task-design/greenfield.md +47 -0
  95. package/skills/technical-planning/references/task-design.md +6 -39
  96. package/skills/technical-planning/references/verify-source-material.md +2 -2
  97. package/skills/technical-research/SKILL.md +2 -2
  98. package/skills/technical-research/references/interview.md +2 -2
  99. package/skills/technical-review/SKILL.md +1 -1
  100. package/skills/technical-review/references/invoke-review-synthesizer.md +3 -3
  101. package/skills/technical-review/references/invoke-review-task-writer.md +2 -2
  102. package/skills/technical-review/references/invoke-task-verifiers.md +3 -3
  103. package/skills/technical-review/references/produce-review.md +1 -1
  104. package/skills/technical-review/references/review-actions-loop.md +7 -5
  105. package/skills/technical-specification/SKILL.md +5 -5
  106. package/skills/technical-specification/references/dependencies.md +2 -2
  107. package/skills/technical-specification/references/review-tracking-format.md +1 -1
  108. package/skills/technical-specification/references/specification-format.md +1 -1
  109. package/skills/technical-specification/references/verify-source-material.md +2 -2
  110. package/skills/view-plan/SKILL.md +2 -2
@@ -11,7 +11,7 @@
11
11
  ```
12
12
  Continuing specification: {Title Case Name}
13
13
 
14
- Existing: docs/workflow/specification/{kebab-case-name}/specification.md (in-progress)
14
+ Existing: .workflows/specification/{kebab-case-name}/specification.md (in-progress)
15
15
 
16
16
  Sources to extract:
17
17
  • {discussion-name} (pending)
@@ -37,7 +37,7 @@ Proceed?
37
37
  ```
38
38
  Continuing specification: {Title Case Name}
39
39
 
40
- Existing: docs/workflow/specification/{kebab-case-name}/specification.md (in-progress)
40
+ Existing: .workflows/specification/{kebab-case-name}/specification.md (in-progress)
41
41
 
42
42
  All sources extracted:
43
43
  • {discussion-name}
@@ -61,7 +61,7 @@ Proceed?
61
61
  ```
62
62
  Continuing specification: {Title Case Name}
63
63
 
64
- Existing: docs/workflow/specification/{kebab-case-name}/specification.md (concluded)
64
+ Existing: .workflows/specification/{kebab-case-name}/specification.md (concluded)
65
65
 
66
66
  New sources to extract:
67
67
  • {discussion-name} (pending)
@@ -15,7 +15,7 @@ Sources:
15
15
  • {discussion-name}
16
16
  • {discussion-name}
17
17
 
18
- Output: docs/workflow/specification/{kebab-case-name}/specification.md
18
+ Output: .workflows/specification/{kebab-case-name}/specification.md
19
19
  ```
20
20
 
21
21
  > *Output the next fenced block as markdown (not a code block):*
@@ -41,7 +41,7 @@ Sources:
41
41
  • {discussion-name} (has individual spec — will be incorporated)
42
42
  • {discussion-name}
43
43
 
44
- Output: docs/workflow/specification/{kebab-case-name}/specification.md
44
+ Output: .workflows/specification/{kebab-case-name}/specification.md
45
45
 
46
46
  After completion:
47
47
  specification/{discussion-name}/specification.md → marked as superseded
@@ -9,7 +9,7 @@
9
9
  ```
10
10
  Refining specification: {Title Case Name}
11
11
 
12
- Existing: docs/workflow/specification/{kebab-case-name}/specification.md (concluded)
12
+ Existing: .workflows/specification/{kebab-case-name}/specification.md (concluded)
13
13
 
14
14
  All sources extracted:
15
15
  • {discussion-name}
@@ -20,7 +20,7 @@ Existing specifications to incorporate:
20
20
  • {spec-name}/specification.md → will be superseded
21
21
  • {spec-name}/specification.md → will be superseded
22
22
 
23
- Output: docs/workflow/specification/unified/specification.md
23
+ Output: .workflows/specification/unified/specification.md
24
24
  ```
25
25
 
26
26
  > *Output the next fenced block as markdown (not a code block):*
@@ -45,7 +45,7 @@ Sources:
45
45
  • {discussion-name}
46
46
  ...
47
47
 
48
- Output: docs/workflow/specification/unified/specification.md
48
+ Output: .workflows/specification/unified/specification.md
49
49
  ```
50
50
 
51
51
  > *Output the next fenced block as markdown (not a code block):*
@@ -87,7 +87,7 @@ Proceed with analysis?
87
87
 
88
88
  If cache is stale, delete it first:
89
89
  ```bash
90
- rm docs/workflow/.state/discussion-consolidation-analysis.md
90
+ rm .workflows/.state/discussion-consolidation-analysis.md
91
91
  ```
92
92
 
93
93
  → Load **[analysis-flow.md](analysis-flow.md)** and follow its instructions.
@@ -8,7 +8,7 @@ Shows when cache is valid (directly from routing) or after analysis completes. T
8
8
 
9
9
  ## A. Load Groupings
10
10
 
11
- Load groupings from `docs/workflow/.state/discussion-consolidation-analysis.md`. Parse the `### {Name}` headings and their discussion lists.
11
+ Load groupings from `.workflows/.state/discussion-consolidation-analysis.md`. Parse the `### {Name}` headings and their discussion lists.
12
12
 
13
13
  → Proceed to **B. Determine Discussion Status**.
14
14
 
@@ -160,7 +160,7 @@ Every meta option (Unify, Re-analyze) MUST include its description lines.
160
160
 
161
161
  #### If user picks "Unify all"
162
162
 
163
- Update the cache: rewrite `docs/workflow/.state/discussion-consolidation-analysis.md` with a single "Unified" grouping containing all concluded discussions. Keep the same checksum, update the generated timestamp. Add note: `Custom groupings confirmed by user (unified).`
163
+ Update the cache: rewrite `.workflows/.state/discussion-consolidation-analysis.md` with a single "Unified" grouping containing all concluded discussions. Keep the same checksum, update the generated timestamp. Add note: `Custom groupings confirmed by user (unified).`
164
164
 
165
165
  Spec name: "Unified". Sources: all concluded discussions.
166
166
 
@@ -170,7 +170,7 @@ Spec name: "Unified". Sources: all concluded discussions.
170
170
 
171
171
  Delete the cache:
172
172
  ```bash
173
- rm docs/workflow/.state/discussion-consolidation-analysis.md
173
+ rm .workflows/.state/discussion-consolidation-analysis.md
174
174
  ```
175
175
 
176
176
  → Load **[analysis-flow.md](analysis-flow.md)** and follow its instructions.
@@ -139,7 +139,7 @@ Menu descriptions are wrapped in backticks to visually distinguish them from the
139
139
 
140
140
  If cache is stale, delete it first:
141
141
  ```bash
142
- rm docs/workflow/.state/discussion-consolidation-analysis.md
142
+ rm .workflows/.state/discussion-consolidation-analysis.md
143
143
  ```
144
144
 
145
145
  → Load **[analysis-flow.md](analysis-flow.md)** and follow its instructions.
@@ -18,7 +18,7 @@ Saving session state so Claude can pick up where it left off if the conversation
18
18
  .claude/hooks/workflows/write-session-state.sh \
19
19
  "{topic}" \
20
20
  "skills/technical-specification/SKILL.md" \
21
- "docs/workflow/specification/{topic}/specification.md"
21
+ ".workflows/specification/{topic}/specification.md"
22
22
  ```
23
23
 
24
24
  This skill's purpose is now fulfilled. Invoke the [technical-specification](../../../technical-specification/SKILL.md) skill for your next instructions. Do not act on the gathered information until the skill is loaded — it contains the instructions for how to proceed.
@@ -26,13 +26,13 @@ This skill's purpose is now fulfilled. Invoke the [technical-specification](../.
26
26
  ```
27
27
  Specification session for: {Title Case Name}
28
28
 
29
- Continuing existing: docs/workflow/specification/{kebab-case-name}/specification.md (concluded)
29
+ Continuing existing: .workflows/specification/{kebab-case-name}/specification.md (concluded)
30
30
 
31
31
  New sources to extract:
32
- - docs/workflow/discussion/{new-discussion-name}.md
32
+ - .workflows/discussion/{new-discussion-name}.md
33
33
 
34
34
  Previously extracted (for reference):
35
- - docs/workflow/discussion/{existing-discussion-name}.md
35
+ - .workflows/discussion/{existing-discussion-name}.md
36
36
 
37
37
  Context: This specification was previously concluded. New source discussions have been identified. Extract and incorporate their content while maintaining consistency with the existing specification.
38
38
 
@@ -18,7 +18,7 @@ Saving session state so Claude can pick up where it left off if the conversation
18
18
  .claude/hooks/workflows/write-session-state.sh \
19
19
  "{topic}" \
20
20
  "skills/technical-specification/SKILL.md" \
21
- "docs/workflow/specification/{topic}/specification.md"
21
+ ".workflows/specification/{topic}/specification.md"
22
22
  ```
23
23
 
24
24
  This skill's purpose is now fulfilled. Invoke the [technical-specification](../../../technical-specification/SKILL.md) skill for your next instructions. Do not act on the gathered information until the skill is loaded — it contains the instructions for how to proceed.
@@ -26,11 +26,11 @@ This skill's purpose is now fulfilled. Invoke the [technical-specification](../.
26
26
  ```
27
27
  Specification session for: {Title Case Name}
28
28
 
29
- Continuing existing: docs/workflow/specification/{kebab-case-name}/specification.md
29
+ Continuing existing: .workflows/specification/{kebab-case-name}/specification.md
30
30
 
31
31
  Sources for reference:
32
- - docs/workflow/discussion/{discussion-name}.md
33
- - docs/workflow/discussion/{discussion-name}.md
32
+ - .workflows/discussion/{discussion-name}.md
33
+ - .workflows/discussion/{discussion-name}.md
34
34
 
35
35
  Context: This specification already exists. Review and refine it based on the source discussions.
36
36
 
@@ -16,7 +16,7 @@ Saving session state so Claude can pick up where it left off if the conversation
16
16
  .claude/hooks/workflows/write-session-state.sh \
17
17
  "{topic}" \
18
18
  "skills/technical-specification/SKILL.md" \
19
- "docs/workflow/specification/{topic}/specification.md"
19
+ ".workflows/specification/{topic}/specification.md"
20
20
  ```
21
21
 
22
22
  This skill's purpose is now fulfilled. Invoke the [technical-specification](../../../technical-specification/SKILL.md) skill for your next instructions. Do not act on the gathered information until the skill is loaded — it contains the instructions for how to proceed.
@@ -25,13 +25,13 @@ This skill's purpose is now fulfilled. Invoke the [technical-specification](../.
25
25
  Specification session for: {Title Case Name}
26
26
 
27
27
  Source discussions:
28
- - docs/workflow/discussion/{discussion-name}.md
29
- - docs/workflow/discussion/{discussion-name}.md
28
+ - .workflows/discussion/{discussion-name}.md
29
+ - .workflows/discussion/{discussion-name}.md
30
30
 
31
31
  Existing specifications to incorporate:
32
- - docs/workflow/specification/{spec-name}/specification.md (covers: {discussion-name} discussion)
32
+ - .workflows/specification/{spec-name}/specification.md (covers: {discussion-name} discussion)
33
33
 
34
- Output: docs/workflow/specification/{kebab-case-name}/specification.md
34
+ Output: .workflows/specification/{kebab-case-name}/specification.md
35
35
 
36
36
  Context: This consolidates multiple sources. The existing {spec-name}.md specification should be incorporated - extract and adapt its content alongside the discussion material. The result should be a unified specification, not a simple merge.
37
37
 
@@ -16,7 +16,7 @@ Saving session state so Claude can pick up where it left off if the conversation
16
16
  .claude/hooks/workflows/write-session-state.sh \
17
17
  "{topic}" \
18
18
  "skills/technical-specification/SKILL.md" \
19
- "docs/workflow/specification/{topic}/specification.md"
19
+ ".workflows/specification/{topic}/specification.md"
20
20
  ```
21
21
 
22
22
  This skill's purpose is now fulfilled. Invoke the [technical-specification](../../../technical-specification/SKILL.md) skill for your next instructions. Do not act on the gathered information until the skill is loaded — it contains the instructions for how to proceed.
@@ -25,10 +25,10 @@ This skill's purpose is now fulfilled. Invoke the [technical-specification](../.
25
25
  Specification session for: {Title Case Name}
26
26
 
27
27
  Sources:
28
- - docs/workflow/discussion/{discussion-name}.md
29
- - docs/workflow/discussion/{discussion-name}.md
28
+ - .workflows/discussion/{discussion-name}.md
29
+ - .workflows/discussion/{discussion-name}.md
30
30
 
31
- Output: docs/workflow/specification/{kebab-case-name}/specification.md
31
+ Output: .workflows/specification/{kebab-case-name}/specification.md
32
32
 
33
33
  ---
34
34
  Invoke the technical-specification skill.
@@ -16,7 +16,7 @@ Saving session state so Claude can pick up where it left off if the conversation
16
16
  .claude/hooks/workflows/write-session-state.sh \
17
17
  "unified" \
18
18
  "skills/technical-specification/SKILL.md" \
19
- "docs/workflow/specification/unified/specification.md"
19
+ ".workflows/specification/unified/specification.md"
20
20
  ```
21
21
 
22
22
  This skill's purpose is now fulfilled. Invoke the [technical-specification](../../../technical-specification/SKILL.md) skill for your next instructions. Do not act on the gathered information until the skill is loaded — it contains the instructions for how to proceed.
@@ -25,15 +25,15 @@ This skill's purpose is now fulfilled. Invoke the [technical-specification](../.
25
25
  Specification session for: Unified
26
26
 
27
27
  Source discussions:
28
- - docs/workflow/discussion/{discussion-name}.md
29
- - docs/workflow/discussion/{discussion-name}.md
28
+ - .workflows/discussion/{discussion-name}.md
29
+ - .workflows/discussion/{discussion-name}.md
30
30
  ...
31
31
 
32
32
  Existing specifications to incorporate:
33
- - docs/workflow/specification/{spec-name}/specification.md
34
- - docs/workflow/specification/{spec-name}/specification.md
33
+ - .workflows/specification/{spec-name}/specification.md
34
+ - .workflows/specification/{spec-name}/specification.md
35
35
 
36
- Output: docs/workflow/specification/unified/specification.md
36
+ Output: .workflows/specification/unified/specification.md
37
37
 
38
38
  Context: This consolidates all discussions into a single unified specification. The existing specifications should be incorporated - extract and adapt their content alongside the discussion material.
39
39
 
@@ -16,7 +16,7 @@ Saving session state so Claude can pick up where it left off if the conversation
16
16
  .claude/hooks/workflows/write-session-state.sh \
17
17
  "unified" \
18
18
  "skills/technical-specification/SKILL.md" \
19
- "docs/workflow/specification/unified/specification.md"
19
+ ".workflows/specification/unified/specification.md"
20
20
  ```
21
21
 
22
22
  This skill's purpose is now fulfilled. Invoke the [technical-specification](../../../technical-specification/SKILL.md) skill for your next instructions. Do not act on the gathered information until the skill is loaded — it contains the instructions for how to proceed.
@@ -25,11 +25,11 @@ This skill's purpose is now fulfilled. Invoke the [technical-specification](../.
25
25
  Specification session for: Unified
26
26
 
27
27
  Sources:
28
- - docs/workflow/discussion/{discussion-name}.md
29
- - docs/workflow/discussion/{discussion-name}.md
28
+ - .workflows/discussion/{discussion-name}.md
29
+ - .workflows/discussion/{discussion-name}.md
30
30
  ...
31
31
 
32
- Output: docs/workflow/specification/unified/specification.md
32
+ Output: .workflows/specification/unified/specification.md
33
33
 
34
34
  ---
35
35
  Invoke the technical-specification skill.
@@ -8,9 +8,9 @@
8
8
 
9
9
  set -eo pipefail
10
10
 
11
- DISCUSSION_DIR="docs/workflow/discussion"
12
- SPEC_DIR="docs/workflow/specification"
13
- CACHE_FILE="docs/workflow/.state/discussion-consolidation-analysis.md"
11
+ DISCUSSION_DIR=".workflows/discussion"
12
+ SPEC_DIR=".workflows/specification"
13
+ CACHE_FILE=".workflows/.state/discussion-consolidation-analysis.md"
14
14
 
15
15
  # Helper: Extract a frontmatter field value from a file
16
16
  # Usage: extract_field <file> <field_name>
@@ -72,7 +72,7 @@ Only show lines for phases that have content. If a phase has zero items but a la
72
72
  ```
73
73
  Workflow Status
74
74
 
75
- No workflow files found in docs/workflow/
75
+ No workflow files found in .workflows/
76
76
 
77
77
  Start with /start-research to explore ideas,
78
78
  or /start-discussion if you already know what to build.
@@ -8,11 +8,11 @@
8
8
 
9
9
  set -eo pipefail
10
10
 
11
- RESEARCH_DIR="docs/workflow/research"
12
- DISCUSSION_DIR="docs/workflow/discussion"
13
- SPEC_DIR="docs/workflow/specification"
14
- PLAN_DIR="docs/workflow/planning"
15
- IMPL_DIR="docs/workflow/implementation"
11
+ RESEARCH_DIR=".workflows/research"
12
+ DISCUSSION_DIR=".workflows/discussion"
13
+ SPEC_DIR=".workflows/specification"
14
+ PLAN_DIR=".workflows/planning"
15
+ IMPL_DIR=".workflows/implementation"
16
16
 
17
17
  # Helper: Extract a frontmatter field value from a file
18
18
  # Usage: extract_field <file> <field_name>
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: technical-discussion
3
- description: "Document technical discussions as expert architect and meeting assistant. Capture context, decisions, edge cases, debates, and rationale without jumping to specification or implementation. Use when: (1) Users discuss/explore/debate architecture or design, (2) Working through edge cases before specification, (3) Need to document technical decisions and their rationale, (4) Capturing competing solutions and why choices were made. Creates documentation in docs/workflow/discussion/{topic}.md that can be used to build validated specifications."
3
+ description: "Document technical discussions as expert architect and meeting assistant. Capture context, decisions, edge cases, debates, and rationale without jumping to specification or implementation. Use when: (1) Users discuss/explore/debate architecture or design, (2) Working through edge cases before specification, (3) Need to document technical decisions and their rationale, (4) Capturing competing solutions and why choices were made. Creates documentation in .workflows/discussion/{topic}.md that can be used to build validated specifications."
4
4
  user-invocable: false
5
5
  ---
6
6
 
@@ -76,7 +76,7 @@ See **[meeting-assistant.md](references/meeting-assistant.md)** for detailed app
76
76
 
77
77
  ## Structure
78
78
 
79
- **Output**: `docs/workflow/discussion/{topic}.md`
79
+ **Output**: `.workflows/discussion/{topic}.md`
80
80
 
81
81
  Use **[template.md](references/template.md)** for structure:
82
82
 
@@ -135,7 +135,7 @@ Incorporate the user's context into the discussion, commit, then re-present the
135
135
 
136
136
  1. Update frontmatter `status: concluded`
137
137
  2. Final commit
138
- 3. Check for remaining in-progress discussions in `docs/workflow/discussion/`
138
+ 3. Check for remaining in-progress discussions in `.workflows/discussion/`
139
139
 
140
140
  **If other in-progress discussions exist:**
141
141
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  ---
6
6
 
7
- Standard structure for `docs/workflow/discussion/{topic}.md`. DOCUMENT only - no plans or code.
7
+ Standard structure for `.workflows/discussion/{topic}.md`. DOCUMENT only - no plans or code.
8
8
 
9
9
  This is a single file per topic.
10
10
 
@@ -98,7 +98,7 @@ What we chose, why, the deciding factor, trade-offs accepted, confidence level.
98
98
  ## Usage Notes
99
99
 
100
100
  **When creating**:
101
- 1. Ensure discussion directory exists: `docs/workflow/discussion/`
101
+ 1. Ensure discussion directory exists: `.workflows/discussion/`
102
102
  2. Create file: `{topic}.md`
103
103
  3. Fill frontmatter: topic, status, date
104
104
  4. Start with context: why discussing?
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: technical-implementation
3
- description: "Orchestrate implementation of plans using agent-based TDD workflow with per-task review and approval gate (auto mode available). Use when: (1) Implementing a plan from docs/workflow/planning/{topic}/plan.md, (2) User says 'implement', 'build', or 'code this' with a plan available, (3) Ad hoc coding that should follow TDD and quality standards, (4) Bug fixes or features benefiting from structured implementation. Dispatches executor and reviewer agents per task, commits after review approval."
3
+ description: "Orchestrate implementation of plans using agent-based TDD workflow with per-task review and approval gate (auto mode available). Use when: (1) Implementing a plan from .workflows/planning/{topic}/plan.md, (2) User says 'implement', 'build', or 'code this' with a plan available, (3) Ad hoc coding that should follow TDD and quality standards, (4) Bug fixes or features benefiting from structured implementation. Dispatches executor and reviewer agents per task, commits after review approval."
4
4
  user-invocable: false
5
5
  ---
6
6
 
@@ -36,7 +36,7 @@ Either way: dispatch agents per task — executor implements via TDD, reviewer v
36
36
 
37
37
  ```
38
38
  I need an implementation plan to execute. Could you point me to the plan file
39
- (e.g., docs/workflow/planning/{topic}/plan.md)?
39
+ (e.g., .workflows/planning/{topic}/plan.md)?
40
40
  ```
41
41
 
42
42
  **STOP.** Wait for user response.
@@ -73,7 +73,7 @@ Context refresh (compaction) summarizes the conversation, losing procedural deta
73
73
 
74
74
  1. **Re-read this skill file completely.** Do not rely on your summary of it. The full process, steps, and rules must be reloaded.
75
75
  2. **Check task progress in the plan** — use the plan adapter's instructions to read the plan's current state. Also read the implementation tracking file and any other working documents for additional context.
76
- 3. **Check `task_gate_mode`, `fix_gate_mode`, `fix_attempts`, and `analysis_cycle`** in the tracking file — if gates are `auto`, the user previously opted out. If `fix_attempts` > 0, you're mid-fix-loop for the current task. If `analysis_cycle` > 0, you've completed analysis cycles — check for findings files on disk (`analysis-*-c{cycle-number}.md` in `{topic}/`) to determine mid-analysis state.
76
+ 3. **Check `task_gate_mode`, `fix_gate_mode`, `analysis_gate_mode`, `fix_attempts`, and `analysis_cycle`** in the tracking file — if gates are `auto`, the user previously opted out. If `fix_attempts` > 0, you're mid-fix-loop for the current task. If `analysis_cycle` > 0, you've completed analysis cycles — check for findings files on disk (`analysis-*-c{cycle-number}.md` in `{topic}/`) to determine mid-analysis state.
77
77
  4. **Check git state.** Run `git status` and `git log --oneline -10` to see recent commits. Commit messages follow a conventional pattern that reveals what was completed.
78
78
  5. **Announce your position** to the user before continuing: what step you believe you're at, what's been completed, and what comes next. Wait for confirmation.
79
79
 
@@ -101,7 +101,7 @@ Complete ALL setup steps before proceeding.
101
101
 
102
102
  Load **[environment-setup.md](references/environment-setup.md)** and follow its instructions.
103
103
 
104
- #### If `docs/workflow/environment-setup.md` states "No special setup required"
104
+ #### If `.workflows/environment-setup.md` states "No special setup required"
105
105
 
106
106
  → Proceed to **Step 2**.
107
107
 
@@ -122,7 +122,7 @@ I should follow before implementing?
122
122
 
123
123
  **STOP.** Wait for user response.
124
124
 
125
- Save their instructions to `docs/workflow/environment-setup.md` (or "No special setup required." if none needed). Commit.
125
+ Save their instructions to `.workflows/environment-setup.md` (or "No special setup required." if none needed). Commit.
126
126
 
127
127
  → Proceed to **Step 2**.
128
128
 
@@ -130,7 +130,7 @@ Save their instructions to `docs/workflow/environment-setup.md` (or "No special
130
130
 
131
131
  ## Step 2: Read Plan + Load Plan Adapter
132
132
 
133
- 1. Read the plan from the provided location (typically `docs/workflow/planning/{topic}/plan.md`)
133
+ 1. Read the plan from the provided location (typically `.workflows/planning/{topic}/plan.md`)
134
134
  2. Plans can be stored in various formats. The `format` field in the plan's frontmatter identifies which format this plan uses.
135
135
  3. Load the format's per-concern adapter files from `../technical-planning/references/output-formats/{format}/`:
136
136
  - **reading.md** — how to read tasks from the plan
@@ -145,15 +145,15 @@ Save their instructions to `docs/workflow/environment-setup.md` (or "No special
145
145
 
146
146
  ## Step 3: Initialize Implementation Tracking
147
147
 
148
- #### If `docs/workflow/implementation/{topic}/tracking.md` already exists
148
+ #### If `.workflows/implementation/{topic}/tracking.md` already exists
149
149
 
150
- Reset `task_gate_mode` and `fix_gate_mode` to `gated`, `fix_attempts` to `0`, and `analysis_cycle` to `0` (fresh session = fresh gates/cycles).
150
+ Reset `task_gate_mode`, `fix_gate_mode`, and `analysis_gate_mode` to `gated`, `fix_attempts` to `0`, and `analysis_cycle` to `0` (fresh session = fresh gates/cycles).
151
151
 
152
152
  → Proceed to **Step 4**.
153
153
 
154
154
  #### If no tracking file exists
155
155
 
156
- Create `docs/workflow/implementation/{topic}/tracking.md`:
156
+ Create `.workflows/implementation/{topic}/tracking.md`:
157
157
 
158
158
  ```yaml
159
159
  ---
@@ -163,6 +163,7 @@ format: {format from plan}
163
163
  status: in-progress
164
164
  task_gate_mode: gated
165
165
  fix_gate_mode: gated
166
+ analysis_gate_mode: gated
166
167
  fix_attempts: 0
167
168
  linters: []
168
169
  analysis_cycle: 0
@@ -325,7 +326,7 @@ Discuss the user's context. If additional work is needed, route back to **Step 6
325
326
 
326
327
  #### If yes
327
328
 
328
- Update the tracking file (`docs/workflow/implementation/{topic}/tracking.md`):
329
+ Update the tracking file (`.workflows/implementation/{topic}/tracking.md`):
329
330
  - Set `status: completed`
330
331
  - Set `completed: YYYY-MM-DD` (use today's actual date)
331
332
  - Update `updated` date
@@ -121,18 +121,26 @@ impl({topic}): analysis cycle {N} — synthesis
121
121
 
122
122
  ## E. Approval Gate
123
123
 
124
- Read the staging file from `docs/workflow/implementation/{topic}/analysis-tasks-c{cycle-number}.md`.
124
+ Read the staging file from `.workflows/implementation/{topic}/analysis-tasks-c{cycle-number}.md`.
125
+
126
+ Check `analysis_gate_mode` in the implementation tracking file (`gated` or `auto`).
125
127
 
126
128
  Present an overview:
127
129
 
128
- **Analysis cycle {N}: {K} proposed tasks**
130
+ > *Output the next fenced block as a code block:*
131
+
132
+ ```
133
+ Analysis cycle {N}: {K} proposed tasks
129
134
 
130
- 1. {title} ({severity})
131
- 2. {title} ({severity})
132
- ...
135
+ 1. {title} ({severity})
136
+ 2. {title} ({severity})
137
+ ```
133
138
 
134
139
  Then present each task with `status: pending` individually:
135
140
 
141
+ > *Output the next fenced block as markdown (not a code block):*
142
+
143
+ ```
136
144
  **Task {current}/{total}: {title}** ({severity})
137
145
  Sources: {sources}
138
146
 
@@ -148,12 +156,18 @@ Sources: {sources}
148
156
 
149
157
  **Tests**:
150
158
  {tests}
159
+ ```
160
+
161
+ #### If `analysis_gate_mode: gated`
151
162
 
152
163
  > *Output the next fenced block as markdown (not a code block):*
153
164
 
154
165
  ```
155
166
  · · · · · · · · · · · ·
156
- - **`a`/`approve`** — Approve this task
167
+ Approve this task?
168
+
169
+ - **`y`/`yes`** — Approve this task
170
+ - **`a`/`auto`** — Approve this and all remaining tasks automatically
157
171
  - **`s`/`skip`** — Skip this task
158
172
  - **Comment** — Revise based on feedback
159
173
  · · · · · · · · · · · ·
@@ -161,12 +175,34 @@ Sources: {sources}
161
175
 
162
176
  **STOP.** Wait for user input.
163
177
 
164
- #### If `approve`
178
+ #### If `analysis_gate_mode: auto`
179
+
180
+ Update `status: approved` in the staging file. Note that `analysis_gate_mode` should be updated to `auto` in the tracking file during the next commit.
181
+
182
+ > *Output the next fenced block as a code block:*
183
+
184
+ ```
185
+ Task {current} of {total}: {title} — approved (auto).
186
+ ```
187
+
188
+ → Continue to next task without stopping.
189
+
190
+ ---
191
+
192
+ Process user input:
193
+
194
+ #### If `yes`
165
195
 
166
196
  Update `status: approved` in the staging file.
167
197
 
168
198
  → Present the next pending task, or proceed to routing below if all tasks processed.
169
199
 
200
+ #### If `auto`
201
+
202
+ Update `status: approved` in the staging file. Note that `analysis_gate_mode` should be updated to `auto` in the tracking file during the next commit.
203
+
204
+ → Continue processing remaining tasks without stopping.
205
+
170
206
  #### If `skip`
171
207
 
172
208
  Update `status: skipped` in the staging file.
@@ -185,7 +221,7 @@ After all tasks processed:
185
221
 
186
222
  → If all tasks were skipped:
187
223
 
188
- Commit the staging file updates:
224
+ Commit the staging file updates (include tracking file if `analysis_gate_mode` was updated):
189
225
 
190
226
  ```
191
227
  impl({topic}): analysis cycle {N} — tasks skipped
@@ -201,7 +237,7 @@ Load **[invoke-task-writer.md](invoke-task-writer.md)** and follow its instructi
201
237
 
202
238
  **STOP.** Do not proceed until the task writer has returned.
203
239
 
204
- Commit all analysis and plan changes (staging file, plan tasks, Plan Index File):
240
+ Commit all analysis and plan changes (staging file, plan tasks, Plan Index File, and tracking file if `analysis_gate_mode` was updated):
205
241
 
206
242
  ```
207
243
  impl({topic}): add analysis phase {N} ({K} tasks)
@@ -17,7 +17,7 @@ Before starting implementation, ensure the environment is ready. This step runs
17
17
 
18
18
  ## Setup Document Location
19
19
 
20
- Look for: `docs/workflow/environment-setup.md`
20
+ Look for: `.workflows/environment-setup.md`
21
21
 
22
22
  This file contains natural language instructions for setting up the implementation environment. It's project-specific.
23
23
 
@@ -42,9 +42,9 @@ Ask the user:
42
42
 
43
43
  If they provide instructions, offer to save them:
44
44
 
45
- > "Would you like me to save these instructions to `docs/workflow/environment-setup.md` for future sessions?"
45
+ > "Would you like me to save these instructions to `.workflows/environment-setup.md` for future sessions?"
46
46
 
47
- If they say no setup is needed, create `docs/workflow/environment-setup.md` with "No special setup required." and commit. This prevents asking the same question in future sessions.
47
+ If they say no setup is needed, create `.workflows/environment-setup.md` with "No special setup required." and commit. This prevents asking the same question in future sessions.
48
48
 
49
49
  ## No Setup Required
50
50
 
@@ -15,7 +15,7 @@ This step invokes the task writer agent to create plan tasks from approved analy
15
15
  Pass via the orchestrator's prompt:
16
16
 
17
17
  1. **Topic name** — the implementation topic
18
- 2. **Staging file path** — `docs/workflow/implementation/{topic}/analysis-tasks-c{cycle-number}.md`
18
+ 2. **Staging file path** — `.workflows/implementation/{topic}/analysis-tasks-c{cycle-number}.md`
19
19
  3. **Plan path** — the implementation plan path
20
20
  4. **Plan format reading adapter path** — `../../technical-planning/references/output-formats/{format}/reading.md`
21
21
  5. **Plan format authoring adapter path** — `../../technical-planning/references/output-formats/{format}/authoring.md`
@@ -178,7 +178,7 @@ Check the `task_gate_mode` field in the implementation tracking file.
178
178
  - If the format's updating.md includes a **Phase / Parent Status** section, follow its phase completion instructions
179
179
  - Append the phase number to `completed_phases` in the tracking file
180
180
 
181
- **Mirror to implementation tracking file** (`docs/workflow/implementation/{topic}/tracking.md`):
181
+ **Mirror to implementation tracking file** (`.workflows/implementation/{topic}/tracking.md`):
182
182
  - Append the task ID to `completed_tasks`
183
183
  - Update `current_phase` if phase changed
184
184
  - Update `current_task` to the next task (or `~` if done)