You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update SDD-2 so generated task files present the Relevant Files section as a markdown table instead of a bullet list.
This makes planned file coverage easier to scan during task review without changing the underlying workflow.
Co-Authored-By: OpenCode <no-reply@example.com>
Copy file name to clipboardExpand all lines: prompts/SDD-2-generate-task-list-from-spec.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,9 +191,9 @@ Do not proceed to Phase 2 until you produce a standards evidence table with:
191
191
192
192
Wait for explicit user confirmation before generating sub-tasks. Then:
193
193
194
-
1.**Identify Relevant Files:**List all files that will need creation or modification
194
+
1.**Identify Relevant Files:**Capture all files that will need creation or modification in a markdown table
195
195
2.**Generate Sub-Tasks:** Break down each parent task into smaller, actionable sub-tasks
196
-
3.**Update Task List:** Update the existing `./docs/specs/[NN]-spec-[feature-name]/[NN]-tasks-[feature-name].md` file with the sub-tasks and relevant files sections
196
+
3.**Update Task List:** Update the existing `./docs/specs/[NN]-spec-[feature-name]/[NN]-tasks-[feature-name].md` file with the sub-tasks and relevant files table sections
197
197
198
198
### Phase 4: Planning Audit Gate (Required)
199
199
@@ -291,12 +291,14 @@ After user confirmation in Phase 3, update the file with this complete structure
291
291
```markdown
292
292
## Relevant Files
293
293
294
-
-`path/to/potential/file1.ts` - Brief description of why this file is relevant (e.g., Contains the main component for this feature).
295
-
-`path/to/file1.test.ts` - Unit tests for `file1.ts`.
296
-
-`path/to/another/file.tsx` - Brief description (e.g., API route handler for data submission).
297
-
-`path/to/another/file.test.tsx` - Unit tests for `another/file.tsx`.
298
-
-`lib/utils/helpers.ts` - Brief description (e.g., Utility functions needed for calculations).
299
-
-`lib/utils/helpers.test.ts` - Unit tests for `helpers.ts`.
294
+
| File | Why It Is Relevant |
295
+
| --- | --- |
296
+
|`path/to/potential/file1.ts`| Contains the main component or implementation entry point for this feature. |
297
+
|`path/to/file1.test.ts`| Unit tests for `file1.ts`. |
298
+
|`path/to/another/file.tsx`| API route handler or UI entry point for data submission. |
299
+
|`path/to/another/file.test.tsx`| Unit tests for `another/file.tsx`. |
300
+
|`lib/utils/helpers.ts`| Utility functions needed for calculations or shared behavior. |
301
+
|`lib/utils/helpers.test.ts`| Unit tests for `helpers.ts`. |
300
302
301
303
### Notes
302
304
@@ -437,7 +439,7 @@ Before finalizing your task list, verify:
437
439
-[ ] Tasks are appropriately scoped (not too large/small)
438
440
-[ ] Dependencies are logical and sequential
439
441
-[ ] Sub-tasks are actionable and unambiguous
440
-
-[ ] Relevant files are comprehensiveand accurate
442
+
-[ ] Relevant files table is comprehensive, accurate, and easy to scan
441
443
-[ ] Format follows the exact structure specified above
442
444
-[ ] Repository standards and patterns are identified and incorporated
443
445
-[ ] Implementation will follow established coding conventions and workflows
@@ -457,7 +459,7 @@ Only after REQUIRED audit gates pass, instruct the user to run `/SDD-3-manage-ta
457
459
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`
458
460
4.**CRITICAL**: Stop after generating parent tasks and wait for "Generate sub tasks" confirmation before proceeding.
459
461
5. Ensure every parent task has specific Proof Artifacts that demonstrate what will be shown
460
-
6. Identify all relevant files for creation/modification
462
+
6. Identify all relevant files for creation/modification and present them in the required markdown table format
461
463
7. Run the planning audit gate and create `[NN]-audit-[feature-name].md`
462
464
8. Present findings and remediation plan; wait for explicit approval before remediation edits
463
465
9. Run the Chain-of-Verification check before handoff decisions
0 commit comments