Skip to content

Commit e696cdd

Browse files
fix: remove hardcoded anchor links from template TOCs, use plain text exemplars
1 parent 08fbad5 commit e696cdd

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

templates/plan-template.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55

66
## Table of Contents
77

8-
- [Summary](#summary)
9-
- [Technical Context](#technical-context)
10-
- [Constitution Check](#constitution-check)
11-
- [Project Structure](#project-structure)
12-
- [Complexity Tracking](#complexity-tracking)
8+
<!-- TOC below is an exemplar. The /speckit.plan command MUST regenerate
9+
this list with proper anchor links from the actual ## headings. -->
10+
11+
- Summary
12+
- Technical Context
13+
- Constitution Check
14+
- Project Structure
15+
- Complexity Tracking
1316

1417
**Note**: This template is filled in by the `/speckit.plan` command. See `.specify/templates/plan-template.md` for the execution workflow.
1518

templates/spec-template.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@
77

88
## Table of Contents
99

10-
- [User Scenarios & Testing](#user-scenarios--testing-mandatory)
11-
- [Requirements](#requirements-mandatory)
12-
- [Success Criteria](#success-criteria-mandatory)
13-
- [Assumptions](#assumptions)
10+
<!-- TOC below is an exemplar. The /speckit.specify command MUST regenerate
11+
this list with proper anchor links from the actual ## headings. -->
12+
13+
- User Scenarios & Testing
14+
- Requirements
15+
- Success Criteria
16+
- Assumptions
1417

1518
## User Scenarios & Testing *(mandatory)*
1619

templates/tasks-template.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ description: "Task list template for feature implementation"
1515
## Table of Contents
1616

1717
<!-- TOC below is an exemplar. The /speckit.tasks command MUST regenerate
18-
this list from the actual ## headings in the final document. -->
18+
this list with proper anchor links from the actual ## headings. -->
1919

20-
- [Format](#format-id-p-story-description)
21-
- [Path Conventions](#path-conventions)
20+
- Format
21+
- Path Conventions
2222
- Phase 1: Setup (Shared Infrastructure)
2323
- Phase 2: Foundational (Blocking Prerequisites)
2424
- Phase 3+: User Story phases (generated from spec.md priorities)
2525
- Phase N: Polish & Cross-Cutting Concerns
26-
- [Dependencies & Execution Order](#dependencies--execution-order)
27-
- [Implementation Strategy](#implementation-strategy)
28-
- [Notes](#notes)
26+
- Dependencies & Execution Order
27+
- Implementation Strategy
28+
- Notes
2929

3030
## Format: `[ID] [P?] [Story] Description`
3131

0 commit comments

Comments
 (0)