@gannonh/kata 1.0.3 → 1.0.4

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.
@@ -5,17 +5,6 @@ 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
-
19
8
  <role>
20
9
  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.
21
10
 
@@ -364,7 +353,7 @@ Type "done" when authenticated.
364
353
  Before any `checkpoint:human-verify`, ensure verification environment is ready. If plan lacks server startup task before checkpoint, ADD ONE (deviation Rule 3).
365
354
 
366
355
  For full automation-first patterns, server lifecycle, CLI handling, and error recovery:
367
- **See @$KATA_BASE/references/checkpoints.md**
356
+ **See @~/.claude/kata/references/checkpoints.md**
368
357
 
369
358
  **Quick reference:**
370
359
  - Users NEVER run CLI commands - Claude does all automation
@@ -621,7 +610,7 @@ After all tasks complete, create `{phase}-{plan}-SUMMARY.md`.
621
610
 
622
611
  **Location:** `.planning/phases/XX-name/{phase}-{plan}-SUMMARY.md`
623
612
 
624
- **Use template from:** @$KATA_BASE/templates/summary.md
613
+ **Use template from:** @~/.claude/kata/templates/summary.md
625
614
 
626
615
  **Frontmatter population:**
627
616
 
@@ -5,17 +5,6 @@ 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
-
19
8
  <role>
20
9
  You are a Kata planner. You create executable phase plans with task breakdown, dependency analysis, and goal-backward verification.
21
10
 
@@ -418,8 +407,8 @@ Output: [What artifacts will be created]
418
407
  </objective>
419
408
 
420
409
  <execution_context>
421
- @$KATA_BASE/workflows/execute-plan.md
422
- @$KATA_BASE/templates/summary.md
410
+ @~/.claude/kata/workflows/execute-plan.md
411
+ @~/.claude/kata/templates/summary.md
423
412
  </execution_context>
424
413
 
425
414
  <context>
@@ -5,17 +5,6 @@ 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
-
19
8
  <role>
20
9
  You are a Kata research synthesizer. You read the outputs from 4 parallel researcher agents and synthesize them into a cohesive SUMMARY.md.
21
10
 
@@ -5,17 +5,6 @@ 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
-
19
8
  <role>
20
9
  You are a Kata roadmapper. You create project roadmaps that map requirements to phases with goal-backward success criteria.
21
10
 
package/kata/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -216,7 +216,7 @@ kata/
216
216
 
217
217
  **New Workflow:**
218
218
  - Implementation: `kata/workflows/{name}.md`
219
- - Usage: Reference from command with `@$KATA_BASE/workflows/{name}.md`
219
+ - Usage: Reference from command with `@~/.claude/kata/workflows/{name}.md`
220
220
 
221
221
  **New Reference Document:**
222
222
  - Implementation: `kata/references/{name}.md`
@@ -1,16 +1,5 @@
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
-
14
3
  > **Note:** Planning methodology is in `agents/kata-planner.md`.
15
4
  > This template defines the PLAN.md output format that the agent produces.
16
5
 
@@ -48,10 +37,10 @@ Output: [What artifacts will be created]
48
37
  </objective>
49
38
 
50
39
  <execution_context>
51
- @$KATA_BASE/workflows/execute-plan.md
52
- @$KATA_BASE/templates/summary.md
40
+ @~/.claude/kata/workflows/execute-plan.md
41
+ @~/.claude/kata/templates/summary.md
53
42
  [If plan contains checkpoint tasks (type="checkpoint:*"), add:]
54
- @$KATA_BASE/references/checkpoints.md
43
+ @~/.claude/kata/references/checkpoints.md
55
44
  </execution_context>
56
45
 
57
46
  <context>
@@ -86,7 +75,7 @@ Output: [What artifacts will be created]
86
75
  <done>[Acceptance criteria]</done>
87
76
  </task>
88
77
 
89
- <!-- For checkpoint task examples and patterns, see @$KATA_BASE/references/checkpoints.md -->
78
+ <!-- For checkpoint task examples and patterns, see @~/.claude/kata/references/checkpoints.md -->
90
79
  <!-- Key rule: Claude starts dev server BEFORE human-verify checkpoints. User only visits URLs. -->
91
80
 
92
81
  <task type="checkpoint:decision" gate="blocking">
@@ -383,9 +372,9 @@ Output: Working dashboard component.
383
372
  </objective>
384
373
 
385
374
  <execution_context>
386
- @$KATA_BASE/workflows/execute-plan.md
387
- @$KATA_BASE/templates/summary.md
388
- @$KATA_BASE/references/checkpoints.md
375
+ @~/.claude/kata/workflows/execute-plan.md
376
+ @~/.claude/kata/templates/summary.md
377
+ @~/.claude/kata/references/checkpoints.md
389
378
  </execution_context>
390
379
 
391
380
  <context>
@@ -1,14 +1,3 @@
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
-
12
1
  <purpose>
13
2
  Execute discovery at the appropriate depth level.
14
3
  Produces DISCOVERY.md (for Level 2-3) that informs PLAN.md creation.
@@ -1,14 +1,3 @@
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
-
12
1
  <purpose>
13
2
  Execute a phase prompt (PLAN.md) and create the outcome summary (SUMMARY.md).
14
3
  </purpose>
@@ -17,7 +6,7 @@ Execute a phase prompt (PLAN.md) and create the outcome summary (SUMMARY.md).
17
6
  Read STATE.md before any operation to load project context.
18
7
  Read config.json for planning behavior settings.
19
8
 
20
- @$KATA_BASE/references/git-integration.md
9
+ @~/.claude/kata/references/git-integration.md
21
10
  </required_reading>
22
11
 
23
12
  <process>
@@ -1,14 +1,3 @@
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
-
12
1
  <purpose>
13
2
 
14
3
  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.
@@ -1,14 +1,3 @@
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
-
12
1
  <purpose>
13
2
  Execute all plans in a phase using wave-based parallel execution. Orchestrator stays lean by delegating plan execution to subagents.
14
3
  </purpose>
@@ -222,10 +211,10 @@ Execute each wave in sequence. Autonomous plans within a wave run in parallel.
222
211
  </objective>
223
212
 
224
213
  <execution_context>
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
214
+ @~/.claude/kata/workflows/execute-plan.md
215
+ @~/.claude/kata/templates/summary.md
216
+ @~/.claude/kata/references/checkpoints.md
217
+ @~/.claude/kata/references/tdd.md
229
218
  </execution_context>
230
219
 
231
220
  <context>
@@ -1,14 +1,3 @@
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
-
12
1
  <purpose>
13
2
  Verify phase goal achievement through goal-backward analysis. Check that the codebase actually delivers what the phase promised, not just that tasks were completed.
14
3
 
@@ -29,8 +18,8 @@ Then verify each level against the actual codebase.
29
18
  </core_principle>
30
19
 
31
20
  <required_reading>
32
- @$KATA_BASE/references/verification-patterns.md
33
- @$KATA_BASE/templates/verification-report.md
21
+ @~/.claude/kata/references/verification-patterns.md
22
+ @~/.claude/kata/templates/verification-report.md
34
23
  </required_reading>
35
24
 
36
25
  <process>
@@ -1,14 +1,3 @@
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
-
12
1
  <trigger>
13
2
  Use this workflow when:
14
3
  - Starting a new session on an existing project
@@ -25,7 +14,7 @@ Enables seamless session continuity for fully autonomous workflows.
25
14
  </purpose>
26
15
 
27
16
  <required_reading>
28
- @$KATA_BASE/references/continuation-format.md
17
+ @~/.claude/kata/references/continuation-format.md
29
18
  </required_reading>
30
19
 
31
20
  <process>
@@ -1,14 +1,3 @@
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
-
12
1
  <purpose>
13
2
  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.
14
3
 
@@ -26,7 +15,7 @@ No Pass/Fail buttons. No severity questions. Just: "Here's what should happen. D
26
15
  </philosophy>
27
16
 
28
17
  <template>
29
- @$KATA_BASE/templates/UAT.md
18
+ @~/.claude/kata/templates/UAT.md
30
19
  </template>
31
20
 
32
21
  <process>
@@ -371,7 +360,7 @@ Spawning parallel debug agents to investigate each issue.
371
360
  ```
372
361
 
373
362
  - Load diagnose-issues workflow
374
- - Follow @$KATA_BASE/workflows/diagnose-issues.md
363
+ - Follow @~/.claude/kata/workflows/diagnose-issues.md
375
364
  - Spawn parallel debug agents for each issue
376
365
  - Collect root causes
377
366
  - Update UAT.md with root causes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gannonh/kata",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "description": "Spec-driven development framework for Claude Code.",
6
6
  "scripts": {
@@ -10,17 +10,6 @@ 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
-
24
13
  <objective>
25
14
  Mark milestone {{version}} complete, archive to milestones/, and update ROADMAP.md and REQUIREMENTS.md.
26
15
 
@@ -31,8 +20,8 @@ Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tag
31
20
  <execution_context>
32
21
  **Load these files NOW (before proceeding):**
33
22
 
34
- - @$KATA_BASE/workflows/milestone-complete.md (main workflow)
35
- - @$KATA_BASE/templates/milestone-archive.md (archive template)
23
+ - @~/.claude/kata/workflows/milestone-complete.md (main workflow)
24
+ - @~/.claude/kata/templates/milestone-archive.md (archive template)
36
25
  </execution_context>
37
26
 
38
27
  <context>
@@ -10,17 +10,6 @@ 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
-
24
13
  <objective>
25
14
  Extract implementation decisions that downstream agents need — researcher and planner will use CONTEXT.md to know what to investigate and what choices are locked.
26
15
 
@@ -34,8 +23,8 @@ Extract implementation decisions that downstream agents need — researcher and
34
23
  </objective>
35
24
 
36
25
  <execution_context>
37
- @$KATA_BASE/workflows/phase-discuss.md
38
- @$KATA_BASE/templates/context.md
26
+ @~/.claude/kata/workflows/phase-discuss.md
27
+ @~/.claude/kata/templates/context.md
39
28
  </execution_context>
40
29
 
41
30
  <context>
@@ -10,17 +10,6 @@ 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
-
24
13
  <objective>
25
14
  Execute all plans in a phase using wave-based parallel execution.
26
15
 
@@ -30,9 +19,9 @@ Context budget: ~15% orchestrator, 100% fresh per subagent.
30
19
  </objective>
31
20
 
32
21
  <execution_context>
33
- @$KATA_BASE/references/ui-brand.md
34
- @$KATA_BASE/references/planning-config.md
35
- @$KATA_BASE/workflows/phase-execute.md
22
+ @~/.claude/kata/references/ui-brand.md
23
+ @~/.claude/kata/references/planning-config.md
24
+ @~/.claude/kata/workflows/phase-execute.md
36
25
  </execution_context>
37
26
 
38
27
  <context>
@@ -290,7 +279,7 @@ Plans with `autonomous: false` have checkpoints. The phase-execute.md workflow h
290
279
  - Orchestrator presents to user, collects response
291
280
  - Spawns fresh continuation agent (not resume)
292
281
 
293
- See `@$KATA_BASE/workflows/phase-execute.md` step `checkpoint_handling` for complete details.
282
+ See `@~/.claude/kata/workflows/phase-execute.md` step `checkpoint_handling` for complete details.
294
283
  </checkpoint_handling>
295
284
 
296
285
  <deviation_rules>
@@ -10,17 +10,6 @@ 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
-
24
13
  <objective>
25
14
  Analyze a phase and present Claude's assumptions about technical approach, implementation order, scope boundaries, risk areas, and dependencies.
26
15
 
@@ -29,7 +18,7 @@ Output: Conversational output only (no file creation) - ends with "What do you t
29
18
  </objective>
30
19
 
31
20
  <execution_context>
32
- @$KATA_BASE/workflows/phase-assumptions.md
21
+ @~/.claude/kata/workflows/phase-assumptions.md
33
22
  </execution_context>
34
23
 
35
24
  <context>
@@ -10,17 +10,6 @@ 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
-
24
13
  <objective>
25
14
  Analyze existing codebase using parallel kata-codebase-mapper agents to produce structured codebase documents.
26
15
 
@@ -30,7 +19,7 @@ Output: .planning/codebase/ folder with 7 structured documents about the codebas
30
19
  </objective>
31
20
 
32
21
  <execution_context>
33
- @$KATA_BASE/workflows/project-analyze.md
22
+ @~/.claude/kata/workflows/project-analyze.md
34
23
  </execution_context>
35
24
 
36
25
  <context>
@@ -10,19 +10,8 @@ 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
-
24
13
  <execution_context>
25
- @$KATA_BASE/references/ui-brand.md
14
+ @~/.claude/kata/references/ui-brand.md
26
15
  </execution_context>
27
16
 
28
17
  <objective>
@@ -10,17 +10,6 @@ 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
-
24
13
  <objective>
25
14
  Restore complete project context and resume work seamlessly from previous session.
26
15
 
@@ -34,11 +23,11 @@ Routes to the resume-project workflow which handles:
34
23
  </objective>
35
24
 
36
25
  <execution_context>
37
- @$KATA_BASE/workflows/resume-project.md
26
+ @~/.claude/kata/workflows/resume-project.md
38
27
  </execution_context>
39
28
 
40
29
  <process>
41
- **Follow the resume-project workflow** from `@$KATA_BASE/workflows/resume-project.md`.
30
+ **Follow the resume-project workflow** from `@~/.claude/kata/workflows/resume-project.md`.
42
31
 
43
32
  The workflow handles all resumption logic including:
44
33
 
@@ -10,17 +10,6 @@ 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
-
24
13
  <objective>
25
14
  Display changes between installed version and latest available version.
26
15
 
@@ -12,17 +12,6 @@ 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
-
26
15
  <objective>
27
16
  Start a new milestone through unified flow: questioning → research (optional) → requirements → roadmap.
28
17
 
@@ -39,10 +28,10 @@ This is the brownfield equivalent of project-new. The project exists, PROJECT.md
39
28
  </objective>
40
29
 
41
30
  <execution_context>
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
31
+ @~/.claude/kata/references/questioning.md
32
+ @~/.claude/kata/references/ui-brand.md
33
+ @~/.claude/kata/templates/project.md
34
+ @~/.claude/kata/templates/requirements.md
46
35
  </execution_context>
47
36
 
48
37
  <context>
@@ -12,17 +12,6 @@ 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
-
26
15
  <objective>
27
16
 
28
17
  Initialize a new project through unified flow: questioning → research (optional) → requirements → roadmap.
@@ -43,10 +32,10 @@ This is the most leveraged moment in any project. Deep questioning here means be
43
32
 
44
33
  <execution_context>
45
34
 
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
35
+ @~/.claude/kata/references/questioning.md
36
+ @~/.claude/kata/references/ui-brand.md
37
+ @~/.claude/kata/templates/project.md
38
+ @~/.claude/kata/templates/requirements.md
50
39
 
51
40
  </execution_context>
52
41
 
@@ -10,17 +10,6 @@ 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
-
24
13
  <objective>
25
14
  Check for Kata updates, install if available, and display what changed.
26
15
 
@@ -10,17 +10,6 @@ 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
-
24
13
  <objective>
25
14
  Validate built features through conversational testing with persistent state.
26
15
 
@@ -30,8 +19,8 @@ Output: {phase}-UAT.md tracking all test results. If issues found: diagnosed gap
30
19
  </objective>
31
20
 
32
21
  <execution_context>
33
- @$KATA_BASE/workflows/verify-work.md
34
- @$KATA_BASE/templates/UAT.md
22
+ @~/.claude/kata/workflows/verify-work.md
23
+ @~/.claude/kata/templates/UAT.md
35
24
  </execution_context>
36
25
 
37
26
  <context>