with one click
speckit-03-plan
Create technical implementation plan from feature specification
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create technical implementation plan from feature specification
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Create or update project governance principles and constitution
Create feature specification from natural language description
Identify underspecified areas and ask targeted clarification questions
Generate domain-specific quality checklists for requirements validation
Generate test specifications from requirements before implementation (TDD support)
Generate actionable task breakdown from plan and specification
| name | speckit-03-plan |
| description | Create technical implementation plan from feature specification |
Execute the implementation planning workflow using the plan template to generate design artifacts.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Before ANY action, load and internalize the project constitution:
Read constitution:
cat .specify/memory/constitution.md 2>/dev/null || echo "NO_CONSTITUTION"
If file doesn't exist:
ERROR: Project constitution not found at .specify/memory/constitution.md
Cannot proceed without constitution.
Run: /speckit-00-constitution
Parse all principles, constraints, and governance rules.
Extract Enforcement Rules:
CONSTITUTION ENFORCEMENT RULES:
[MUST] Use TDD - write tests before implementation
[MUST NOT] Use external dependencies without justification
[REQUIRED] All code must have error handling
Validation commitment: Every output will be validated against each principle before being written.
Hard Gate Declaration: State explicitly:
CONSTITUTION GATE ACTIVE
Extracted X enforcement rules
ANY violation will HALT planning with explanation
Run setup script (choose based on platform):
Unix/macOS/Linux:
bash .tessl/tiles/tessl-labs/spec-kit/skills/speckit-01-specify/scripts/bash/setup-plan.sh --json
Windows (PowerShell):
pwsh .tessl/tiles/tessl-labs/spec-kit/skills/speckit-01-specify/scripts/powershell/setup-plan.ps1 -Json
Parse JSON for:
FEATURE_SPEC - path to spec.mdIMPL_PLAN - path to plan.mdSPECS_DIR - feature directoryBRANCH - current branch nameIf error or missing spec.md:
ERROR: spec.md not found in feature directory.
Run: /speckit-01-specify <feature description>
BEFORE proceeding to planning, perform semantic validation:
Read the spec.md and validate:
Requirement Count Check:
WARNING: Spec may be underspecified (found X requirements, recommend 3+).
ERROR: Cannot plan without requirements.
The spec.md has no functional requirements (FR-XXX).
Run: /speckit-01-specify to add requirements, or manually add FR-XXX items to spec.md
Measurable Success Criteria Check:
WARNING: No measurable success criteria found.
Recommendation: Add metrics like "under 3 seconds", "95% uptime", "10,000 users".
Unresolved Clarification Check:
[NEEDS CLARIFICATION] markersUser Story Coverage Check:
WARNING: User Story X has no acceptance criteria.
Recommendation: Add acceptance scenarios to validate the story is complete.
Cross-Reference Validation:
WARNING: Orphan requirement detected (FR-XXX not linked to any user story).
Recommendation: Link requirements to user stories for traceability.
Calculate and display:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ SPEC QUALITY REPORT โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Requirements: X found (min: 3) [โ/โ]โ
โ Success Criteria: X found (min: 3) [โ/โ]โ
โ User Stories: X found (min: 1) [โ/โ]โ
โ Measurable: X criteria have metrics โ
โ Clarifications: X unresolved โ
โ Coverage: X% requirements linked โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ OVERALL SCORE: X/10 โ
โ STATUS: [READY/NEEDS WORK] โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
If score < 6: Recommend running /speckit-02-clarify first
If score >= 6: Proceed with planning
FEATURE_SPEC and constitutionIMPL_PLAN templateFollow the structure in IMPL_PLAN template to:
Fill Technical Context (mark unknowns as "NEEDS CLARIFICATION"):
Fill Constitution Check section from constitution principles
Evaluate gates - ERROR if violations cannot be justified
Purpose: Discover, install, and catalog Tessl tiles for all technologies in the Technical Context. Tiles provide documentation, rules, and skills that improve implementation quality.
Platform Detection:
command -v tessl >/dev/null 2>&1Get-Command tessl -ErrorAction SilentlyContinueIf Tessl NOT Available: Display once and continue without tile operations:
โน๏ธ Tessl not installed. Tile-based documentation unavailable.
Install Tessl for enhanced library documentation: https://tessl.io
If Tessl Available: Proceed with tile discovery.
mcp__tessl__status()
This shows authentication status and any existing tiles.
From the drafted Technical Context, extract:
For each technology identified:
Search for tiles:
mcp__tessl__search(query="<technology>")
For each tile found, identify type:
describes field)rules section)skill section)Install relevant tiles:
mcp__tessl__install(packageName="<workspace/tile-name>")
Document in research.md (Tessl Tiles section):
## Tessl Tiles
### Installed Tiles
| Technology | Tile | Type | Version |
|------------|------|------|---------|
| Python | tessl/python | Documentation | 1.2.0 |
| Click | tessl/click | Documentation | 0.8.0 |
| pytest | tessl/pytest | Documentation + Rules | 1.0.0 |
### Available Skills
The following skills are available from installed tiles:
- `/<skill-name>` - Description of what the skill does
### Technologies Without Tiles
- <technology>: No tile found in registry
If no tiles found for a technology:
For each installed documentation tile, query for best practices:
mcp__tessl__query_library_docs(query="best practices for <library>")
Incorporate findings into research.md decisions section.
List all available skills from installed tiles:
/speckit-08-implement)tessl login, continue without tilesExtract unknowns from Technical Context:
Research each unknown and document findings
Consolidate findings in research.md:
Output: research.md with all NEEDS CLARIFICATION resolved (includes Tessl Tiles section if Tessl available)
Prerequisites: research.md complete
Extract entities from feature spec -> data-model.md:
Generate API contracts from functional requirements:
/contracts/Create quickstart.md with test scenarios
Agent context update (choose based on platform):
Unix/macOS/Linux:
bash .tessl/tiles/tessl-labs/spec-kit/skills/speckit-01-specify/scripts/bash/update-agent-context.sh claude
Windows (PowerShell):
pwsh .tessl/tiles/tessl-labs/spec-kit/skills/speckit-01-specify/scripts/powershell/update-agent-context.ps1 -AgentType claude
This updates CLAUDE.md with the new technology stack.
Output: data-model.md, /contracts/*, quickstart.md, updated agent file
Re-evaluate the Constitution Check after design phase:
Before finalizing, scan the draft plan for governance content that belongs in /speckit-00-constitution:
Check for violations - plan MUST NOT contain:
Plan SHOULD contain (these are appropriate here):
If violations found:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ PHASE SEPARATION VIOLATION DETECTED โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Plan contains governance content: โ
โ - [list each violation] โ
โ โ
โ Governance principles belong in /speckit-00-constitution. โ
โ Plan defines HOW to implement THIS feature, not project laws. โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ ACTION: Moving governance content to constitution reference...โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Auto-fix: Replace governance statements with constitution references:
Re-validate after fixes until no violations remain.
Before writing ANY artifact:
Output:
If plan.md already exists with content, perform semantic diff before overwriting:
If plan.md exists and has Technical Context filled in:
Extract semantic elements:
Compare with new content:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ SEMANTIC DIFF: plan.md โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Tech Stack: โ
โ ~ Language: Python 3.11 โ Python 3.12 โ
โ + Added: Redis for caching โ
โ - Removed: None โ
โ โ
โ Architecture: โ
โ ~ Changed: Switched from REST to GraphQL โ
โ + Added: Event sourcing pattern โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ DOWNSTREAM IMPACT: โ
โ โ tasks.md MUST be regenerated (architecture change)โ
โ โ contracts/ need updates (API change) โ
โ โ data-model.md may need updates โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Flag breaking changes:
If significant changes detected:
WARNING: Plan changes detected that invalidate downstream artifacts.
Recommend re-running:
- /speckit-06-tasks (REQUIRED - architecture changed)
- /speckit-07-analyze (RECOMMENDED - verify consistency)
After completing the plan, determine next step based on constitution:
If TDD is MANDATORY in constitution:
Plan complete! Next steps:
1. /speckit-04-checklist - (Recommended) Generate quality checklists
2. /speckit-05-testify - (REQUIRED by constitution) Generate test specifications
3. /speckit-06-tasks - Generate task breakdown
If TDD is optional or not mentioned:
Plan complete! Next steps:
1. /speckit-04-checklist - (Recommended) Generate quality checklists
2. /speckit-05-testify - (Optional) Generate test specifications for TDD
3. /speckit-06-tasks - Generate task breakdown
IMPORTANT: Do NOT suggest /speckit-08-implement here - it requires tasks.md to exist first.