Skip to content

Commit 1a84f1f

Browse files
maxfindelbooster-pack.devclaude
authored
fix: restore __SPECKIT_COMMAND_PLAN__ marker and specify hook note (#5)
PR #4 terse rewrite dropped two substitution markers causing 6 CI failures: - plan-template.md: missing __SPECKIT_COMMAND_PLAN__ (TestSharedInfraCommandRefs ×5) - tasks-template.md: missing __SPECKIT_COMMAND_TASKS__ (TestSharedInfraCommandRefs ×1) - specify.md: missing replace-dots hook note (TestClaudeHookCommandNote ×1) Co-authored-by: booster-pack.dev <dev@fellowship.dev> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 21c92de commit 1a84f1f

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

templates/commands/specify.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ You **MUST** consider the user input before proceeding (if not empty).
2020

2121
## Pre-Execution
2222

23-
Run `hooks.before_specify` from `.specify/extensions.yml` if present; otherwise skip.
23+
Check `.specify/extensions.yml` for `hooks.before_specify` entries:
24+
- For each executable hook, output the following based on its `optional` flag: prompt optional hooks, auto-execute mandatory hooks.
25+
- Skip if no hooks registered or file absent.
2426

2527
## Output constraint
2628

templates/plan-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Gates derived from `.specify/memory/constitution.md`. MUST pass before Phase 0 a
2727

2828
```text
2929
specs/[###-feature]/
30-
├── plan.md # this file
30+
├── plan.md # this file (__SPECKIT_COMMAND_PLAN__ output)
3131
├── research.md # Phase 0
3232
├── data-model.md # Phase 1
3333
├── quickstart.md # Phase 1

templates/tasks-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ description: "Task list template for feature implementation"
2727

2828
Adjust based on `plan.md`'s Structure Decision.
2929

30-
<!-- Replace the sample tasks below with real ones derived from plan.md + spec.md. -->
30+
<!-- Replace the sample tasks below with real ones derived from plan.md + spec.md (__SPECKIT_COMMAND_TASKS__). -->
3131

3232
## Phase 1: Setup
3333

0 commit comments

Comments
 (0)