@leeovery/claude-technical-workflows 2.1.5 → 2.1.7
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/agents/implementation-polish.md +5 -10
- package/agents/implementation-task-executor.md +5 -14
- package/agents/implementation-task-reviewer.md +2 -16
- package/package.json +1 -1
- package/skills/link-dependencies/SKILL.md +2 -2
- package/skills/migrate/SKILL.md +2 -2
- package/skills/start-discussion/SKILL.md +2 -2
- package/skills/start-implementation/SKILL.md +2 -2
- package/skills/start-planning/SKILL.md +2 -2
- package/skills/start-review/SKILL.md +2 -2
- package/skills/start-specification/SKILL.md +2 -2
- package/skills/technical-discussion/SKILL.md +1 -0
- package/skills/technical-implementation/SKILL.md +5 -6
- package/skills/technical-implementation/references/code-quality.md +0 -10
- package/skills/technical-implementation/references/environment-setup.md +1 -1
- package/skills/technical-implementation/references/steps/invoke-executor.md +5 -9
- package/skills/technical-implementation/references/steps/invoke-polish.md +6 -7
- package/skills/technical-implementation/references/steps/invoke-reviewer.md +2 -6
- package/skills/technical-implementation/references/steps/task-loop.md +1 -15
- package/skills/technical-planning/SKILL.md +1 -0
- package/skills/technical-planning/references/steps/analyze-task-graph.md +1 -1
- package/skills/technical-planning/references/steps/author-tasks.md +4 -4
- package/skills/technical-planning/references/steps/define-phases.md +4 -4
- package/skills/technical-planning/references/steps/define-tasks.md +3 -3
- package/skills/technical-research/SKILL.md +1 -0
- package/skills/technical-review/SKILL.md +1 -0
- package/skills/technical-specification/SKILL.md +1 -0
- package/skills/view-plan/SKILL.md +1 -1
|
@@ -20,12 +20,11 @@ You receive file paths and context via the orchestrator's prompt:
|
|
|
20
20
|
3. **Specification path** — What was intended — design decisions and rationale
|
|
21
21
|
4. **Plan file path** — What was built — the full task landscape
|
|
22
22
|
5. **Plan format reading.md path** — How to read tasks from the plan (format-specific adapter)
|
|
23
|
-
6. **
|
|
24
|
-
7. **Project skill paths** — Framework conventions
|
|
23
|
+
6. **Project skill paths** — Framework conventions
|
|
25
24
|
|
|
26
25
|
On **re-invocation after user feedback**, additionally include:
|
|
27
26
|
|
|
28
|
-
|
|
27
|
+
7. **User feedback** — the user's comments on what to change or focus on
|
|
29
28
|
|
|
30
29
|
## Hard Rules
|
|
31
30
|
|
|
@@ -50,7 +49,6 @@ Read and absorb the following. Do not write any code or dispatch any agents duri
|
|
|
50
49
|
3. **Read project skills** — absorb framework conventions
|
|
51
50
|
4. **Read the plan format's reading.md** — understand how to retrieve tasks from the plan
|
|
52
51
|
5. **Read the plan** — follow the reading adapter's instructions to retrieve all completed tasks. Understand the full scope: phases, tasks, acceptance criteria, what was built
|
|
53
|
-
6. **Read the integration context file** — understand patterns, helpers, and conventions from all tasks
|
|
54
52
|
|
|
55
53
|
→ Proceed to **Step 2**.
|
|
56
54
|
|
|
@@ -58,7 +56,7 @@ Read and absorb the following. Do not write any code or dispatch any agents duri
|
|
|
58
56
|
|
|
59
57
|
## Step 2: Identify Implementation Scope
|
|
60
58
|
|
|
61
|
-
Find all files changed during implementation. Use git history
|
|
59
|
+
Find all files changed during implementation. Use git history and the plan's task list to build a complete picture of what was touched. Read and understand the full implemented codebase.
|
|
62
60
|
|
|
63
61
|
Build a definitive list of implementation files. This list is passed to analysis sub-agents in subsequent steps.
|
|
64
62
|
|
|
@@ -127,14 +125,12 @@ Craft a task description covering the prioritized fixes. Include the following *
|
|
|
127
125
|
- Modify existing tests for mechanical changes (renames, moves) — yes
|
|
128
126
|
- Modify existing tests semantically (different behavior) — no. If a refactor breaks existing tests, the refactor is wrong. Revert it.
|
|
129
127
|
|
|
130
|
-
Invoke the `implementation-task-executor` agent (
|
|
128
|
+
Invoke the `implementation-task-executor` agent (`implementation-task-executor.md`) with:
|
|
131
129
|
- The crafted task description (including test rules) as task content
|
|
132
130
|
- tdd-workflow.md path
|
|
133
131
|
- code-quality.md path
|
|
134
132
|
- Specification path (if available)
|
|
135
133
|
- Project skill paths
|
|
136
|
-
- Plan file path
|
|
137
|
-
- Integration context file path
|
|
138
134
|
|
|
139
135
|
**STOP.** Do not proceed until the executor has returned its result.
|
|
140
136
|
|
|
@@ -144,11 +140,10 @@ On receipt of result, route on STATUS:
|
|
|
144
140
|
|
|
145
141
|
### F. Invoke Reviewer
|
|
146
142
|
|
|
147
|
-
Invoke the `implementation-task-reviewer` agent (
|
|
143
|
+
Invoke the `implementation-task-reviewer` agent (`implementation-task-reviewer.md`) to independently verify the executor's work. Include the test rules in the reviewer's prompt so it can flag violations. Pass:
|
|
148
144
|
- Specification path
|
|
149
145
|
- The same task description used for the executor (including test rules)
|
|
150
146
|
- Project skill paths
|
|
151
|
-
- Integration context file path
|
|
152
147
|
|
|
153
148
|
**STOP.** Do not proceed until the reviewer has returned its result.
|
|
154
149
|
|
|
@@ -18,12 +18,10 @@ You receive file paths and context via the orchestrator's prompt:
|
|
|
18
18
|
3. **Specification path** — For context when rationale is unclear
|
|
19
19
|
4. **Project skill paths** — Relevant `.claude/skills/` paths for framework conventions
|
|
20
20
|
5. **Task content** — Task ID, phase, and all instructional content: goal, implementation steps, acceptance criteria, tests, edge cases, context, notes. This is your scope.
|
|
21
|
-
6. **Plan file path** — The implementation plan, for understanding the overall task landscape and where this task fits
|
|
22
|
-
7. **Integration context file path** (if exists) — Accumulated notes from prior tasks about established patterns, conventions, and decisions
|
|
23
21
|
|
|
24
22
|
On **re-invocation after review feedback**, you receive all of the above, plus:
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
6. **User-approved review notes** — may be the reviewer's original notes, modified by user, or user's own notes
|
|
24
|
+
7. **Specific issues to address**
|
|
27
25
|
|
|
28
26
|
You are stateless — each invocation starts fresh. The full task content is always provided so you can see what was asked, what was done, and what needs fixing.
|
|
29
27
|
|
|
@@ -33,14 +31,10 @@ You are stateless — each invocation starts fresh. The full task content is alw
|
|
|
33
31
|
2. **Read code-quality.md** — absorb quality standards
|
|
34
32
|
3. **Read project skills** — absorb framework conventions, testing patterns, architecture patterns
|
|
35
33
|
4. **Read specification** (if provided) — understand broader context for this task
|
|
36
|
-
5. **Explore codebase** —
|
|
37
|
-
- If an integration context file was provided, read it first — identify helpers, patterns, and conventions you must reuse before writing anything new
|
|
38
|
-
- Skim the plan file to understand the task landscape — what's been built, what's coming, where your task fits. Use this for awareness, not to build ahead (YAGNI still applies)
|
|
34
|
+
5. **Explore codebase** — understand what exists before writing anything:
|
|
39
35
|
- Read files and tests related to the task's domain
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
- Match conventions established in the codebase: error message style, naming patterns, file organisation, type placement
|
|
43
|
-
- Your code should read as if the same developer wrote the entire codebase
|
|
36
|
+
- Identify patterns, conventions, and structures you'll need to follow or extend
|
|
37
|
+
- Check for existing code that the task builds on or integrates with
|
|
44
38
|
6. **Execute TDD cycle** — follow the process in tdd-workflow.md for each acceptance criterion and test case.
|
|
45
39
|
7. **Verify all acceptance criteria met** — every criterion from the task must be satisfied
|
|
46
40
|
8. **Return structured result**
|
|
@@ -81,10 +75,7 @@ FILES_CHANGED: {list of files created/modified}
|
|
|
81
75
|
TESTS_WRITTEN: {list of test files/methods}
|
|
82
76
|
TEST_RESULTS: {all passing | failures — details}
|
|
83
77
|
ISSUES: {any concerns, blockers, or deviations discovered}
|
|
84
|
-
INTEGRATION_NOTES:
|
|
85
|
-
- {3-5 concise bullet points: key patterns, helpers, conventions, interface decisions established by this task. Anchor to concrete file paths where applicable (e.g., "Created `ValidationHelper` in `src/helpers/validation.ts` — use for all input validation"), but high-level observations without a specific file reference are also valuable}
|
|
86
78
|
```
|
|
87
79
|
|
|
88
80
|
- If STATUS is `blocked` or `failed`, ISSUES **must** explain why and what decision is needed.
|
|
89
81
|
- If STATUS is `complete`, all acceptance criteria must be met and all tests passing.
|
|
90
|
-
- After completing the task, document what you created or established that future tasks should be aware of in INTEGRATION_NOTES. This is factual — what exists and why — not evaluative.
|
|
@@ -18,7 +18,6 @@ You receive via the orchestrator's prompt:
|
|
|
18
18
|
1. **Specification path** — The validated specification for design decision context
|
|
19
19
|
2. **Task content** — Same task content the executor received: task ID, phase, and all instructional content
|
|
20
20
|
3. **Project skill paths** — Relevant `.claude/skills/` paths for checking framework convention adherence
|
|
21
|
-
4. **Integration context file path** (if exists) — Accumulated notes from prior tasks, for evaluating cohesion with established patterns
|
|
22
21
|
|
|
23
22
|
## Your Process
|
|
24
23
|
|
|
@@ -26,7 +25,7 @@ You receive via the orchestrator's prompt:
|
|
|
26
25
|
2. **Check unstaged changes** — use `git diff` and `git status` to identify files changed by the executor
|
|
27
26
|
3. **Read all changed files** — implementation code and test code
|
|
28
27
|
4. **Read project skills** — understand framework conventions, testing patterns, architecture patterns
|
|
29
|
-
5. **Evaluate all
|
|
28
|
+
5. **Evaluate all five review dimensions** (see below)
|
|
30
29
|
|
|
31
30
|
## Review Dimensions
|
|
32
31
|
|
|
@@ -63,15 +62,6 @@ Is this a sound design decision? Will it compose well with future tasks?
|
|
|
63
62
|
- Will this cause problems for subsequent tasks in the phase?
|
|
64
63
|
- Are there structural concerns that should be raised now rather than compounding?
|
|
65
64
|
|
|
66
|
-
### 6. Codebase Cohesion
|
|
67
|
-
Does the new code integrate well with the existing codebase? If integration context exists from prior tasks, check against established patterns.
|
|
68
|
-
- Is there duplicated logic that should be extracted into a shared helper?
|
|
69
|
-
- Are existing helpers and patterns being reused where applicable?
|
|
70
|
-
- Are naming conventions consistent with existing code?
|
|
71
|
-
- Are error message conventions consistent (casing, wrapping style, prefixes)?
|
|
72
|
-
- Do interfaces use concrete types rather than generic/any types where possible?
|
|
73
|
-
- Are related types co-located with the interfaces or functions they serve?
|
|
74
|
-
|
|
75
65
|
## Fix Recommendations (needs-changes only)
|
|
76
66
|
|
|
77
67
|
When your verdict is `needs-changes`, you must also recommend how to fix each issue. You have full context — the spec, the task, the conventions, and the code — so use it.
|
|
@@ -96,7 +86,7 @@ When alternatives exist, explain the tradeoff briefly — don't just list option
|
|
|
96
86
|
2. **No git writes** — Do not commit or stage. Reading git history and diffs is fine. The orchestrator handles all git writes.
|
|
97
87
|
3. **One task only** — You review exactly one plan task per invocation.
|
|
98
88
|
4. **Independent judgement** — Evaluate the code yourself. Do not trust the executor's self-assessment.
|
|
99
|
-
5. **All
|
|
89
|
+
5. **All five dimensions** — Evaluate spec conformance, acceptance criteria, test adequacy, convention adherence, and architectural quality.
|
|
100
90
|
6. **Be specific** — Include file paths and line numbers for every issue. Vague findings are not actionable.
|
|
101
91
|
7. **Proportional** — Prioritize by impact. Don't nitpick style when the architecture is wrong.
|
|
102
92
|
8. **Task scope only** — Only review what's in the task. Don't flag issues outside the task's scope.
|
|
@@ -113,7 +103,6 @@ ACCEPTANCE_CRITERIA: {all met | gaps — list}
|
|
|
113
103
|
TEST_COVERAGE: {adequate | gaps — list}
|
|
114
104
|
CONVENTIONS: {followed | violations — list}
|
|
115
105
|
ARCHITECTURE: {sound | concerns — details}
|
|
116
|
-
CODEBASE_COHESION: {cohesive | concerns — details}
|
|
117
106
|
ISSUES:
|
|
118
107
|
- {specific issue with file:line reference}
|
|
119
108
|
FIX: {recommended approach}
|
|
@@ -121,12 +110,9 @@ ISSUES:
|
|
|
121
110
|
CONFIDENCE: {high | medium | low}
|
|
122
111
|
NOTES:
|
|
123
112
|
- {non-blocking observations}
|
|
124
|
-
COHESION_NOTES:
|
|
125
|
-
- {2-4 concise bullet points: patterns to maintain, conventions confirmed, architectural integration observations}
|
|
126
113
|
```
|
|
127
114
|
|
|
128
115
|
- If VERDICT is `approved`, omit ISSUES entirely (or leave empty)
|
|
129
116
|
- If VERDICT is `needs-changes`, ISSUES must contain specific, actionable items with file:line references AND fix recommendations
|
|
130
117
|
- Each issue must include FIX and CONFIDENCE. ALTERNATIVE is optional — include only when genuinely multiple valid approaches exist
|
|
131
118
|
- NOTES are for non-blocking observations — things worth noting but not requiring changes
|
|
132
|
-
- COHESION_NOTES are always included — they capture patterns and conventions observed for future task context
|
package/package.json
CHANGED
|
@@ -102,7 +102,7 @@ For each unresolved dependency:
|
|
|
102
102
|
|
|
103
103
|
2. **If plan exists**: Load the format's reading reference
|
|
104
104
|
- Read `format:` from the dependency plan's frontmatter
|
|
105
|
-
- Load
|
|
105
|
+
- Load `../technical-planning/references/output-formats/{format}/reading.md`
|
|
106
106
|
- Use the task extraction instructions to search for matching tasks
|
|
107
107
|
|
|
108
108
|
3. **Handle ambiguous matches**:
|
|
@@ -117,7 +117,7 @@ For each resolved match:
|
|
|
117
117
|
- Change the dependency's `state: unresolved` to `state: resolved` and add `task_id: {task-id}`
|
|
118
118
|
|
|
119
119
|
2. **Create dependency in output format**:
|
|
120
|
-
- Load
|
|
120
|
+
- Load `../technical-planning/references/output-formats/{format}/graph.md`
|
|
121
121
|
- Follow the "Adding a Dependency" section to create the blocking relationship
|
|
122
122
|
|
|
123
123
|
## Step 6: Bidirectional Check
|
package/skills/migrate/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: migrate
|
|
3
3
|
description: "Run migrations to keep workflow files in sync with the current system design. This skill is mandatory before running any workflow skill."
|
|
4
|
-
allowed-tools: Bash(
|
|
4
|
+
allowed-tools: Bash(../../scripts/migrate.sh)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Migrate
|
|
@@ -13,7 +13,7 @@ Keeps your workflow files up to date with how the system is designed to work. Ru
|
|
|
13
13
|
Run the migration script:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
|
|
16
|
+
../../scripts/migrate.sh
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
### If files were updated
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: start-discussion
|
|
3
3
|
description: "Start a technical discussion. Discovers research and existing discussions, offers multiple entry paths, and invokes the technical-discussion skill."
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
-
allowed-tools: Bash(
|
|
5
|
+
allowed-tools: Bash(../../scripts/discovery-for-discussion.sh), Bash(mkdir -p docs/workflow/.cache), Bash(rm docs/workflow/.cache/research-analysis.md)
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Invoke the **technical-discussion** skill for this conversation.
|
|
@@ -55,7 +55,7 @@ Invoke the `/migrate` skill and assess its output.
|
|
|
55
55
|
Run the discovery script to gather current state:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
|
|
58
|
+
../../scripts/discovery-for-discussion.sh
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
This outputs structured YAML. Parse it to understand:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: start-implementation
|
|
3
3
|
description: "Start an implementation session from an existing plan. Discovers available plans, checks environment setup, and invokes the technical-implementation skill."
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
-
allowed-tools: Bash(
|
|
5
|
+
allowed-tools: Bash(../../scripts/discovery-for-implementation-and-review.sh)
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Invoke the **technical-implementation** skill for this conversation.
|
|
@@ -55,7 +55,7 @@ Invoke the `/migrate` skill and assess its output.
|
|
|
55
55
|
Run the discovery script to gather current state:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
|
|
58
|
+
../../scripts/discovery-for-implementation-and-review.sh
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
This outputs structured YAML. Parse it to understand:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: start-planning
|
|
3
3
|
description: "Start a planning session from an existing specification. Discovers available specifications, gathers context, and invokes the technical-planning skill."
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
-
allowed-tools: Bash(
|
|
5
|
+
allowed-tools: Bash(../../scripts/discovery-for-planning.sh)
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Invoke the **technical-planning** skill for this conversation.
|
|
@@ -55,7 +55,7 @@ Invoke the `/migrate` skill and assess its output.
|
|
|
55
55
|
Run the discovery script to gather current state:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
|
|
58
|
+
../../scripts/discovery-for-planning.sh
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
This outputs structured YAML. Parse it to understand:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: start-review
|
|
3
3
|
description: "Start a review session from an existing plan and implementation. Discovers available plans, validates implementation exists, and invokes the technical-review skill."
|
|
4
4
|
disable-model-invocation: true
|
|
5
|
-
allowed-tools: Bash(
|
|
5
|
+
allowed-tools: Bash(../../scripts/discovery-for-implementation-and-review.sh)
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Invoke the **technical-review** skill for this conversation.
|
|
@@ -55,7 +55,7 @@ Invoke the `/migrate` skill and assess its output.
|
|
|
55
55
|
Run the discovery script to gather current state:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
|
|
58
|
+
../../scripts/discovery-for-implementation-and-review.sh
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
This outputs structured YAML. Parse it to understand:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: start-specification
|
|
3
3
|
description: "Start a specification session from existing 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(
|
|
5
|
+
allowed-tools: Bash(../../scripts/discovery-for-specification.sh), Bash(mkdir -p docs/workflow/.cache), Bash(rm docs/workflow/.cache/discussion-consolidation-analysis.md)
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Invoke the **technical-specification** skill for this conversation.
|
|
@@ -55,7 +55,7 @@ Invoke the `/migrate` skill and assess its output.
|
|
|
55
55
|
Run the discovery script to gather current state:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
|
|
58
|
+
../../scripts/discovery-for-specification.sh
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
This outputs structured YAML. Parse it to understand:
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: technical-discussion
|
|
3
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."
|
|
4
|
+
user-invocable: false
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Technical Discussion
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: technical-implementation
|
|
3
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}.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
|
+
user-invocable: false
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Technical Implementation
|
|
7
8
|
|
|
8
9
|
Orchestrate implementation by dispatching **executor** and **reviewer** agents per task. Each agent invocation starts fresh — flat context, no accumulated state.
|
|
9
10
|
|
|
10
|
-
- **Executor** (
|
|
11
|
-
- **Reviewer** (
|
|
11
|
+
- **Executor** (`../../agents/implementation-task-executor.md`) — implements one task via strict TDD
|
|
12
|
+
- **Reviewer** (`../../agents/implementation-task-reviewer.md`) — independently verifies the task (opus)
|
|
12
13
|
|
|
13
14
|
The orchestrator owns: plan reading, task extraction, agent invocation, git operations, tracking, task gates.
|
|
14
15
|
|
|
@@ -100,7 +101,7 @@ Save their instructions to `docs/workflow/environment-setup.md` (or "No special
|
|
|
100
101
|
|
|
101
102
|
1. Read the plan from the provided location (typically `docs/workflow/planning/{topic}.md`)
|
|
102
103
|
2. Plans can be stored in various formats. The `format` field in the plan's frontmatter identifies which format this plan uses.
|
|
103
|
-
3. Load the format's per-concern adapter files from
|
|
104
|
+
3. Load the format's per-concern adapter files from `../technical-planning/references/output-formats/{format}/`:
|
|
104
105
|
- **reading.md** — how to read tasks from the plan
|
|
105
106
|
- **updating.md** — how to write progress to the plan
|
|
106
107
|
4. If no `format` field exists, ask the user which format the plan uses.
|
|
@@ -195,8 +196,6 @@ After creating the file, populate `project_skills` with the paths confirmed in S
|
|
|
195
196
|
|
|
196
197
|
Commit: `impl({topic}): start implementation`
|
|
197
198
|
|
|
198
|
-
Integration context will accumulate in `docs/workflow/implementation/{topic}-context.md` as tasks complete. This file is created automatically during the task loop — no initialisation needed here.
|
|
199
|
-
|
|
200
199
|
→ Proceed to **Step 5**.
|
|
201
200
|
|
|
202
201
|
---
|
|
@@ -304,4 +303,4 @@ Commit: `impl({topic}): complete implementation`
|
|
|
304
303
|
- **[task-normalisation.md](references/task-normalisation.md)** — Normalised task shape for agent invocation
|
|
305
304
|
- **[tdd-workflow.md](references/tdd-workflow.md)** — TDD cycle (passed to executor agent)
|
|
306
305
|
- **[code-quality.md](references/code-quality.md)** — Quality standards (passed to executor agent)
|
|
307
|
-
|
|
306
|
+
|
|
@@ -37,15 +37,5 @@ Only implement what's in the plan. Ask: "Is this in the plan?"
|
|
|
37
37
|
- Long parameter lists (4+)
|
|
38
38
|
- Boolean parameters
|
|
39
39
|
|
|
40
|
-
## Convention Consistency
|
|
41
|
-
|
|
42
|
-
When adding to an existing codebase, match what's already there:
|
|
43
|
-
- **Error messages**: Match the casing, wrapping style, and prefix patterns in existing code
|
|
44
|
-
- **Naming**: Follow the project's conventions for files, functions, types, and variables
|
|
45
|
-
- **File organisation**: Follow the project's pattern for splitting concerns across files
|
|
46
|
-
- **Helpers**: Search for existing helpers before creating new ones. After creating one, check if existing code could use it too
|
|
47
|
-
- **Types**: Prefer concrete types over generic/any types when the set of possibilities is known. Use structured return types over multiple bare return values for extensibility
|
|
48
|
-
- **Co-location**: Keep related types near the interfaces or functions they serve
|
|
49
|
-
|
|
50
40
|
## Project Standards
|
|
51
41
|
Check `.claude/skills/` for project-specific patterns.
|
|
@@ -55,7 +55,7 @@ If the environment setup document contains only "No special setup required" (or
|
|
|
55
55
|
Some plan formats require specific tools. Check the plan's `format` field and load the format's about file for setup instructions:
|
|
56
56
|
|
|
57
57
|
```
|
|
58
|
-
|
|
58
|
+
../../technical-planning/references/output-formats/{format}/about.md
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
Each format's about.md contains prerequisites and installation instructions.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
This step invokes the `implementation-task-executor` agent (
|
|
7
|
+
This step invokes the `implementation-task-executor` agent (`../../../../agents/implementation-task-executor.md`) to implement one task.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -12,17 +12,15 @@ This step invokes the `implementation-task-executor` agent (`.claude/agents/impl
|
|
|
12
12
|
|
|
13
13
|
**Every invocation** — initial or re-attempt — includes these file paths:
|
|
14
14
|
|
|
15
|
-
1. **tdd-workflow.md**:
|
|
16
|
-
2. **code-quality.md**:
|
|
15
|
+
1. **tdd-workflow.md**: `../tdd-workflow.md`
|
|
16
|
+
2. **code-quality.md**: `../code-quality.md`
|
|
17
17
|
3. **Specification path**: from the plan's frontmatter (if available)
|
|
18
18
|
4. **Project skill paths**: from `project_skills` in the implementation tracking file
|
|
19
19
|
5. **Task content**: normalised task content (see [task-normalisation.md](../task-normalisation.md))
|
|
20
|
-
6. **Plan file path**: the implementation plan (same path used to read tasks)
|
|
21
|
-
7. **Integration context file** (if exists): `docs/workflow/implementation/{topic}-context.md`
|
|
22
20
|
|
|
23
21
|
**Re-attempts after review feedback** additionally include:
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
6. **User-approved review notes**: verbatim or as modified by the user
|
|
23
|
+
7. **Specific issues to address**: the ISSUES from the review
|
|
26
24
|
|
|
27
25
|
The executor is stateless — each invocation starts fresh with no memory of previous attempts. Always pass the full task content so the executor can see what was asked, what was done, and what needs fixing.
|
|
28
26
|
|
|
@@ -38,8 +36,6 @@ TASK: {task name}
|
|
|
38
36
|
SUMMARY: {2-5 lines — commentary, decisions made, anything off-script}
|
|
39
37
|
TEST_RESULTS: {all passing | failures — details only if failures}
|
|
40
38
|
ISSUES: {blockers or deviations — omit if none}
|
|
41
|
-
INTEGRATION_NOTES:
|
|
42
|
-
- {3-5 bullets: patterns, helpers, conventions established — anchor to file paths where applicable}
|
|
43
39
|
```
|
|
44
40
|
|
|
45
41
|
- `complete`: all acceptance criteria met, tests passing
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
This step invokes the `implementation-polish` agent (
|
|
7
|
+
This step invokes the `implementation-polish` agent (`../../../../agents/implementation-polish.md`) to perform holistic quality analysis and orchestrate fixes after all tasks are complete.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -12,17 +12,16 @@ This step invokes the `implementation-polish` agent (`.claude/agents/implementat
|
|
|
12
12
|
|
|
13
13
|
**Every invocation** includes these file paths:
|
|
14
14
|
|
|
15
|
-
1. **code-quality.md**:
|
|
16
|
-
2. **tdd-workflow.md**:
|
|
15
|
+
1. **code-quality.md**: `../code-quality.md`
|
|
16
|
+
2. **tdd-workflow.md**: `../tdd-workflow.md`
|
|
17
17
|
3. **Specification path**: from the plan's frontmatter (if available)
|
|
18
18
|
4. **Plan file path**: the implementation plan
|
|
19
|
-
5. **Plan format reading.md**:
|
|
20
|
-
6. **
|
|
21
|
-
7. **Project skill paths**: from `project_skills` in the implementation tracking file
|
|
19
|
+
5. **Plan format reading.md**: `../../../technical-planning/references/output-formats/{format}/reading.md` (format from plan frontmatter)
|
|
20
|
+
6. **Project skill paths**: from `project_skills` in the implementation tracking file
|
|
22
21
|
|
|
23
22
|
**Re-invocation after user feedback** additionally includes:
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
7. **User feedback**: the user's comments on what to change or focus on
|
|
26
25
|
|
|
27
26
|
The polish agent is stateless — each invocation starts fresh. Always pass all inputs.
|
|
28
27
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
This step invokes the `implementation-task-reviewer` agent (
|
|
7
|
+
This step invokes the `implementation-task-reviewer` agent (`../../../../agents/implementation-task-reviewer.md`) to independently verify a completed task.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -15,7 +15,6 @@ Invoke `implementation-task-reviewer` with:
|
|
|
15
15
|
1. **Specification path**: same path given to the executor
|
|
16
16
|
2. **Task content**: same normalised task content the executor received
|
|
17
17
|
3. **Project skill paths**: from `project_skills` in the implementation tracking file
|
|
18
|
-
4. **Integration context file** (if exists): `docs/workflow/implementation/{topic}-context.md` — for checking cohesion with established patterns
|
|
19
18
|
|
|
20
19
|
---
|
|
21
20
|
|
|
@@ -31,7 +30,6 @@ ACCEPTANCE_CRITERIA: {all met | gaps — list}
|
|
|
31
30
|
TEST_COVERAGE: {adequate | gaps — list}
|
|
32
31
|
CONVENTIONS: {followed | violations — list}
|
|
33
32
|
ARCHITECTURE: {sound | concerns — details}
|
|
34
|
-
CODEBASE_COHESION: {cohesive | concerns — details}
|
|
35
33
|
ISSUES:
|
|
36
34
|
- {specific issue with file:line reference}
|
|
37
35
|
FIX: {recommended approach}
|
|
@@ -39,9 +37,7 @@ ISSUES:
|
|
|
39
37
|
CONFIDENCE: {high | medium | low}
|
|
40
38
|
NOTES:
|
|
41
39
|
- {non-blocking observations}
|
|
42
|
-
COHESION_NOTES:
|
|
43
|
-
- {2-4 bullets: patterns to maintain, conventions confirmed, integration quality}
|
|
44
40
|
```
|
|
45
41
|
|
|
46
|
-
- `approved`: task passes all
|
|
42
|
+
- `approved`: task passes all five review dimensions
|
|
47
43
|
- `needs-changes`: ISSUES contains specific, actionable items with fix recommendations and confidence levels
|
|
@@ -169,27 +169,13 @@ Announce the result (one line, no stop):
|
|
|
169
169
|
|
|
170
170
|
The tracking file is a derived view for discovery scripts and cross-topic dependency resolution — not a decision-making input during implementation (except `task_gate_mode` and `fix_gate_mode`).
|
|
171
171
|
|
|
172
|
-
**Append integration context** — extract INTEGRATION_NOTES from the executor's final output and COHESION_NOTES from the reviewer's output. Append both to `docs/workflow/implementation/{topic}-context.md`:
|
|
173
|
-
|
|
174
|
-
```
|
|
175
|
-
## T{task-id}: {task name}
|
|
176
|
-
|
|
177
|
-
### Integration (executor)
|
|
178
|
-
{INTEGRATION_NOTES content}
|
|
179
|
-
|
|
180
|
-
### Cohesion (reviewer)
|
|
181
|
-
{COHESION_NOTES content}
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
Create the file if it doesn't exist. This is mechanical text extraction and file append — the same as extracting STATUS to route on. Use outputs from the final approved iteration only.
|
|
185
|
-
|
|
186
172
|
**Commit all changes** in a single commit:
|
|
187
173
|
|
|
188
174
|
```
|
|
189
175
|
impl({topic}): T{task-id} — {brief description}
|
|
190
176
|
```
|
|
191
177
|
|
|
192
|
-
Code, tests, plan progress, tracking file
|
|
178
|
+
Code, tests, plan progress, and tracking file — one commit per approved task.
|
|
193
179
|
|
|
194
180
|
This is the end of this iteration.
|
|
195
181
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: technical-planning
|
|
3
3
|
description: "Transform specifications into actionable implementation plans with phases, tasks, and acceptance criteria. Use when: (1) User asks to create/write an implementation plan, (2) User asks to plan implementation from a specification, (3) Converting specifications from docs/workflow/specification/{topic}.md into implementation plans, (4) User says 'plan this' or 'create a plan', (5) Need to structure how to build something with phases and concrete steps. Creates plans in docs/workflow/planning/{topic}.md that can be executed via strict TDD."
|
|
4
|
+
user-invocable: false
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Technical Planning
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
This step uses the `planning-dependency-grapher` agent (
|
|
7
|
+
This step uses the `planning-dependency-grapher` agent (`../../../../agents/planning-dependency-grapher.md`) to analyze all authored tasks, establish internal dependencies, assign priorities, and detect cycles. You invoke the agent, present its output, and handle the approval gate.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
This step uses the `planning-task-author` agent (
|
|
7
|
+
This step uses the `planning-task-author` agent (`../../../../agents/planning-task-author.md`) to write full detail for a single task. You invoke the agent, present its output, and handle the approval gate.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -14,14 +14,14 @@ This step uses the `planning-task-author` agent (`.claude/agents/planning-task-a
|
|
|
14
14
|
|
|
15
15
|
Invoke `planning-task-author` with these file paths:
|
|
16
16
|
|
|
17
|
-
1. **read-specification.md**:
|
|
17
|
+
1. **read-specification.md**: `../read-specification.md`
|
|
18
18
|
2. **Specification**: path from the Plan Index File's `specification:` field
|
|
19
19
|
3. **Cross-cutting specs**: paths from the Plan Index File's `cross_cutting_specs:` field (if any)
|
|
20
|
-
4. **task-design.md**:
|
|
20
|
+
4. **task-design.md**: `../task-design.md`
|
|
21
21
|
5. **All approved phases**: the complete phase structure from the Plan Index File body
|
|
22
22
|
6. **Task list for current phase**: the approved task table
|
|
23
23
|
7. **Target task**: the task name, edge cases, and ID from the table
|
|
24
|
-
8. **Output format authoring reference**: path to the format's `authoring.md` (e.g.,
|
|
24
|
+
8. **Output format authoring reference**: path to the format's `authoring.md` (e.g., `../output-formats/{format}/authoring.md`)
|
|
25
25
|
|
|
26
26
|
### Present the Output
|
|
27
27
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
This step uses the `planning-phase-designer` agent (
|
|
7
|
+
This step uses the `planning-phase-designer` agent (`../../../../agents/planning-phase-designer.md`) to define or review the phase structure. Whether phases are being designed for the first time or reviewed from a previous session, the process converges on the same approval gate.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -30,11 +30,11 @@ Orient the user:
|
|
|
30
30
|
|
|
31
31
|
Invoke `planning-phase-designer` with these file paths:
|
|
32
32
|
|
|
33
|
-
1. **read-specification.md**:
|
|
33
|
+
1. **read-specification.md**: `../read-specification.md`
|
|
34
34
|
2. **Specification**: path from the Plan Index File's `specification:` field
|
|
35
35
|
3. **Cross-cutting specs**: paths from the Plan Index File's `cross_cutting_specs:` field (if any)
|
|
36
|
-
4. **phase-design.md**:
|
|
37
|
-
5. **task-design.md**:
|
|
36
|
+
4. **phase-design.md**: `../phase-design.md`
|
|
37
|
+
5. **task-design.md**: `../task-design.md`
|
|
38
38
|
|
|
39
39
|
The agent returns a complete phase structure. Write it directly to the Plan Index File body.
|
|
40
40
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
This step uses the `planning-task-designer` agent (
|
|
7
|
+
This step uses the `planning-task-designer` agent (`../../../../agents/planning-task-designer.md`) to design a task list for a single phase. You invoke the agent, present its output, and handle the approval gate.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -18,10 +18,10 @@ Orient the user:
|
|
|
18
18
|
|
|
19
19
|
Invoke `planning-task-designer` with these file paths:
|
|
20
20
|
|
|
21
|
-
1. **read-specification.md**:
|
|
21
|
+
1. **read-specification.md**: `../read-specification.md`
|
|
22
22
|
2. **Specification**: path from the Plan Index File's `specification:` field
|
|
23
23
|
3. **Cross-cutting specs**: paths from the Plan Index File's `cross_cutting_specs:` field (if any)
|
|
24
|
-
4. **task-design.md**:
|
|
24
|
+
4. **task-design.md**: `../task-design.md`
|
|
25
25
|
5. **All approved phases**: the complete phase structure from the Plan Index File body
|
|
26
26
|
6. **Target phase number**: the phase being broken into tasks
|
|
27
27
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: technical-research
|
|
3
3
|
description: "Explore ideas, validate concepts, and research broadly across technical, business, and market domains. Use when: (1) User has a new idea to explore, (2) Need to research a topic deeply, (3) Validating feasibility - technical, business, or market, (4) Learning and exploration without necessarily building anything, (5) User says 'research this' or 'explore this idea', (6) Brain dumping early thoughts before formal discussion. Creates research documents in docs/workflow/research/ that may feed into discussion or specification."
|
|
4
|
+
user-invocable: false
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Technical Research
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: technical-review
|
|
3
3
|
description: "Validate completed implementation against plan tasks and acceptance criteria. Use when: (1) Implementation is complete, (2) User wants validation before merging/shipping, (3) Quality gate check needed after implementation. Reviews ALL plan tasks for implementation correctness, test adequacy, and code quality. Produces structured feedback (approve, request changes, or comments) - does NOT fix code."
|
|
4
|
+
user-invocable: false
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Technical Review
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: technical-specification
|
|
3
3
|
description: "Build validated specifications from source material through collaborative refinement. Use when: (1) User asks to create/build a specification from source material, (2) User wants to validate and refine content before planning, (3) Converting source material (discussions, research, requirements) into standalone specifications, (4) User says 'specify this' or 'create a spec', (5) Need to filter hallucinations and enrich gaps before formal planning. Creates specifications in docs/workflow/specification/{topic}.md that can be used to build implementation plans."
|
|
4
|
+
user-invocable: false
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Technical Specification
|
|
@@ -25,7 +25,7 @@ Read the plan file from `docs/workflow/planning/{topic}.md` and check the `forma
|
|
|
25
25
|
Load the format's reading reference:
|
|
26
26
|
|
|
27
27
|
```
|
|
28
|
-
|
|
28
|
+
../technical-planning/references/output-formats/{format}/reading.md
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
This file contains instructions for reading plans in that format.
|