@gannonh/kata 1.0.2 → 1.0.3
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/kata-executor.md +13 -2
- package/agents/kata-planner.md +13 -2
- package/agents/kata-research-synthesizer.md +13 -2
- package/agents/kata-roadmapper.md +13 -2
- package/kata/VERSION +1 -1
- package/kata/templates/codebase/structure.md +1 -1
- package/kata/templates/phase-prompt.md +21 -10
- package/kata/workflows/discovery-phase.md +16 -5
- package/kata/workflows/execute-plan.md +16 -5
- package/kata/workflows/milestone-complete.md +12 -1
- package/kata/workflows/phase-execute.md +15 -4
- package/kata/workflows/phase-verify.md +14 -3
- package/kata/workflows/resume-project.md +12 -1
- package/kata/workflows/verify-work.md +13 -2
- package/package.json +1 -1
- package/skills/kata-completing-milestones/SKILL.md +13 -2
- package/skills/kata-discussing-phases/SKILL.md +13 -2
- package/skills/kata-executing-phases/SKILL.md +15 -4
- package/skills/kata-listing-phase-assumptions/SKILL.md +12 -1
- package/skills/kata-mapping-codebases/SKILL.md +12 -1
- package/skills/kata-planning-phases/SKILL.md +12 -1
- package/skills/kata-resuming-work/SKILL.md +13 -2
- package/skills/kata-showing-whats-new/SKILL.md +12 -1
- package/skills/kata-starting-milestones/SKILL.md +20 -9
- package/skills/kata-starting-projects/SKILL.md +20 -9
- package/skills/kata-updating/SKILL.md +13 -1
- package/skills/kata-verifying-work/SKILL.md +13 -2
package/agents/kata-executor.md
CHANGED
|
@@ -5,6 +5,17 @@ tools: Read, Write, Edit, Bash, Grep, Glob
|
|
|
5
5
|
color: yellow
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
<kata_path>
|
|
9
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
16
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
17
|
+
</kata_path>
|
|
18
|
+
|
|
8
19
|
<role>
|
|
9
20
|
You are a Kata plan executor. You execute PLAN.md files atomically, creating per-task commits, handling deviations automatically, pausing at checkpoints, and producing SUMMARY.md files.
|
|
10
21
|
|
|
@@ -353,7 +364,7 @@ Type "done" when authenticated.
|
|
|
353
364
|
Before any `checkpoint:human-verify`, ensure verification environment is ready. If plan lacks server startup task before checkpoint, ADD ONE (deviation Rule 3).
|
|
354
365
|
|
|
355
366
|
For full automation-first patterns, server lifecycle, CLI handling, and error recovery:
|
|
356
|
-
**See
|
|
367
|
+
**See @$KATA_BASE/references/checkpoints.md**
|
|
357
368
|
|
|
358
369
|
**Quick reference:**
|
|
359
370
|
- Users NEVER run CLI commands - Claude does all automation
|
|
@@ -610,7 +621,7 @@ After all tasks complete, create `{phase}-{plan}-SUMMARY.md`.
|
|
|
610
621
|
|
|
611
622
|
**Location:** `.planning/phases/XX-name/{phase}-{plan}-SUMMARY.md`
|
|
612
623
|
|
|
613
|
-
**Use template from:**
|
|
624
|
+
**Use template from:** @$KATA_BASE/templates/summary.md
|
|
614
625
|
|
|
615
626
|
**Frontmatter population:**
|
|
616
627
|
|
package/agents/kata-planner.md
CHANGED
|
@@ -5,6 +5,17 @@ tools: Read, Write, Bash, Glob, Grep, WebFetch, mcp__context7__*
|
|
|
5
5
|
color: green
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
<kata_path>
|
|
9
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
16
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
17
|
+
</kata_path>
|
|
18
|
+
|
|
8
19
|
<role>
|
|
9
20
|
You are a Kata planner. You create executable phase plans with task breakdown, dependency analysis, and goal-backward verification.
|
|
10
21
|
|
|
@@ -407,8 +418,8 @@ Output: [What artifacts will be created]
|
|
|
407
418
|
</objective>
|
|
408
419
|
|
|
409
420
|
<execution_context>
|
|
410
|
-
|
|
411
|
-
|
|
421
|
+
@$KATA_BASE/workflows/execute-plan.md
|
|
422
|
+
@$KATA_BASE/templates/summary.md
|
|
412
423
|
</execution_context>
|
|
413
424
|
|
|
414
425
|
<context>
|
|
@@ -5,6 +5,17 @@ tools: Read, Write, Bash
|
|
|
5
5
|
color: purple
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
<kata_path>
|
|
9
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
16
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
17
|
+
</kata_path>
|
|
18
|
+
|
|
8
19
|
<role>
|
|
9
20
|
You are a Kata research synthesizer. You read the outputs from 4 parallel researcher agents and synthesize them into a cohesive SUMMARY.md.
|
|
10
21
|
|
|
@@ -122,7 +133,7 @@ Identify gaps that couldn't be resolved and need attention during planning.
|
|
|
122
133
|
|
|
123
134
|
## Step 6: Write SUMMARY.md
|
|
124
135
|
|
|
125
|
-
Use template:
|
|
136
|
+
Use template: $KATA_BASE/templates/research-project/SUMMARY.md
|
|
126
137
|
|
|
127
138
|
Write to `.planning/research/SUMMARY.md`
|
|
128
139
|
|
|
@@ -159,7 +170,7 @@ Return brief confirmation with key points for the orchestrator.
|
|
|
159
170
|
|
|
160
171
|
<output_format>
|
|
161
172
|
|
|
162
|
-
Use template:
|
|
173
|
+
Use template: $KATA_BASE/templates/research-project/SUMMARY.md
|
|
163
174
|
|
|
164
175
|
Key sections:
|
|
165
176
|
- Executive Summary (2-3 paragraphs)
|
|
@@ -5,6 +5,17 @@ tools: Read, Write, Bash, Glob, Grep
|
|
|
5
5
|
color: purple
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
<kata_path>
|
|
9
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
16
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
17
|
+
</kata_path>
|
|
18
|
+
|
|
8
19
|
<role>
|
|
9
20
|
You are a Kata roadmapper. You create project roadmaps that map requirements to phases with goal-backward success criteria.
|
|
10
21
|
|
|
@@ -286,7 +297,7 @@ After roadmap creation, REQUIREMENTS.md gets updated with phase mappings:
|
|
|
286
297
|
|
|
287
298
|
## ROADMAP.md Structure
|
|
288
299
|
|
|
289
|
-
Use template from
|
|
300
|
+
Use template from `$KATA_BASE/templates/roadmap.md`.
|
|
290
301
|
|
|
291
302
|
Key sections:
|
|
292
303
|
- Overview (2-3 sentences)
|
|
@@ -295,7 +306,7 @@ Key sections:
|
|
|
295
306
|
|
|
296
307
|
## STATE.md Structure
|
|
297
308
|
|
|
298
|
-
Use template from
|
|
309
|
+
Use template from `$KATA_BASE/templates/state.md`.
|
|
299
310
|
|
|
300
311
|
Key sections:
|
|
301
312
|
- Project Reference (core value, current focus)
|
package/kata/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.3
|
|
@@ -216,7 +216,7 @@ kata/
|
|
|
216
216
|
|
|
217
217
|
**New Workflow:**
|
|
218
218
|
- Implementation: `kata/workflows/{name}.md`
|
|
219
|
-
- Usage: Reference from command with
|
|
219
|
+
- Usage: Reference from command with `@$KATA_BASE/workflows/{name}.md`
|
|
220
220
|
|
|
221
221
|
**New Reference Document:**
|
|
222
222
|
- Implementation: `kata/references/{name}.md`
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Phase Prompt Template
|
|
2
2
|
|
|
3
|
+
<kata_path>
|
|
4
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
11
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
12
|
+
</kata_path>
|
|
13
|
+
|
|
3
14
|
> **Note:** Planning methodology is in `agents/kata-planner.md`.
|
|
4
15
|
> This template defines the PLAN.md output format that the agent produces.
|
|
5
16
|
|
|
@@ -37,10 +48,10 @@ Output: [What artifacts will be created]
|
|
|
37
48
|
</objective>
|
|
38
49
|
|
|
39
50
|
<execution_context>
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
@$KATA_BASE/workflows/execute-plan.md
|
|
52
|
+
@$KATA_BASE/templates/summary.md
|
|
42
53
|
[If plan contains checkpoint tasks (type="checkpoint:*"), add:]
|
|
43
|
-
|
|
54
|
+
@$KATA_BASE/references/checkpoints.md
|
|
44
55
|
</execution_context>
|
|
45
56
|
|
|
46
57
|
<context>
|
|
@@ -75,7 +86,7 @@ Output: [What artifacts will be created]
|
|
|
75
86
|
<done>[Acceptance criteria]</done>
|
|
76
87
|
</task>
|
|
77
88
|
|
|
78
|
-
<!-- For checkpoint task examples and patterns, see
|
|
89
|
+
<!-- For checkpoint task examples and patterns, see @$KATA_BASE/references/checkpoints.md -->
|
|
79
90
|
<!-- Key rule: Claude starts dev server BEFORE human-verify checkpoints. User only visits URLs. -->
|
|
80
91
|
|
|
81
92
|
<task type="checkpoint:decision" gate="blocking">
|
|
@@ -268,7 +279,7 @@ TDD features get dedicated plans with `type: tdd`.
|
|
|
268
279
|
→ Yes: Create a TDD plan
|
|
269
280
|
→ No: Standard task in standard plan
|
|
270
281
|
|
|
271
|
-
See
|
|
282
|
+
See `$KATA_BASE/references/tdd.md` for TDD plan structure.
|
|
272
283
|
|
|
273
284
|
---
|
|
274
285
|
|
|
@@ -372,9 +383,9 @@ Output: Working dashboard component.
|
|
|
372
383
|
</objective>
|
|
373
384
|
|
|
374
385
|
<execution_context>
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
386
|
+
@$KATA_BASE/workflows/execute-plan.md
|
|
387
|
+
@$KATA_BASE/templates/summary.md
|
|
388
|
+
@$KATA_BASE/references/checkpoints.md
|
|
378
389
|
</execution_context>
|
|
379
390
|
|
|
380
391
|
<context>
|
|
@@ -497,7 +508,7 @@ user_setup:
|
|
|
497
508
|
|
|
498
509
|
**Result:** Execute-plan generates `{phase}-USER-SETUP.md` with checklist for the user.
|
|
499
510
|
|
|
500
|
-
See
|
|
511
|
+
See `$KATA_BASE/templates/user-setup.md` for full schema and examples
|
|
501
512
|
|
|
502
513
|
---
|
|
503
514
|
|
|
@@ -564,4 +575,4 @@ Task completion ≠ Goal achievement. A task "create chat component" can complet
|
|
|
564
575
|
5. Gaps found → fix plans created → execute → re-verify
|
|
565
576
|
6. All must_haves pass → phase complete
|
|
566
577
|
|
|
567
|
-
See
|
|
578
|
+
See `$KATA_BASE/workflows/verify-phase.md` for verification logic.
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
<kata_path>
|
|
2
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
3
|
+
|
|
4
|
+
```bash
|
|
5
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
9
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
10
|
+
</kata_path>
|
|
11
|
+
|
|
1
12
|
<purpose>
|
|
2
13
|
Execute discovery at the appropriate depth level.
|
|
3
14
|
Produces DISCOVERY.md (for Level 2-3) that informs PLAN.md creation.
|
|
@@ -28,7 +39,7 @@ Claude's training data is 6-18 months stale. Always verify.
|
|
|
28
39
|
2. **Official docs** - When Context7 lacks coverage
|
|
29
40
|
3. **WebSearch LAST** - For comparisons and trends only
|
|
30
41
|
|
|
31
|
-
See
|
|
42
|
+
See $KATA_BASE/templates/discovery.md `<discovery_protocol>` for full protocol.
|
|
32
43
|
</source_hierarchy>
|
|
33
44
|
|
|
34
45
|
<process>
|
|
@@ -107,7 +118,7 @@ For: Choosing between options, new external integration.
|
|
|
107
118
|
|
|
108
119
|
5. **Cross-verify:** Any WebSearch finding → confirm with Context7/official docs.
|
|
109
120
|
|
|
110
|
-
6. **Create DISCOVERY.md** using
|
|
121
|
+
6. **Create DISCOVERY.md** using $KATA_BASE/templates/discovery.md structure:
|
|
111
122
|
|
|
112
123
|
- Summary with recommendation
|
|
113
124
|
- Key findings per option
|
|
@@ -126,7 +137,7 @@ For: Architectural decisions, novel problems, high-risk choices.
|
|
|
126
137
|
|
|
127
138
|
**Process:**
|
|
128
139
|
|
|
129
|
-
1. **Scope the discovery** using
|
|
140
|
+
1. **Scope the discovery** using $KATA_BASE/templates/discovery.md:
|
|
130
141
|
|
|
131
142
|
- Define clear scope
|
|
132
143
|
- Define include/exclude boundaries
|
|
@@ -160,7 +171,7 @@ For: Architectural decisions, novel problems, high-risk choices.
|
|
|
160
171
|
|
|
161
172
|
6. **Create comprehensive DISCOVERY.md:**
|
|
162
173
|
|
|
163
|
-
- Full structure from
|
|
174
|
+
- Full structure from $KATA_BASE/templates/discovery.md
|
|
164
175
|
- Quality report with source attribution
|
|
165
176
|
- Confidence by finding
|
|
166
177
|
- If LOW confidence on any critical finding → add validation checkpoints
|
|
@@ -184,7 +195,7 @@ Ask: What do we need to learn before we can plan this phase?
|
|
|
184
195
|
</step>
|
|
185
196
|
|
|
186
197
|
<step name="create_discovery_scope">
|
|
187
|
-
Use
|
|
198
|
+
Use $KATA_BASE/templates/discovery.md.
|
|
188
199
|
|
|
189
200
|
Include:
|
|
190
201
|
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
<kata_path>
|
|
2
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
3
|
+
|
|
4
|
+
```bash
|
|
5
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
9
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
10
|
+
</kata_path>
|
|
11
|
+
|
|
1
12
|
<purpose>
|
|
2
13
|
Execute a phase prompt (PLAN.md) and create the outcome summary (SUMMARY.md).
|
|
3
14
|
</purpose>
|
|
@@ -6,7 +17,7 @@ Execute a phase prompt (PLAN.md) and create the outcome summary (SUMMARY.md).
|
|
|
6
17
|
Read STATE.md before any operation to load project context.
|
|
7
18
|
Read config.json for planning behavior settings.
|
|
8
19
|
|
|
9
|
-
|
|
20
|
+
@$KATA_BASE/references/git-integration.md
|
|
10
21
|
</required_reading>
|
|
11
22
|
|
|
12
23
|
<process>
|
|
@@ -981,7 +992,7 @@ After TDD plan completion, ensure:
|
|
|
981
992
|
- Standard plans: Multiple tasks, 1 commit per task, 2-4 commits total
|
|
982
993
|
- TDD plans: Single feature, 2-3 commits for RED/GREEN/REFACTOR cycle
|
|
983
994
|
|
|
984
|
-
See
|
|
995
|
+
See `$KATA_BASE/references/tdd.md` for TDD plan structure.
|
|
985
996
|
</tdd_plan_execution>
|
|
986
997
|
|
|
987
998
|
<task_commit>
|
|
@@ -1156,7 +1167,7 @@ I'll verify after: [verification]
|
|
|
1156
1167
|
- If verification passes or N/A: continue to next task
|
|
1157
1168
|
- If verification fails: inform user, wait for resolution
|
|
1158
1169
|
|
|
1159
|
-
See
|
|
1170
|
+
See $KATA_BASE/references/checkpoints.md for complete checkpoint guidance.
|
|
1160
1171
|
</step>
|
|
1161
1172
|
|
|
1162
1173
|
<step name="checkpoint_return_for_orchestrator">
|
|
@@ -1290,7 +1301,7 @@ grep -A 50 "^user_setup:" .planning/phases/XX-name/{phase}-{plan}-PLAN.md | head
|
|
|
1290
1301
|
|
|
1291
1302
|
**If user_setup exists and is not empty:**
|
|
1292
1303
|
|
|
1293
|
-
Create `.planning/phases/XX-name/{phase}-USER-SETUP.md` using template from
|
|
1304
|
+
Create `.planning/phases/XX-name/{phase}-USER-SETUP.md` using template from `$KATA_BASE/templates/user-setup.md`.
|
|
1294
1305
|
|
|
1295
1306
|
**Content generation:**
|
|
1296
1307
|
|
|
@@ -1351,7 +1362,7 @@ Set `USER_SETUP_CREATED=true` if file was generated, for use in completion messa
|
|
|
1351
1362
|
|
|
1352
1363
|
<step name="create_summary">
|
|
1353
1364
|
Create `{phase}-{plan}-SUMMARY.md` as specified in the prompt's `<output>` section.
|
|
1354
|
-
Use
|
|
1365
|
+
Use $KATA_BASE/templates/summary.md for structure.
|
|
1355
1366
|
|
|
1356
1367
|
**File location:** `.planning/phases/XX-name/{phase}-{plan}-SUMMARY.md`
|
|
1357
1368
|
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
<kata_path>
|
|
2
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
3
|
+
|
|
4
|
+
```bash
|
|
5
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
9
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
10
|
+
</kata_path>
|
|
11
|
+
|
|
1
12
|
<purpose>
|
|
2
13
|
|
|
3
14
|
Mark a shipped version (v1.0, v1.1, v2.0) as complete. This creates a historical record in MILESTONES.md, performs full PROJECT.md evolution review, reorganizes ROADMAP.md with milestone groupings, and tags the release in git.
|
|
@@ -423,7 +434,7 @@ Extract completed milestone details and create archive file.
|
|
|
423
434
|
|
|
424
435
|
1. Create archive file path: `.planning/milestones/v[X.Y]-ROADMAP.md`
|
|
425
436
|
|
|
426
|
-
2. Read
|
|
437
|
+
2. Read `$KATA_BASE/templates/milestone-archive.md` template
|
|
427
438
|
|
|
428
439
|
3. Extract data from current ROADMAP.md:
|
|
429
440
|
- All phases belonging to this milestone (by phase number range)
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
<kata_path>
|
|
2
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
3
|
+
|
|
4
|
+
```bash
|
|
5
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
9
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
10
|
+
</kata_path>
|
|
11
|
+
|
|
1
12
|
<purpose>
|
|
2
13
|
Execute all plans in a phase using wave-based parallel execution. Orchestrator stays lean by delegating plan execution to subagents.
|
|
3
14
|
</purpose>
|
|
@@ -211,10 +222,10 @@ Execute each wave in sequence. Autonomous plans within a wave run in parallel.
|
|
|
211
222
|
</objective>
|
|
212
223
|
|
|
213
224
|
<execution_context>
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
225
|
+
@$KATA_BASE/workflows/execute-plan.md
|
|
226
|
+
@$KATA_BASE/templates/summary.md
|
|
227
|
+
@$KATA_BASE/references/checkpoints.md
|
|
228
|
+
@$KATA_BASE/references/tdd.md
|
|
218
229
|
</execution_context>
|
|
219
230
|
|
|
220
231
|
<context>
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
<kata_path>
|
|
2
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
3
|
+
|
|
4
|
+
```bash
|
|
5
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
9
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
10
|
+
</kata_path>
|
|
11
|
+
|
|
1
12
|
<purpose>
|
|
2
13
|
Verify phase goal achievement through goal-backward analysis. Check that the codebase actually delivers what the phase promised, not just that tasks were completed.
|
|
3
14
|
|
|
@@ -18,8 +29,8 @@ Then verify each level against the actual codebase.
|
|
|
18
29
|
</core_principle>
|
|
19
30
|
|
|
20
31
|
<required_reading>
|
|
21
|
-
|
|
22
|
-
|
|
32
|
+
@$KATA_BASE/references/verification-patterns.md
|
|
33
|
+
@$KATA_BASE/templates/verification-report.md
|
|
23
34
|
</required_reading>
|
|
24
35
|
|
|
25
36
|
<process>
|
|
@@ -564,7 +575,7 @@ Fill template sections:
|
|
|
564
575
|
9. **Recommended Fix Plans:** If gaps_found
|
|
565
576
|
10. **Verification Metadata:** Approach, timing, counts
|
|
566
577
|
|
|
567
|
-
See
|
|
578
|
+
See $KATA_BASE/templates/verification-report.md for complete template.
|
|
568
579
|
</step>
|
|
569
580
|
|
|
570
581
|
<step name="return_to_orchestrator">
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
<kata_path>
|
|
2
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
3
|
+
|
|
4
|
+
```bash
|
|
5
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
9
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
10
|
+
</kata_path>
|
|
11
|
+
|
|
1
12
|
<trigger>
|
|
2
13
|
Use this workflow when:
|
|
3
14
|
- Starting a new session on an existing project
|
|
@@ -14,7 +25,7 @@ Enables seamless session continuity for fully autonomous workflows.
|
|
|
14
25
|
</purpose>
|
|
15
26
|
|
|
16
27
|
<required_reading>
|
|
17
|
-
|
|
28
|
+
@$KATA_BASE/references/continuation-format.md
|
|
18
29
|
</required_reading>
|
|
19
30
|
|
|
20
31
|
<process>
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
<kata_path>
|
|
2
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
3
|
+
|
|
4
|
+
```bash
|
|
5
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
9
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
10
|
+
</kata_path>
|
|
11
|
+
|
|
1
12
|
<purpose>
|
|
2
13
|
Validate built features through conversational testing with persistent state. Creates UAT.md that tracks test progress, survives /clear, and feeds gaps into /kata:phase-plan --gaps.
|
|
3
14
|
|
|
@@ -15,7 +26,7 @@ No Pass/Fail buttons. No severity questions. Just: "Here's what should happen. D
|
|
|
15
26
|
</philosophy>
|
|
16
27
|
|
|
17
28
|
<template>
|
|
18
|
-
|
|
29
|
+
@$KATA_BASE/templates/UAT.md
|
|
19
30
|
</template>
|
|
20
31
|
|
|
21
32
|
<process>
|
|
@@ -360,7 +371,7 @@ Spawning parallel debug agents to investigate each issue.
|
|
|
360
371
|
```
|
|
361
372
|
|
|
362
373
|
- Load diagnose-issues workflow
|
|
363
|
-
- Follow
|
|
374
|
+
- Follow @$KATA_BASE/workflows/diagnose-issues.md
|
|
364
375
|
- Spawn parallel debug agents for each issue
|
|
365
376
|
- Collect root causes
|
|
366
377
|
- Update UAT.md with root causes
|
package/package.json
CHANGED
|
@@ -10,6 +10,17 @@ allowed-tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
<kata_path>
|
|
14
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
21
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
22
|
+
</kata_path>
|
|
23
|
+
|
|
13
24
|
<objective>
|
|
14
25
|
Mark milestone {{version}} complete, archive to milestones/, and update ROADMAP.md and REQUIREMENTS.md.
|
|
15
26
|
|
|
@@ -20,8 +31,8 @@ Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tag
|
|
|
20
31
|
<execution_context>
|
|
21
32
|
**Load these files NOW (before proceeding):**
|
|
22
33
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
34
|
+
- @$KATA_BASE/workflows/milestone-complete.md (main workflow)
|
|
35
|
+
- @$KATA_BASE/templates/milestone-archive.md (archive template)
|
|
25
36
|
</execution_context>
|
|
26
37
|
|
|
27
38
|
<context>
|
|
@@ -10,6 +10,17 @@ allowed-tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
<kata_path>
|
|
14
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
21
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
22
|
+
</kata_path>
|
|
23
|
+
|
|
13
24
|
<objective>
|
|
14
25
|
Extract implementation decisions that downstream agents need — researcher and planner will use CONTEXT.md to know what to investigate and what choices are locked.
|
|
15
26
|
|
|
@@ -23,8 +34,8 @@ Extract implementation decisions that downstream agents need — researcher and
|
|
|
23
34
|
</objective>
|
|
24
35
|
|
|
25
36
|
<execution_context>
|
|
26
|
-
|
|
27
|
-
|
|
37
|
+
@$KATA_BASE/workflows/phase-discuss.md
|
|
38
|
+
@$KATA_BASE/templates/context.md
|
|
28
39
|
</execution_context>
|
|
29
40
|
|
|
30
41
|
<context>
|
|
@@ -10,6 +10,17 @@ allowed-tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
<kata_path>
|
|
14
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
21
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
22
|
+
</kata_path>
|
|
23
|
+
|
|
13
24
|
<objective>
|
|
14
25
|
Execute all plans in a phase using wave-based parallel execution.
|
|
15
26
|
|
|
@@ -19,9 +30,9 @@ Context budget: ~15% orchestrator, 100% fresh per subagent.
|
|
|
19
30
|
</objective>
|
|
20
31
|
|
|
21
32
|
<execution_context>
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
33
|
+
@$KATA_BASE/references/ui-brand.md
|
|
34
|
+
@$KATA_BASE/references/planning-config.md
|
|
35
|
+
@$KATA_BASE/workflows/phase-execute.md
|
|
25
36
|
</execution_context>
|
|
26
37
|
|
|
27
38
|
<context>
|
|
@@ -279,7 +290,7 @@ Plans with `autonomous: false` have checkpoints. The phase-execute.md workflow h
|
|
|
279
290
|
- Orchestrator presents to user, collects response
|
|
280
291
|
- Spawns fresh continuation agent (not resume)
|
|
281
292
|
|
|
282
|
-
See
|
|
293
|
+
See `@$KATA_BASE/workflows/phase-execute.md` step `checkpoint_handling` for complete details.
|
|
283
294
|
</checkpoint_handling>
|
|
284
295
|
|
|
285
296
|
<deviation_rules>
|
|
@@ -10,6 +10,17 @@ allowed-tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
<kata_path>
|
|
14
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
21
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
22
|
+
</kata_path>
|
|
23
|
+
|
|
13
24
|
<objective>
|
|
14
25
|
Analyze a phase and present Claude's assumptions about technical approach, implementation order, scope boundaries, risk areas, and dependencies.
|
|
15
26
|
|
|
@@ -18,7 +29,7 @@ Output: Conversational output only (no file creation) - ends with "What do you t
|
|
|
18
29
|
</objective>
|
|
19
30
|
|
|
20
31
|
<execution_context>
|
|
21
|
-
|
|
32
|
+
@$KATA_BASE/workflows/phase-assumptions.md
|
|
22
33
|
</execution_context>
|
|
23
34
|
|
|
24
35
|
<context>
|
|
@@ -10,6 +10,17 @@ allowed-tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
<kata_path>
|
|
14
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
21
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
22
|
+
</kata_path>
|
|
23
|
+
|
|
13
24
|
<objective>
|
|
14
25
|
Analyze existing codebase using parallel kata-codebase-mapper agents to produce structured codebase documents.
|
|
15
26
|
|
|
@@ -19,7 +30,7 @@ Output: .planning/codebase/ folder with 7 structured documents about the codebas
|
|
|
19
30
|
</objective>
|
|
20
31
|
|
|
21
32
|
<execution_context>
|
|
22
|
-
|
|
33
|
+
@$KATA_BASE/workflows/project-analyze.md
|
|
23
34
|
</execution_context>
|
|
24
35
|
|
|
25
36
|
<context>
|
|
@@ -10,8 +10,19 @@ allowed-tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
<kata_path>
|
|
14
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
21
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
22
|
+
</kata_path>
|
|
23
|
+
|
|
13
24
|
<execution_context>
|
|
14
|
-
|
|
25
|
+
@$KATA_BASE/references/ui-brand.md
|
|
15
26
|
</execution_context>
|
|
16
27
|
|
|
17
28
|
<objective>
|
|
@@ -10,6 +10,17 @@ allowed-tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
<kata_path>
|
|
14
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
21
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
22
|
+
</kata_path>
|
|
23
|
+
|
|
13
24
|
<objective>
|
|
14
25
|
Restore complete project context and resume work seamlessly from previous session.
|
|
15
26
|
|
|
@@ -23,11 +34,11 @@ Routes to the resume-project workflow which handles:
|
|
|
23
34
|
</objective>
|
|
24
35
|
|
|
25
36
|
<execution_context>
|
|
26
|
-
|
|
37
|
+
@$KATA_BASE/workflows/resume-project.md
|
|
27
38
|
</execution_context>
|
|
28
39
|
|
|
29
40
|
<process>
|
|
30
|
-
**Follow the resume-project workflow** from
|
|
41
|
+
**Follow the resume-project workflow** from `@$KATA_BASE/workflows/resume-project.md`.
|
|
31
42
|
|
|
32
43
|
The workflow handles all resumption logic including:
|
|
33
44
|
|
|
@@ -10,6 +10,17 @@ allowed-tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
<kata_path>
|
|
14
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
21
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
22
|
+
</kata_path>
|
|
23
|
+
|
|
13
24
|
<objective>
|
|
14
25
|
Display changes between installed version and latest available version.
|
|
15
26
|
|
|
@@ -57,7 +68,7 @@ Use WebFetch tool with:
|
|
|
57
68
|
**If fetch fails:**
|
|
58
69
|
Fall back to local changelog:
|
|
59
70
|
```bash
|
|
60
|
-
cat
|
|
71
|
+
cat $KATA_BASE/CHANGELOG.md 2>/dev/null
|
|
61
72
|
```
|
|
62
73
|
|
|
63
74
|
Note to user: "Couldn't check for updates (offline or GitHub unavailable). Showing local changelog."
|
|
@@ -12,6 +12,17 @@ allowed-tools:
|
|
|
12
12
|
- AskUserQuestion
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
+
<kata_path>
|
|
16
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
23
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
24
|
+
</kata_path>
|
|
25
|
+
|
|
15
26
|
<objective>
|
|
16
27
|
Start a new milestone through unified flow: questioning → research (optional) → requirements → roadmap.
|
|
17
28
|
|
|
@@ -28,10 +39,10 @@ This is the brownfield equivalent of project-new. The project exists, PROJECT.md
|
|
|
28
39
|
</objective>
|
|
29
40
|
|
|
30
41
|
<execution_context>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
42
|
+
@$KATA_BASE/references/questioning.md
|
|
43
|
+
@$KATA_BASE/references/ui-brand.md
|
|
44
|
+
@$KATA_BASE/templates/project.md
|
|
45
|
+
@$KATA_BASE/templates/requirements.md
|
|
35
46
|
</execution_context>
|
|
36
47
|
|
|
37
48
|
<context>
|
|
@@ -218,7 +229,7 @@ Your STACK.md feeds into roadmap creation. Be prescriptive:
|
|
|
218
229
|
|
|
219
230
|
<output>
|
|
220
231
|
Write to: .planning/research/STACK.md
|
|
221
|
-
Use template:
|
|
232
|
+
Use template: $KATA_BASE/templates/research-project/STACK.md
|
|
222
233
|
</output>
|
|
223
234
|
", subagent_type="kata-project-researcher", model="{researcher_model}", description="Stack research")
|
|
224
235
|
|
|
@@ -259,7 +270,7 @@ Your FEATURES.md feeds into requirements definition. Categorize clearly:
|
|
|
259
270
|
|
|
260
271
|
<output>
|
|
261
272
|
Write to: .planning/research/FEATURES.md
|
|
262
|
-
Use template:
|
|
273
|
+
Use template: $KATA_BASE/templates/research-project/FEATURES.md
|
|
263
274
|
</output>
|
|
264
275
|
", subagent_type="kata-project-researcher", model="{researcher_model}", description="Features research")
|
|
265
276
|
|
|
@@ -301,7 +312,7 @@ Your ARCHITECTURE.md informs phase structure in roadmap. Include:
|
|
|
301
312
|
|
|
302
313
|
<output>
|
|
303
314
|
Write to: .planning/research/ARCHITECTURE.md
|
|
304
|
-
Use template:
|
|
315
|
+
Use template: $KATA_BASE/templates/research-project/ARCHITECTURE.md
|
|
305
316
|
</output>
|
|
306
317
|
", subagent_type="kata-project-researcher", model="{researcher_model}", description="Architecture research")
|
|
307
318
|
|
|
@@ -339,7 +350,7 @@ Your PITFALLS.md prevents mistakes in roadmap/planning. For each pitfall:
|
|
|
339
350
|
|
|
340
351
|
<output>
|
|
341
352
|
Write to: .planning/research/PITFALLS.md
|
|
342
|
-
Use template:
|
|
353
|
+
Use template: $KATA_BASE/templates/research-project/PITFALLS.md
|
|
343
354
|
</output>
|
|
344
355
|
", subagent_type="kata-project-researcher", model="{researcher_model}", description="Pitfalls research")
|
|
345
356
|
```
|
|
@@ -362,7 +373,7 @@ Read these files:
|
|
|
362
373
|
|
|
363
374
|
<output>
|
|
364
375
|
Write to: .planning/research/SUMMARY.md
|
|
365
|
-
Use template:
|
|
376
|
+
Use template: $KATA_BASE/templates/research-project/SUMMARY.md
|
|
366
377
|
Commit after writing.
|
|
367
378
|
</output>
|
|
368
379
|
", subagent_type="kata-research-synthesizer", model="{synthesizer_model}", description="Synthesize research")
|
|
@@ -12,6 +12,17 @@ allowed-tools:
|
|
|
12
12
|
- AskUserQuestion
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
+
<kata_path>
|
|
16
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
23
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
24
|
+
</kata_path>
|
|
25
|
+
|
|
15
26
|
<objective>
|
|
16
27
|
|
|
17
28
|
Initialize a new project through unified flow: questioning → research (optional) → requirements → roadmap.
|
|
@@ -32,10 +43,10 @@ This is the most leveraged moment in any project. Deep questioning here means be
|
|
|
32
43
|
|
|
33
44
|
<execution_context>
|
|
34
45
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
46
|
+
@$KATA_BASE/references/questioning.md
|
|
47
|
+
@$KATA_BASE/references/ui-brand.md
|
|
48
|
+
@$KATA_BASE/templates/project.md
|
|
49
|
+
@$KATA_BASE/templates/requirements.md
|
|
39
50
|
|
|
40
51
|
</execution_context>
|
|
41
52
|
|
|
@@ -676,7 +687,7 @@ Your STACK.md feeds into roadmap creation. Be prescriptive:
|
|
|
676
687
|
|
|
677
688
|
<output>
|
|
678
689
|
Write to: .planning/research/STACK.md
|
|
679
|
-
Use template:
|
|
690
|
+
Use template: $KATA_BASE/templates/research-project/STACK.md
|
|
680
691
|
</output>
|
|
681
692
|
", subagent_type="kata-project-researcher", model="{researcher_model}", description="Stack research")
|
|
682
693
|
|
|
@@ -715,7 +726,7 @@ Your FEATURES.md feeds into requirements definition. Categorize clearly:
|
|
|
715
726
|
|
|
716
727
|
<output>
|
|
717
728
|
Write to: .planning/research/FEATURES.md
|
|
718
|
-
Use template:
|
|
729
|
+
Use template: $KATA_BASE/templates/research-project/FEATURES.md
|
|
719
730
|
</output>
|
|
720
731
|
", subagent_type="kata-project-researcher", model="{researcher_model}", description="Features research")
|
|
721
732
|
|
|
@@ -754,7 +765,7 @@ Your ARCHITECTURE.md informs phase structure in roadmap. Include:
|
|
|
754
765
|
|
|
755
766
|
<output>
|
|
756
767
|
Write to: .planning/research/ARCHITECTURE.md
|
|
757
|
-
Use template:
|
|
768
|
+
Use template: $KATA_BASE/templates/research-project/ARCHITECTURE.md
|
|
758
769
|
</output>
|
|
759
770
|
", subagent_type="kata-project-researcher", model="{researcher_model}", description="Architecture research")
|
|
760
771
|
|
|
@@ -793,7 +804,7 @@ Your PITFALLS.md prevents mistakes in roadmap/planning. For each pitfall:
|
|
|
793
804
|
|
|
794
805
|
<output>
|
|
795
806
|
Write to: .planning/research/PITFALLS.md
|
|
796
|
-
Use template:
|
|
807
|
+
Use template: $KATA_BASE/templates/research-project/PITFALLS.md
|
|
797
808
|
</output>
|
|
798
809
|
", subagent_type="kata-project-researcher", model="{researcher_model}", description="Pitfalls research")
|
|
799
810
|
```
|
|
@@ -816,7 +827,7 @@ Read these files:
|
|
|
816
827
|
|
|
817
828
|
<output>
|
|
818
829
|
Write to: .planning/research/SUMMARY.md
|
|
819
|
-
Use template:
|
|
830
|
+
Use template: $KATA_BASE/templates/research-project/SUMMARY.md
|
|
820
831
|
Commit after writing.
|
|
821
832
|
</output>
|
|
822
833
|
", subagent_type="kata-research-synthesizer", model="{synthesizer_model}", description="Synthesize research")
|
|
@@ -10,6 +10,17 @@ allowed-tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
<kata_path>
|
|
14
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
21
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
22
|
+
</kata_path>
|
|
23
|
+
|
|
13
24
|
<objective>
|
|
14
25
|
Check for Kata updates, install if available, and display what changed.
|
|
15
26
|
|
|
@@ -22,7 +33,8 @@ Provides a better update experience than raw `npx @gannonh/kata` by showing vers
|
|
|
22
33
|
Read installed version:
|
|
23
34
|
|
|
24
35
|
```bash
|
|
25
|
-
|
|
36
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi)
|
|
37
|
+
cat $KATA_BASE/VERSION 2>/dev/null
|
|
26
38
|
```
|
|
27
39
|
|
|
28
40
|
**If VERSION file missing:**
|
|
@@ -10,6 +10,17 @@ allowed-tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
<kata_path>
|
|
14
|
+
**IMPORTANT:** Before reading any Kata file (templates, references, workflows), resolve the base path:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
KATA_BASE=$(if [ -n "$CLAUDE_PLUGIN_ROOT" ]; then echo "$CLAUDE_PLUGIN_ROOT/kata"; elif [ -d ~/.claude/kata ]; then echo ~/.claude/kata; else echo ./.claude/kata; fi) && echo $KATA_BASE
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use the output as `$KATA_BASE` for all file paths below. For example:
|
|
21
|
+
- `$KATA_BASE/templates/summary.md` instead of `~/.claude/kata/templates/summary.md`
|
|
22
|
+
</kata_path>
|
|
23
|
+
|
|
13
24
|
<objective>
|
|
14
25
|
Validate built features through conversational testing with persistent state.
|
|
15
26
|
|
|
@@ -19,8 +30,8 @@ Output: {phase}-UAT.md tracking all test results. If issues found: diagnosed gap
|
|
|
19
30
|
</objective>
|
|
20
31
|
|
|
21
32
|
<execution_context>
|
|
22
|
-
|
|
23
|
-
|
|
33
|
+
@$KATA_BASE/workflows/verify-work.md
|
|
34
|
+
@$KATA_BASE/templates/UAT.md
|
|
24
35
|
</execution_context>
|
|
25
36
|
|
|
26
37
|
<context>
|