Skip to content

Commit b27fcf1

Browse files
committed
fix: complete [n] → [NN] placeholder consistency across all prompt files
- Fixed remaining [n] placeholders in validate-spec-implementation.md - Fixed [n] → [NN] in generate-spec.md template header - Fixed [n] → [NN] in generate-task-list-from-spec.md final instructions - Fixed [n] → [NN] in manage-tasks.md checklist and protocol sections - All prompt files now consistently use [NN] for zero-padded two-digit spec numbers - Quality gates pass: pre-commit hooks, linting, and formatting
1 parent cdda5e5 commit b27fcf1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

prompts/generate-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ If the feature involves existing systems, briefly review the codebase and existi
155155
Generate a comprehensive specification using this exact structure:
156156

157157
```markdown
158-
# [n]-spec-[feature-name].md
158+
# [NN]-spec-[feature-name].md
159159

160160
## Introduction/Overview
161161

prompts/generate-task-list-from-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Once this task list is complete and approved, instruct the user to run `/manage-
237237

238238
1. Follow the Chain-of-Thought Analysis Process before generating any tasks
239239
2. Assess current codebase for existing patterns and reusable components
240-
3. Generate high-level tasks that represent demoable units of work (adjust count based on spec complexity) and save them to `./docs/specs/[n]-spec-[feature-name]/[n]-tasks-[feature-name].md`
240+
3. Generate high-level tasks that represent demoable units of work (adjust count based on spec complexity) and save them to `./docs/specs/[NN]-spec-[feature-name]/[NN]-tasks-[feature-name].md`
241241
4. **CRITICAL**: Stop after generating parent tasks and wait for "Generate sub tasks" confirmation before proceeding.
242242
5. Ensure every parent task has specific Demo Criteria and Proof Artifacts
243243
6. Identify all relevant files for creation/modification

prompts/manage-tasks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ For each parent task, follow this structured workflow with built-in verification
8080
```markdown
8181
## PRE-WORK CHECKLIST (Complete before starting any sub-task)
8282

83-
[ ] Locate task file: `./docs/specs/[n]-spec-[feature-name]/[n]-tasks-[feature-name].md`
83+
[ ] Locate task file: `./docs/specs/[NN]-spec-[feature-name]/[NN]-tasks-[feature-name].md`
8484
[ ] Read current task status and identify next sub-task
8585
[ ] Verify checkpoint mode preference with user
8686
[ ] Confirm demo criteria for current parent task
@@ -206,7 +206,7 @@ Each parent task must include artifacts that:
206206

207207
For each parent task completion:
208208

209-
[ ] **Directory Ready**: `./docs/specs/[n]-spec-[feature-name]/[n]-proofs/` exists
209+
[ ] **Directory Ready**: `./docs/specs/[NN]-spec-[feature-name]/[NN]-proofs/` exists
210210
[ ] **Review Task Requirements**: Check what demo evidence the task specifically requires
211211
[ ] **Create Single Proof File**: Create `[spec-number]-task-[task-number]-proofs.md`
212212
[ ] **Include All Evidence in One File**:

prompts/validate-spec-implementation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ Validate that the **code changes** conform to the Spec and Task List by verifyin
6060

6161
If no spec is provided, follow this exact sequence:
6262

63-
1. Scan `./docs/specs/` for directories matching pattern `[n]-spec-[feature-name]/`
64-
2. Identify spec directories with corresponding `[n]-tasks-[feature-name].md` files
63+
1. Scan `./docs/specs/` for directories matching pattern `[NN]-spec-[feature-name]/`
64+
2. Identify spec directories with corresponding `[NN]-tasks-[feature-name].md` files
6565
3. Select the spec with:
6666
- Highest sequence number where task list exists
6767
- At least one incomplete parent task (`[ ]` or `[~]`)

0 commit comments

Comments
 (0)