Skip to content

Commit 09b8013

Browse files
cahaselerclaude
andauthored
fix: use ${CLAUDE_PLUGIN_ROOT} for template paths in workflow commands (#185)
Update template references to use the full plugin root path now that variable substitution works: - constitution.md: constitution-template.md - plan.md: plan-template.md - specify.md: spec-template.md - tasks.md: tasks-template.md (2 references) Co-authored-by: Craig Haseler <cahaseler@users.noreply.github.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 967f26e commit 09b8013

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

commands/constitution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Any specific technical constraints?
8484

8585
## Phase 2: Generate Constitution
8686

87-
Use `templates/constitution-template.md` and customize:
87+
Read template from `${CLAUDE_PLUGIN_ROOT}/templates/constitution-template.md` and customize:
8888

8989
### Core Principles Section
9090
Based on project type and complexity:

commands/plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ For each endpoint from spec:
279279
Save to `contracts/` directory.
280280

281281
### Write Plan Document
282-
Use `templates/plan-template.md`:
282+
Read template from `${CLAUDE_PLUGIN_ROOT}/templates/plan-template.md`:
283283
- Summary
284284
- Technical Context (from above)
285285
- Constitution Check results

commands/specify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ If needed, spawn 1-2 Explore agents (parallel via Task tool). Results inform you
114114

115115
Once you have **complete** understanding (all taxonomy areas covered, no remaining ambiguities):
116116

117-
1. **Read** `templates/spec-template.md`
117+
1. **Read** `${CLAUDE_PLUGIN_ROOT}/templates/spec-template.md`
118118
2. **Fill in** all sections from gathered information
119119
3. **Write** to `.cc-track/specs/{taskId}-{featureName}/spec.md`
120120

commands/tasks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ For phases requiring a waiver, mark them `[TDD WAIVER REQUESTED]` in the initial
9898

9999
## Step 2: Generate tasks.md
100100

101-
Use `templates/tasks-template.md` as the base structure.
101+
Read template from `${CLAUDE_PLUGIN_ROOT}/templates/tasks-template.md` as the base structure.
102102

103103
### Structure
104104

@@ -229,7 +229,7 @@ Dispatch subagents one at a time in TDD order:
229229
230230
### For Parallel Phases and Dependency Enforcement
231231
232-
See `templates/tasks-template.md` for the orchestration patterns (pipeline flow, polling fallback, dependency rules). These are included in the generated tasks.md and followed during execution.
232+
See `${CLAUDE_PLUGIN_ROOT}/templates/tasks-template.md` for the orchestration patterns (pipeline flow, polling fallback, dependency rules). These are included in the generated tasks.md and followed during execution.
233233
234234
### For Waived Phases
235235

0 commit comments

Comments
 (0)