diff --git a/templates/commands/specify.md b/templates/commands/specify.md index dd2d27dd47..c68d3b2705 100644 --- a/templates/commands/specify.md +++ b/templates/commands/specify.md @@ -20,7 +20,9 @@ You **MUST** consider the user input before proceeding (if not empty). ## Pre-Execution -Run `hooks.before_specify` from `.specify/extensions.yml` if present; otherwise skip. +Check `.specify/extensions.yml` for `hooks.before_specify` entries: +- For each executable hook, output the following based on its `optional` flag: prompt optional hooks, auto-execute mandatory hooks. +- Skip if no hooks registered or file absent. ## Output constraint diff --git a/templates/plan-template.md b/templates/plan-template.md index 4b338e4163..30dbfb6e0c 100644 --- a/templates/plan-template.md +++ b/templates/plan-template.md @@ -27,7 +27,7 @@ Gates derived from `.specify/memory/constitution.md`. MUST pass before Phase 0 a ```text specs/[###-feature]/ -├── plan.md # this file +├── plan.md # this file (__SPECKIT_COMMAND_PLAN__ output) ├── research.md # Phase 0 ├── data-model.md # Phase 1 ├── quickstart.md # Phase 1 diff --git a/templates/tasks-template.md b/templates/tasks-template.md index c6e6a5d8e2..b81c73322a 100644 --- a/templates/tasks-template.md +++ b/templates/tasks-template.md @@ -27,7 +27,7 @@ description: "Task list template for feature implementation" Adjust based on `plan.md`'s Structure Decision. - + ## Phase 1: Setup