Skip to content

Commit 5c66b9a

Browse files
revert: remove all core template changes, pivot to preset approach
1 parent 8979c44 commit 5c66b9a

6 files changed

Lines changed: 1 addition & 31 deletions

File tree

templates/commands/plan.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ You **MUST** consider the user input before proceeding (if not empty).
6565
2. **Load context**: Read FEATURE_SPEC and `/memory/constitution.md`. Load IMPL_PLAN template (already copied).
6666
6767
3. **Execute plan workflow**: Follow the structure in IMPL_PLAN template to:
68-
- Include a **Table of Contents** section immediately after the title and header details, and before the Summary. List all `##`-level headings as markdown anchor links (lowercase, spaces to hyphens, strip special characters). Only include sections that actually appear in the final document.
6968
- Fill Technical Context (mark unknowns as "NEEDS CLARIFICATION")
7069
- Fill Constitution Check section from constitution
7170
- Evaluate gates (ERROR if violations unjustified)

templates/commands/specify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Given that feature description, do this:
120120
7. Identify Key Entities (if data involved)
121121
8. Return: SUCCESS (spec ready for planning)
122122
123-
5. Write the specification to SPEC_FILE using the template structure, replacing placeholders with concrete details derived from the feature description (arguments) while preserving section order and headings. Include a **Table of Contents** section immediately after the title and initial metadata lines at the top of the file, and before the first content section. The TOC must list all `##`-level headings as markdown anchor links (lowercase, spaces to hyphens, strip special characters). Example: `- [User Scenarios & Testing](#user-scenarios--testing)`. Only include sections that actually appear in the final document.
123+
5. Write the specification to SPEC_FILE using the template structure, replacing placeholders with concrete details derived from the feature description (arguments) while preserving section order and headings.
124124
125125
6. **Specification Quality Validation**: After writing the initial spec, validate it against quality criteria:
126126

templates/commands/tasks.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ You **MUST** consider the user input before proceeding (if not empty).
7777
- Validate task completeness (each user story has all needed tasks, independently testable)
7878
7979
4. **Generate tasks.md**: Use `templates/tasks-template.md` as structure, fill with:
80-
- A **Table of Contents** section immediately after the title and metadata lines, and before the first `##` section. List all `##`-level headings as markdown anchor links (lowercase, spaces to hyphens, strip special characters). Only include sections that actually appear in the final document.
8180
- Correct feature name from plan.md
8281
- Phase 1: Setup tasks (project initialization)
8382
- Phase 2: Foundational tasks (blocking prerequisites for all user stories)

templates/plan-template.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@
33
**Branch**: `[###-feature-name]` | **Date**: [DATE] | **Spec**: [link]
44
**Input**: Feature specification from `/specs/[###-feature-name]/spec.md`
55

6-
## Table of Contents
7-
8-
- Summary
9-
- Technical Context
10-
- Constitution Check
11-
- Project Structure
12-
- Complexity Tracking
13-
146
**Note**: This template is filled in by the `/speckit.plan` command. See `.specify/templates/plan-template.md` for the execution workflow.
157

168
## Summary

templates/spec-template.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
**Status**: Draft
66
**Input**: User description: "$ARGUMENTS"
77

8-
## Table of Contents
9-
10-
- User Scenarios & Testing
11-
- Requirements
12-
- Success Criteria
13-
- Assumptions
14-
158
## User Scenarios & Testing *(mandatory)*
169

1710
<!--

templates/tasks-template.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,6 @@ description: "Task list template for feature implementation"
1212

1313
**Organization**: Tasks are grouped by user story to enable independent implementation and testing of each story.
1414

15-
## Table of Contents
16-
17-
- Format
18-
- Path Conventions
19-
- Phase 1: Setup (Shared Infrastructure)
20-
- Phase 2: Foundational (Blocking Prerequisites)
21-
- Phase 3+: User Story phases (generated from spec.md priorities)
22-
- Phase N: Polish & Cross-Cutting Concerns
23-
- Dependencies & Execution Order
24-
- Parallel Example: User Story 1
25-
- Implementation Strategy
26-
- Notes
27-
2815
## Format: `[ID] [P?] [Story] Description`
2916

3017
- **[P]**: Can run in parallel (different files, no dependencies)

0 commit comments

Comments
 (0)