Skip to content

Commit a8da1e1

Browse files
committed
feat(prompts): update implementation and planning prompts for clarity and consistency
1 parent e1aefe6 commit a8da1e1

File tree

7 files changed

+73
-32
lines changed

7 files changed

+73
-32
lines changed

.github/prompts/speckit.implement.prompt.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ You must adhere to the following mandatory implementation requirements when writ
66

77
## Repository Tooling (Mandatory)
88

9-
- [ ] When you identify missing development capabilities (linting, CI/CD, Docker support, pre-commit hooks, etc.), consult the repository-template skill at [.github/skills/repository-template/SKILL.md](../skills/repository-template/SKILL.md) for standardised implementations.
9+
- [ ] When you identify missing development capabilities (linting, CI/CD, Docker support, pre-commit hooks, etc.), consult the repository-template skill at [.github/skills/repository-template/SKILL.md](/.github/skills/repository-template/SKILL.md) for standardised implementations.
1010

1111
## Quality Gates (Mandatory)
1212

@@ -16,8 +16,3 @@ After any source code change:
1616
2. [ ] Fix all errors and warnings — including those in files you not modified
1717
3. [ ] Repeat until both commands complete with zero errors and zero warnings
1818
4. [ ] Do this automatically without prompting
19-
20-
---
21-
22-
> **Version**: 1.0.0
23-
> **Last Amended**: 2026-01-21

.github/prompts/speckit.plan.prompt.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ When making architectural or significant technical decisions, document them as A
1717

1818
**ADR requirements:**
1919

20-
- [ ] Use the template at [docs/adr/adr-template.md](../../docs/adr/adr-template.md)
20+
- [ ] Use the template at [docs/adr/adr-template.md](/docs/adr/adr-template.md)
2121
- [ ] Follow the existing ADR format for consistency
2222
- [ ] Always present 3 or more options with trade-offs
2323
- [ ] Include the conversational context that led to the decision
@@ -32,16 +32,11 @@ This requirement is mandatory, especially during the spec-driven development cyc
3232
## Plan (Mandatory)
3333

3434
- [ ] Plan each phase and user story to include a Show & Tell section with all instructions needed to demonstrate the completed work to stakeholders (e.g. terminal commands, browser navigation, API calls)
35-
- [ ] Plan to always bring the below capabilities as the minimum using the repository-template skill at [.github/skills/repository-template/SKILL.md](../skills/repository-template/SKILL.md), and ensure they are up to date:
35+
- [ ] Plan to always bring the below capabilities as the minimum using the repository-template skill at [.github/skills/repository-template/SKILL.md](/.github/skills/repository-template/SKILL.md), and ensure they are up to date:
3636
- [ ] Core Make System
3737
- [ ] Pre-commit Hooks
3838
- [ ] Secret Scanning
3939
- [ ] File Format Checking
4040
- [ ] Markdown Linting
4141
- [ ] Docker Support
4242
- [ ] Tool Version Management
43-
44-
---
45-
46-
> **Version**: 1.0.0
47-
> **Last Amended**: 2026-01-21

.github/prompts/speckit.tasks.prompt.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,5 @@ You must adhere to the following mandatory task creation requirements when gener
77
## Test-Driven Development (Mandatory)
88

99
- [ ] Define tasks using a strict TDD approach
10-
- [ ] For each specified functionality, sequence tasks as Red (write failing test first), Green (implement to pass), then Refactor (improve code without changing behavior)
10+
- [ ] For each specified functionality, sequence tasks as Red (write failing test first), Green (implement to pass), then Refactor (improve code without changing behaviour)
1111
- [ ] Ensure tests are always listed before implementation tasks
12-
13-
---
14-
15-
> **Version**: 1.0.0
16-
> **Last Amended**: 2026-01-21

.specify/extensions/manifest.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,14 @@
2020
#
2121
# 3. Run: make patch-speckit
2222

23-
# # Default injection points per category
24-
# defaults:
25-
# agents: after-frontmatter
26-
# prompts: after-frontmatter
27-
# templates: after-frontmatter
23+
# Default injection points per category
24+
defaults:
25+
agents: after-frontmatter
26+
prompts: after-frontmatter
27+
templates: after-frontmatter
2828

29-
# # Per-file overrides (filename: injection-strategy)
30-
# # Examples:
31-
# # speckit.specify.agent.md: before-section:## Outline
32-
# # tasks-template.md: after-section:## Format
33-
# overrides:
34-
# speckit.implement.agent.md: before-section:## Outline
35-
# speckit.specify.prompt.md: after-frontmatter
36-
# tasks-template.md: before-section:## Phase 1
29+
# Per-file overrides (filename: injection-strategy)
30+
# Examples:
31+
# speckit.specify.agent.md: before-section:## Outline
32+
# tasks-template.md: after-section:## Format
33+
overrides: {}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
You must adhere to the following mandatory implementation requirements when writing code for features.
2+
3+
## Repository Tooling (Mandatory)
4+
5+
- [ ] When you identify missing development capabilities (linting, CI/CD, Docker support, pre-commit hooks, etc.), consult the repository-template skill at [.github/skills/repository-template/SKILL.md](/.github/skills/repository-template/SKILL.md) for standardised implementations.
6+
7+
## Quality Gates (Mandatory)
8+
9+
After any source code change:
10+
11+
1. [ ] Run `make lint` and `make test`
12+
2. [ ] Fix all errors and warnings — including those in files you not modified
13+
3. [ ] Repeat until both commands complete with zero errors and zero warnings
14+
4. [ ] Do this automatically without prompting
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
You must adhere to the following mandatory planning requirements when creating a development plan.
2+
3+
## Documentation (Mandatory)
4+
5+
When making architectural or significant technical decisions, document them as Architecture Decision Records (ADRs):
6+
7+
**What requires an ADR:**
8+
9+
- [ ] Architectural style choices (e.g. event-driven vs layered, monolith vs microservices)
10+
- [ ] Architectural pattern choices (e.g. composition over inheritance, repository pattern, event sourcing)
11+
- [ ] Language and framework selections
12+
- [ ] Any other significant technical decision that shapes the system
13+
14+
**ADR requirements:**
15+
16+
- [ ] Use the template at [docs/adr/adr-template.md](/docs/adr/adr-template.md)
17+
- [ ] Follow the existing ADR format for consistency
18+
- [ ] Always present 3 or more options with trade-offs
19+
- [ ] Include the conversational context that led to the decision
20+
- [ ] Document decisions regardless of whether you made them independently or were guided by the user
21+
22+
This requirement is mandatory, especially during the spec-driven development cycle: `spec``plan``tasks``implement`.
23+
24+
## Toolchain Version (Mandatory)
25+
26+
- [ ] Use the latest stable language, runtime, and framework versions at the time of change, search the internet for the latest versions
27+
28+
## Plan (Mandatory)
29+
30+
- [ ] Plan each phase and user story to include a Show & Tell section with all instructions needed to demonstrate the completed work to stakeholders (e.g. terminal commands, browser navigation, API calls)
31+
- [ ] Plan to always bring the below capabilities as the minimum using the repository-template skill at [.github/skills/repository-template/SKILL.md](/.github/skills/repository-template/SKILL.md), and ensure they are up to date:
32+
- [ ] Core Make System
33+
- [ ] Pre-commit Hooks
34+
- [ ] Secret Scanning
35+
- [ ] File Format Checking
36+
- [ ] Markdown Linting
37+
- [ ] Docker Support
38+
- [ ] Tool Version Management
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
You must adhere to the following mandatory task creation requirements when generating development tasks.
2+
3+
## Test-Driven Development (Mandatory)
4+
5+
- [ ] Define tasks using a strict TDD approach
6+
- [ ] For each specified functionality, sequence tasks as Red (write failing test first), Green (implement to pass), then Refactor (improve code without changing behaviour)
7+
- [ ] Ensure tests are always listed before implementation tasks

0 commit comments

Comments
 (0)