@leeovery/claude-technical-workflows 2.1.40 → 2.1.42
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.
- package/README.md +6 -21
- package/agents/implementation-analysis-architecture.md +2 -2
- package/agents/implementation-analysis-duplication.md +2 -2
- package/agents/implementation-analysis-standards.md +2 -2
- package/agents/implementation-analysis-synthesizer.md +3 -3
- package/agents/implementation-analysis-task-writer.md +1 -1
- package/agents/implementation-task-executor.md +3 -0
- package/agents/planning-phase-designer.md +8 -6
- package/agents/planning-task-designer.md +8 -6
- package/agents/review-findings-synthesizer.md +2 -2
- package/agents/review-task-verifier.md +1 -1
- package/hooks/workflows/compact-recovery.sh +1 -1
- package/hooks/workflows/session-cleanup.sh +1 -1
- package/hooks/workflows/write-session-state.sh +1 -1
- package/package.json +1 -1
- package/skills/begin-implementation/SKILL.md +5 -5
- package/skills/begin-planning/SKILL.md +2 -1
- package/skills/begin-review/SKILL.md +1 -1
- package/skills/continue-feature/references/detect-phase.md +5 -5
- package/skills/continue-feature/references/invoke-implementation.md +2 -2
- package/skills/continue-feature/references/invoke-planning.md +2 -2
- package/skills/continue-feature/references/invoke-review.md +2 -2
- package/skills/continue-feature/references/invoke-specification.md +3 -3
- package/skills/continue-feature/scripts/discovery.sh +5 -5
- package/skills/link-dependencies/SKILL.md +5 -5
- package/skills/migrate/SKILL.md +1 -1
- package/skills/migrate/scripts/migrate.sh +56 -25
- package/skills/migrate/scripts/migrations/011-rename-workflow-directory.sh +73 -0
- package/skills/migrate/scripts/migrations/012-environment-setup-to-state.sh +23 -0
- package/skills/start-discussion/SKILL.md +2 -2
- package/skills/start-discussion/references/gather-context-research.md +1 -1
- package/skills/start-discussion/references/handle-selection.md +1 -1
- package/skills/start-discussion/references/invoke-skill.md +3 -3
- package/skills/start-discussion/references/research-analysis.md +3 -3
- package/skills/start-discussion/scripts/discovery.sh +3 -3
- package/skills/start-feature/SKILL.md +5 -5
- package/skills/start-feature/references/phase-bridge.md +1 -1
- package/skills/start-implementation/SKILL.md +6 -6
- package/skills/start-implementation/scripts/discovery.sh +4 -4
- package/skills/start-planning/SKILL.md +5 -3
- package/skills/start-planning/references/display-state.md +31 -1
- package/skills/start-planning/references/invoke-skill.md +3 -3
- package/skills/start-planning/scripts/discovery.sh +32 -3
- package/skills/start-research/SKILL.md +1 -1
- package/skills/start-research/references/invoke-skill.md +1 -1
- package/skills/start-review/SKILL.md +1 -1
- package/skills/start-review/references/invoke-skill.md +4 -4
- package/skills/start-review/scripts/discovery.sh +5 -5
- package/skills/start-specification/SKILL.md +1 -1
- package/skills/start-specification/references/analysis-flow.md +2 -2
- package/skills/start-specification/references/confirm-continue.md +3 -3
- package/skills/start-specification/references/confirm-create.md +2 -2
- package/skills/start-specification/references/confirm-refine.md +1 -1
- package/skills/start-specification/references/confirm-unify.md +2 -2
- package/skills/start-specification/references/display-analyze.md +1 -1
- package/skills/start-specification/references/display-groupings.md +3 -3
- package/skills/start-specification/references/display-specs-menu.md +1 -1
- package/skills/start-specification/references/handoffs/continue-concluded.md +4 -4
- package/skills/start-specification/references/handoffs/continue.md +4 -4
- package/skills/start-specification/references/handoffs/create-with-incorporation.md +5 -5
- package/skills/start-specification/references/handoffs/create.md +4 -4
- package/skills/start-specification/references/handoffs/unify-with-incorporation.md +6 -6
- package/skills/start-specification/references/handoffs/unify.md +4 -4
- package/skills/start-specification/scripts/discovery.sh +3 -3
- package/skills/status/SKILL.md +1 -1
- package/skills/status/scripts/discovery.sh +5 -5
- package/skills/technical-discussion/SKILL.md +3 -3
- package/skills/technical-discussion/references/template.md +2 -2
- package/skills/technical-implementation/SKILL.md +11 -10
- package/skills/technical-implementation/references/analysis-loop.md +45 -9
- package/skills/technical-implementation/references/environment-setup.md +3 -3
- package/skills/technical-implementation/references/invoke-task-writer.md +1 -1
- package/skills/technical-implementation/references/task-loop.md +1 -1
- package/skills/technical-planning/SKILL.md +8 -7
- package/skills/technical-planning/references/analyze-task-graph.md +1 -1
- package/skills/technical-planning/references/author-tasks.md +5 -5
- package/skills/technical-planning/references/define-phases.md +5 -2
- package/skills/technical-planning/references/define-tasks.md +6 -3
- package/skills/technical-planning/references/invoke-review-integrity.md +1 -1
- package/skills/technical-planning/references/invoke-review-traceability.md +1 -1
- package/skills/technical-planning/references/output-formats/local-markdown/about.md +2 -2
- package/skills/technical-planning/references/output-formats/local-markdown/authoring.md +2 -2
- package/skills/technical-planning/references/output-formats/local-markdown/reading.md +3 -3
- package/skills/technical-planning/references/output-formats/local-markdown/updating.md +1 -1
- package/skills/technical-planning/references/output-formats/tick/authoring.md +3 -15
- package/skills/technical-planning/references/phase-design/bugfix.md +75 -0
- package/skills/technical-planning/references/phase-design/feature.md +77 -0
- package/skills/technical-planning/references/phase-design/greenfield.md +75 -0
- package/skills/technical-planning/references/phase-design.md +7 -57
- package/skills/technical-planning/references/plan-index-schema.md +3 -1
- package/skills/technical-planning/references/review-integrity.md +1 -1
- package/skills/technical-planning/references/review-traceability.md +1 -1
- package/skills/technical-planning/references/task-design/bugfix.md +65 -0
- package/skills/technical-planning/references/task-design/feature.md +61 -0
- package/skills/technical-planning/references/task-design/greenfield.md +47 -0
- package/skills/technical-planning/references/task-design.md +6 -39
- package/skills/technical-planning/references/verify-source-material.md +2 -2
- package/skills/technical-research/SKILL.md +2 -2
- package/skills/technical-research/references/interview.md +2 -2
- package/skills/technical-review/SKILL.md +1 -1
- package/skills/technical-review/references/invoke-review-synthesizer.md +3 -3
- package/skills/technical-review/references/invoke-review-task-writer.md +2 -2
- package/skills/technical-review/references/invoke-task-verifiers.md +3 -3
- package/skills/technical-review/references/produce-review.md +1 -1
- package/skills/technical-review/references/review-actions-loop.md +7 -5
- package/skills/technical-specification/SKILL.md +5 -5
- package/skills/technical-specification/references/dependencies.md +2 -2
- package/skills/technical-specification/references/review-tracking-format.md +1 -1
- package/skills/technical-specification/references/specification-format.md +1 -1
- package/skills/technical-specification/references/verify-source-material.md +2 -2
- package/skills/view-plan/SKILL.md +2 -2
|
@@ -107,7 +107,7 @@ No plans exist yet.
|
|
|
107
107
|
```
|
|
108
108
|
Review Overview
|
|
109
109
|
|
|
110
|
-
No plans found in
|
|
110
|
+
No plans found in .workflows/planning/
|
|
111
111
|
|
|
112
112
|
The review phase requires a completed implementation based on a plan.
|
|
113
113
|
Run /start-planning first to create a plan, then /start-implementation
|
|
@@ -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-review/SKILL.md" \
|
|
21
|
-
"
|
|
21
|
+
".workflows/review/{scope}/r{N}/review.md"
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
---
|
|
@@ -34,13 +34,13 @@ Each plan is reviewed independently. When multiple plans are selected, pass all
|
|
|
34
34
|
Review session
|
|
35
35
|
Plans to review:
|
|
36
36
|
- topic: {topic-1}
|
|
37
|
-
plan:
|
|
37
|
+
plan: .workflows/planning/{topic-1}/plan.md
|
|
38
38
|
format: {format}
|
|
39
39
|
plan_id: {plan_id} (if applicable)
|
|
40
40
|
specification: {specification} (exists: {true|false})
|
|
41
41
|
review_version: r{N}
|
|
42
42
|
- topic: {topic-2}
|
|
43
|
-
plan:
|
|
43
|
+
plan: .workflows/planning/{topic-2}/plan.md
|
|
44
44
|
format: {format}
|
|
45
45
|
specification: {specification} (exists: {true|false})
|
|
46
46
|
review_version: r{N}
|
|
@@ -52,7 +52,7 @@ Invoke the technical-review skill.
|
|
|
52
52
|
```
|
|
53
53
|
Analysis session for: {topic}
|
|
54
54
|
Review mode: analysis-only
|
|
55
|
-
Review path:
|
|
55
|
+
Review path: .workflows/review/{topic}/r{N}/
|
|
56
56
|
Format: {format}
|
|
57
57
|
Specification: {spec path}
|
|
58
58
|
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
set -eo pipefail
|
|
9
9
|
|
|
10
|
-
PLAN_DIR="
|
|
11
|
-
SPEC_DIR="
|
|
12
|
-
REVIEW_DIR="
|
|
13
|
-
IMPL_DIR="
|
|
10
|
+
PLAN_DIR=".workflows/planning"
|
|
11
|
+
SPEC_DIR=".workflows/specification"
|
|
12
|
+
REVIEW_DIR=".workflows/review"
|
|
13
|
+
IMPL_DIR=".workflows/implementation"
|
|
14
14
|
|
|
15
15
|
# Helper: Extract a frontmatter field value from a file
|
|
16
16
|
# Usage: extract_field <file> <field_name>
|
|
@@ -78,7 +78,7 @@ if [ -d "$PLAN_DIR" ] && [ -n "$(ls -A "$PLAN_DIR" 2>/dev/null)" ]; then
|
|
|
78
78
|
fi
|
|
79
79
|
|
|
80
80
|
# Check implementation status
|
|
81
|
-
impl_tracking="
|
|
81
|
+
impl_tracking=".workflows/implementation/${name}/tracking.md"
|
|
82
82
|
impl_status="none"
|
|
83
83
|
if [ -f "$impl_tracking" ]; then
|
|
84
84
|
impl_status_val=$(extract_field "$impl_tracking" "status")
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: start-specification
|
|
3
3
|
description: "Start a specification session from concluded discussions. Discovers available discussions, offers consolidation assessment for multiple discussions, and invokes the technical-specification skill."
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
-
allowed-tools: Bash(.claude/skills/start-specification/scripts/discovery.sh), Bash(mkdir -p
|
|
5
|
+
allowed-tools: Bash(.claude/skills/start-specification/scripts/discovery.sh), Bash(mkdir -p .workflows/.state), Bash(rm .workflows/.state/discussion-consolidation-analysis.md), Bash(.claude/hooks/workflows/write-session-state.sh)
|
|
6
6
|
hooks:
|
|
7
7
|
PreToolUse:
|
|
8
8
|
- hooks:
|
|
@@ -65,10 +65,10 @@ When forming groupings:
|
|
|
65
65
|
|
|
66
66
|
Create the cache directory if needed:
|
|
67
67
|
```bash
|
|
68
|
-
mkdir -p
|
|
68
|
+
mkdir -p .workflows/.state
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
Write to
|
|
71
|
+
Write to `.workflows/.state/discussion-consolidation-analysis.md`:
|
|
72
72
|
|
|
73
73
|
```markdown
|
|
74
74
|
---
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
```
|
|
12
12
|
Continuing specification: {Title Case Name}
|
|
13
13
|
|
|
14
|
-
Existing:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
"
|
|
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:
|
|
29
|
+
Continuing existing: .workflows/specification/{kebab-case-name}/specification.md (concluded)
|
|
30
30
|
|
|
31
31
|
New sources to extract:
|
|
32
|
-
-
|
|
32
|
+
- .workflows/discussion/{new-discussion-name}.md
|
|
33
33
|
|
|
34
34
|
Previously extracted (for reference):
|
|
35
|
-
-
|
|
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
|
-
"
|
|
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:
|
|
29
|
+
Continuing existing: .workflows/specification/{kebab-case-name}/specification.md
|
|
30
30
|
|
|
31
31
|
Sources for reference:
|
|
32
|
-
-
|
|
33
|
-
-
|
|
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
|
-
"
|
|
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
|
-
-
|
|
29
|
-
-
|
|
28
|
+
- .workflows/discussion/{discussion-name}.md
|
|
29
|
+
- .workflows/discussion/{discussion-name}.md
|
|
30
30
|
|
|
31
31
|
Existing specifications to incorporate:
|
|
32
|
-
-
|
|
32
|
+
- .workflows/specification/{spec-name}/specification.md (covers: {discussion-name} discussion)
|
|
33
33
|
|
|
34
|
-
Output:
|
|
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
|
-
"
|
|
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
|
-
-
|
|
29
|
-
-
|
|
28
|
+
- .workflows/discussion/{discussion-name}.md
|
|
29
|
+
- .workflows/discussion/{discussion-name}.md
|
|
30
30
|
|
|
31
|
-
Output:
|
|
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
|
-
"
|
|
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
|
-
-
|
|
29
|
-
-
|
|
28
|
+
- .workflows/discussion/{discussion-name}.md
|
|
29
|
+
- .workflows/discussion/{discussion-name}.md
|
|
30
30
|
...
|
|
31
31
|
|
|
32
32
|
Existing specifications to incorporate:
|
|
33
|
-
-
|
|
34
|
-
-
|
|
33
|
+
- .workflows/specification/{spec-name}/specification.md
|
|
34
|
+
- .workflows/specification/{spec-name}/specification.md
|
|
35
35
|
|
|
36
|
-
Output:
|
|
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
|
-
"
|
|
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
|
-
-
|
|
29
|
-
-
|
|
28
|
+
- .workflows/discussion/{discussion-name}.md
|
|
29
|
+
- .workflows/discussion/{discussion-name}.md
|
|
30
30
|
...
|
|
31
31
|
|
|
32
|
-
Output:
|
|
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="
|
|
12
|
-
SPEC_DIR="
|
|
13
|
-
CACHE_FILE="
|
|
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>
|
package/skills/status/SKILL.md
CHANGED
|
@@ -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
|
|
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="
|
|
12
|
-
DISCUSSION_DIR="
|
|
13
|
-
SPEC_DIR="
|
|
14
|
-
PLAN_DIR="
|
|
15
|
-
IMPL_DIR="
|
|
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
|
|
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**:
|
|
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
|
|
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
|
|
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:
|
|
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
|
|
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.,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
148
|
+
#### If `.workflows/implementation/{topic}/tracking.md` already exists
|
|
149
149
|
|
|
150
|
-
Reset `task_gate_mode` and `
|
|
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
|
|
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 (
|
|
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
|