Create Implementation Plan

Create Implementation Plan

Has the AI write a machine-readable implementation plan file for a feature, refactor, upgrade or infrastructure change, broken into atomic phases with measurable completion criteria.

Skill files1 file
SKILL.md186 lines
1
---
2
name: create-implementation-plan
3
description: 'Create a new implementation plan file for new features, refactoring existing code or upgrading packages, design, architecture or infrastructure.'
4
---
5
6
# Create Implementation Plan
7
8
## Primary Directive
9
10
Your goal is to create a new implementation plan file for `${input:PlanPurpose}`. Your output must be machine-readable, deterministic, and structured for autonomous execution by other AI systems or humans.
11
12
## Execution Context
13
14
This prompt is designed for AI-to-AI communication and automated processing. All instructions must be interpreted literally and executed systematically without human interpretation or clarification.
15
16
## Core Requirements
17
18
- Generate implementation plans that are fully executable by AI agents or humans
19
- Use deterministic language with zero ambiguity
20
- Structure all content for automated parsing and execution
21
- Ensure complete self-containment with no external dependencies for understanding
22
23
## Plan Structure Requirements
24
25
Plans must consist of discrete, atomic phases containing executable tasks. Each phase must be independently processable by AI agents or humans without cross-phase dependencies unless explicitly declared.
26
27
## Phase Architecture
28
29
- Each phase must have measurable completion criteria
30
- Tasks within phases must be executable in parallel unless dependencies are specified
31
- All task descriptions must include specific file paths, function names, and exact implementation details
32
- No task should require human interpretation or decision-making
33
34
## AI-Optimized Implementation Standards
35
36
- Use explicit, unambiguous language with zero interpretation required
37
- Structure all content as machine-parseable formats (tables, lists, structured data)
38
- Include specific file paths, line numbers, and exact code references where applicable
39
- Define all variables, constants, and configuration values explicitly
40
- Provide complete context within each task description
41
- Use standardized prefixes for all identifiers (REQ-, TASK-, etc.)
42
- Include validation criteria that can be automatically verified
43
44
## Output File Specifications
45
46
- Save implementation plan files in `/plan/` directory
47
- Use naming convention: `[purpose]-[component]-[version].md`
48
- Purpose prefixes: `upgrade|refactor|feature|data|infrastructure|process|architecture|design`
49
- Example: `upgrade-system-command-4.md`, `feature-auth-module-1.md`
50
- File must be valid Markdown with proper front matter structure
51
52
## Mandatory Template Structure
53
54
All implementation plans must strictly adhere to the following template. Each section is required and must be populated with specific, actionable content. AI agents must validate template compliance before execution.
55
56
## Template Validation Rules
57
58
- All front matter fields must be present and properly formatted
59
- All section headers must match exactly (case-sensitive)
60
- All identifier prefixes must follow the specified format
61
- Tables must include all required columns
62
- No placeholder text may remain in the final output
63
- **Identifiers must be uniquely declared.** Every identifier (`REQ-NNN`, `SEC-NNN`, `CON-NNN`, `GUD-NNN`, `PAT-NNN`, `GOAL-NNN`, `TASK-NNN`, `ALT-NNN`, `DEP-NNN`, `FILE-NNN`, `TEST-NNN`, `RISK-NNN`, `ASSUMPTION-NNN`) must be **declared exactly once**. A declaration is where the identifier introduces a row: the leading cell in a TASK/GOAL table row, or the bolded prefix in a bullet line like `- **REQ-001**: ...`. The same identifier may then appear any number of times as a **reference** elsewhere in the plan (a `TASK` body citing a `REQ`, one `TASK` citing another `TASK`, the Dependencies section pointing at a `DEP` already declared upstream, etc.). References are expected and not collisions.
64
65
## Identifier Uniqueness Check
66
67
Run these checks before finalizing the plan. Checks (1) and (2) target declarations and must return zero rows. Check (3) is a broad informational scan: it will surface valid references too, so use it for awareness rather than as a gate.
68
69
```bash
70
# Set PLAN_FILE to the plan being validated.
71
PLAN_FILE="/plan/<purpose>-<component>-<version>.md"
72
73
# 1) Duplicate TASK / GOAL declarations in table rows.
74
grep -oE '\| (TASK|GOAL)-[0-9]+ \|' "$PLAN_FILE" \
75
| sed -E 's/.*((TASK|GOAL)-[0-9]+).*/\1/' \
76
| sort | uniq -d
77
78
# 2) Duplicate declaration IDs in bullet-style spec lines.
79
grep -oE '^- \*\*(REQ|SEC|CON|GUD|RISK|ASSUMPTION|TASK|GOAL|FILE|TEST|PAT|ALT|DEP)-[0-9]+\*\*:' "$PLAN_FILE" \
80
| sed -E 's/^- \*\*([A-Z]+-[0-9]+)\*\*:.*/\1/' \
81
| sort | uniq -d
82
83
# 3) Broad duplicate scan (diagnostic only; may include valid references).
84
grep -oE '(REQ|SEC|CON|GUD|RISK|ASSUMPTION|TASK|GOAL|FILE|TEST|PAT|ALT|DEP)-[0-9]+' "$PLAN_FILE" \
85
| sort | uniq -d
86
```
87
88
Prerequisites: a POSIX-compatible shell (`sh` / `bash`) with `grep`, `sed`, `sort`, and `uniq`. On Windows without these tools, use equivalent platform-native commands and preserve the same declaration-vs-reference logic.
89
90
If check (1) or (2) returns any row, re-number the duplicate so each identifier is declared exactly once, then re-run the checks until both are empty.
91
92
## Status
93
94
The status of the implementation plan must be clearly defined in the front matter and must reflect the current state of the plan. The status can be one of the following (status_color in brackets): `Completed` (bright green badge), `In progress` (yellow badge), `Planned` (blue badge), `Deprecated` (red badge), or `On Hold` (orange badge). It should also be displayed as a badge in the introduction section.
95
96
```md
97
---
98
goal: [Concise Title Describing the Package Implementation Plan's Goal]
99
version: [Optional: e.g., 1.0, Date]
100
date_created: [YYYY-MM-DD]
101
last_updated: [Optional: YYYY-MM-DD]
102
owner: [Optional: Team/Individual responsible for this spec]
103
status: 'Completed'|'In progress'|'Planned'|'Deprecated'|'On Hold'
104
tags: [Optional: List of relevant tags or categories, e.g., `feature`, `upgrade`, `chore`, `architecture`, `migration`, `bug` etc]
105
---
106
107
# Introduction
108
109
![Status: <status>](https://img.shields.io/badge/status-<status>-<status_color>)
110
111
[A short concise introduction to the plan and the goal it is intended to achieve.]
112
113
## 1. Requirements & Constraints
114
115
[Explicitly list all requirements & constraints that affect the plan and constrain how it is implemented. Use bullet points or tables for clarity.]
116
117
- **REQ-001**: Requirement 1
118
- **SEC-001**: Security Requirement 1
119
- **[3 LETTERS]-001**: Other Requirement 1
120
- **CON-001**: Constraint 1
121
- **GUD-001**: Guideline 1
122
- **PAT-001**: Pattern to follow 1
123
124
## 2. Implementation Steps
125
126
### Implementation Phase 1
127
128
- GOAL-001: [Describe the goal of this phase, e.g., "Implement feature X", "Refactor module Y", etc.]
129
130
| Task | Description | Completed | Date |
131
|------|-------------|-----------|------|
132
| TASK-001 | Description of task 1 | ✅ | 2025-04-25 |
133
| TASK-002 | Description of task 2 | | |
134
| TASK-003 | Description of task 3 | | |
135
136
### Implementation Phase 2
137
138
- GOAL-002: [Describe the goal of this phase, e.g., "Implement feature X", "Refactor module Y", etc.]
139
140
| Task | Description | Completed | Date |
141
|------|-------------|-----------|------|
142
| TASK-004 | Description of task 4 | | |
143
| TASK-005 | Description of task 5 | | |
144
| TASK-006 | Description of task 6 | | |
145
146
## 3. Alternatives
147
148
[A bullet point list of any alternative approaches that were considered and why they were not chosen. This helps to provide context and rationale for the chosen approach.]
149
150
- **ALT-001**: Alternative approach 1
151
- **ALT-002**: Alternative approach 2
152
153
## 4. Dependencies
154
155
[List any dependencies that need to be addressed, such as libraries, frameworks, or other components that the plan relies on.]
156
157
- **DEP-001**: Dependency 1
158
- **DEP-002**: Dependency 2
159
160
## 5. Files
161
162
[List the files that will be affected by the feature or refactoring task.]
163
164
- **FILE-001**: Description of file 1
165
- **FILE-002**: Description of file 2
166
167
## 6. Testing
168
169
[List the tests that need to be implemented to verify the feature or refactoring task.]
170
171
- **TEST-001**: Description of test 1
172
- **TEST-002**: Description of test 2
173
174
## 7. Risks & Assumptions
175
176
[List any risks or assumptions related to the implementation of the plan.]
177
178
- **RISK-001**: Risk 1
179
- **ASSUMPTION-001**: Assumption 1
180
181
## 8. Related Specifications / Further Reading
182
183
[Link to related spec 1]
184
[Link to relevant external documentation]
185
```
186

© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…