Implementation Plan Creation
Overview
Structured skill to help create implementation plan documents by determining plan structure, sequencing development phases, and generating actionable tasks following our established planning patterns.
Required Context
You have comprehensive context available:
Required Reading:
- Feature development guide:
@~/.local/share/dotfiles/ai/guides/feature-development-process.md
- Vision document:
@vision.md
- Requirements document:
@requirements.md
- Technical specification:
@spec.md
Note: If the project has a local copy of the guide at @project/guides/feature-development-process.md, reference that instead for project-specific modifications.
Additional Context Available:
- Full Codebase: Examine existing implementation patterns and architecture
- Implementation Guides: Review backend/docs/guides/ and frontend/docs/guides/ for established approaches
- Testing Guide: Reference backend/docs/guides/testing/backend-testing-guide.md for testing strategy
Approach: Use all available context to create practical implementation plans with clear sequencing and integrated development phases.
IMPORTANT: Start by creating a TODO list to track the 3 phases of plan creation. Mark the first phase as "in_progress" and others as "pending".
Implementation Plan Structure
Our implementation plans include:
- Development phases and sequencing (the WHEN and ORDER)
- Detailed code blocks for unique/novel aspects (with full documentation using your language's standards)
- Pattern references for established code (noting only what's different)
- Granular checkbox tasks within each phase
- Cross-references to vision, requirements, and spec documents
IMPORTANT:
- Do NOT include any effort sizing estimates, hours, or time estimates in the plan documents
- The checklist tasks themselves serve as the completion criteria - no separate success criteria sections needed
- Code Detail Strategy:
- Unique/Novel/Complex code: Spell out FULLY with complete documentation using your language's conventions - developers should be able to review, understand, and iterate at the plan level
- Established patterns: Just reference existing implementations and note what's different - no boilerplate code
- When you DO include code, make it thorough and detailed with full documentation
- Goal: Enable plan-level iteration for novel code, skip redundant boilerplate entirely
Process: Work Through These 3 Phases Sequentially
Phase 1: Determine Plan Structure
First, analyze the technical specification and determine how to organize the planning documents:
Complexity Analysis:
- Review the technical spec to understand implementation scope
- Examine existing similar features in the codebase for patterns
- Assess team involvement (backend-only, frontend-only, full-stack, design work)
- Determine optimal plan structure
Structure Recommendation - Suggest approach with rationale:
- Single plan.md: For focused features or single-domain work (backend-only, frontend-only, etc.) (estimated <500 lines)
- Split by domain: plan-backend.md + plan-frontend.md + plan-design.md for complex full-stack features
- Separate tasks.md: Only for complex coordination (multiple developers, handoff scenarios)
Ask: "Based on your spec analysis, I recommend [structure]. Does this match your preferences?"
Phase 2: Design Implementation Approach
Determine implementation approach and phase structure:
Planning Activities:
- Analyze implementation scope and determine high-level phase breakdown
- Identify what's unique vs established patterns - differentiate novel aspects from boilerplate
- Identify phase dependencies and sequencing requirements
- Determine code placement approach (which files, directory structure, following existing patterns)
- Assess complexity factors and technical challenges requiring detailed explanation
- Reference existing patterns to minimize boilerplate in plan - note existing implementations developers can follow
Information Gathering:
- Ask specific questions about:
- Unique implementation approaches not covered by existing patterns
- Testing depth preferences for this feature
- Any specific implementation constraints or preferences
Sequencing Validation:
- Present proposed implementation sequence with high-level phase breakdown and rationale
- Ask for sequencing confirmation: "Does this order make sense? Are there dependencies I missed?"
- Validate phase dependencies and prerequisites before proceeding to document generation
- Get explicit approval of the implementation approach and sequencing
Phase 3: Generate Plan Documents
Create the actual plan documents based on Phase 2 planning:
- Generate plan.md or plan-[domain].md files as determined in Phase 1
- Write implementation phases using the approach and structure designed in Phase 2
- Include table of contents with systematic section numbering (1.1, 1.2, 2.1, 2.2, etc.)
- Add actionable checkbox tasks within each implementation phase (these tasks ARE the completion criteria)
- Apply selective detail approach:
- For unique/novel code: Include FULL, detailed implementations with complete documentation using your language's standards
- For established patterns: Reference existing implementations and note only what's different
- When code IS included, make it complete enough for plan-level review and iteration
- Include justification and cross-references for each phase explaining which spec sections it implements (use precise section references like spec.md#1.2, spec.md#3.1)
- Use clear, practical language focused on implementation sequencing
Guidelines
- Context First: Always analyze existing plans and implementation patterns before planning
- Selective Detail Strategy:
- Novel/Complex Code: Include FULL, detailed code with complete documentation using your framework's conventions - enable plan-level review and iteration
- Established Patterns: Reference existing implementations, note differences only - no boilerplate repetition
- When code IS included, make it thorough enough for developers to understand and refactor in the plan itself
- Pattern References: When similar code exists, say "Follow pattern from X, but adjust Y" instead of repeating boilerplate
- Plan Overview Required: Start documents with concise overview (what we're building, key components, sequencing logic as bullets)
- Prerequisites as Phase 1: Include external setup, manual configurations, and environment requirements as the first implementation phase - even if they're confirmatory steps
- Actionable Tasks: Use checkboxes for actionable tasks and implementation steps
- Integrated Development: Each phase includes code implementation with appropriate validation and data (not separate activities)
- Code + Validation Approach:
- Implementation phases focus on novel/complex code with full details; reference existing patterns for standard code
- When code IS included: make it thorough with complete documentation using your framework's standards for plan-level review
- Include tests: full details for novel logic, references for standard patterns appropriate to your testing framework
- Include smoke tests, throwaway scripts, or manual validation when formal testing patterns don't exist
- Phases creating new data models should include realistic sample data for developer use
- Test Structure Pattern: Selective detail based on novelty
- Standard CRUD/simple patterns: Just reference existing test patterns ("Follow test pattern from X")
- Novel/complex testing logic: Include FULL test structure with complete test blocks and implementation details appropriate to your testing framework
- When tests ARE included, make them detailed enough to review and iterate at the plan level
- Goal: Enable thorough test review for unique testing scenarios, skip boilerplate for standard patterns
- Code Documentation: Full documentation for novel code, skip for standard patterns
- Standard CRUD/simple patterns: Developers can follow existing examples - no need to include
- Novel/complex code: Include COMPLETE documentation with all parameters, return values, examples, type information, and detailed descriptions using your language's documentation standards
- When documentation IS included, make it thorough and complete - enable full understanding at the plan level
- Use your language's documentation format (e.g., JSDoc, docstrings, YARD, etc.)
- Goal: Full documentation for unique code, zero boilerplate for standard patterns
- Incremental Validation: Include validation steps for complex integrations and end-to-end workflows where manual testing would be tedious
- Early Sample Data: Include realistic sample data for new backend database models early in development phases, unless model interdependencies prevent it
- Justification Required: Every implementation phase must be traceable to spec sections
- Pattern Following: Base implementation approach on established codebase patterns
- Documentation Required: Include documentation/guide generation as the final phase of every implementation plan
- Focus on Implementation Only: Do NOT include development philosophy, risk mitigation strategy, or quality assurance strategy sections - developers have vision, requirements, spec, and guides for context
- Update your TODO list as you complete each phase
- Focus on WHEN and ORDER of implementation phases
- Reference implementation guides and similar features
- Cross-reference all previous documents for business and technical context
Getting Started Process
- Create your 3-phase TODO list immediately
- Ask user: "What feature directory are you working in? Please provide the full path (e.g., project/features/FT033-feature-name)"
- Ask user: "Please tag your vision, requirements, and spec documents with @vision.md @requirements.md @spec.md"
- Validate the directory exists and confirm where you'll create the plan documents
- Review all previous documents to understand complete feature context
- Begin Phase 1 with plan structure analysis and recommendation
- Keep recommendations focused and wait for confirmation before proceeding
1---2name: implementation-plan3description: Creates implementation plan documents by determining plan structure, sequencing development phases, and generating actionable tasks. Use when user wants to create an implementation plan, needs to sequence development work, determine when and in what order to build features, or create detailed task breakdowns with code examples. Follows established feature development process with clear phase sequencing, integrated development (code + validation + data), and selective detail strategy (full code for novel aspects, references for established patterns).4---5
6# Implementation Plan Creation
7
8## Overview
9
10Structured skill to help create implementation plan documents by determining plan structure, sequencing development phases, and generating actionable tasks following our established planning patterns.
11
12## Required Context
13
14You have comprehensive context available:
15
16**Required Reading**:
17- Feature development guide: `@~/.local/share/dotfiles/ai/guides/feature-development-process.md`
18- Vision document: `@vision.md`
19- Requirements document: `@requirements.md`
20- Technical specification: `@spec.md`
21
22Note: If the project has a local copy of the guide at `@project/guides/feature-development-process.md`, reference that instead for project-specific modifications.
23
24**Additional Context Available**:
25- **Full Codebase**: Examine existing implementation patterns and architecture
26- **Implementation Guides**: Review backend/docs/guides/ and frontend/docs/guides/ for established approaches
27- **Testing Guide**: Reference backend/docs/guides/testing/backend-testing-guide.md for testing strategy
28
29**Approach**: Use all available context to create practical implementation plans with clear sequencing and integrated development phases.
30
31**IMPORTANT**: Start by creating a TODO list to track the 3 phases of plan creation. Mark the first phase as "in_progress" and others as "pending".
32
33## Implementation Plan Structure
34
35Our implementation plans include:
36- Development phases and sequencing (the WHEN and ORDER)
37- Detailed code blocks for unique/novel aspects (with full documentation using your language's standards)
38- Pattern references for established code (noting only what's different)
39- Granular checkbox tasks within each phase
40- Cross-references to vision, requirements, and spec documents
41
42**IMPORTANT**:
43- Do NOT include any effort sizing estimates, hours, or time estimates in the plan documents
44- The checklist tasks themselves serve as the completion criteria - no separate success criteria sections needed
45- **Code Detail Strategy**:
46 - **Unique/Novel/Complex code**: Spell out FULLY with complete documentation using your language's conventions - developers should be able to review, understand, and iterate at the plan level
47 - **Established patterns**: Just reference existing implementations and note what's different - no boilerplate code
48 - When you DO include code, make it thorough and detailed with full documentation
49 - Goal: Enable plan-level iteration for novel code, skip redundant boilerplate entirely
50
51## Process: Work Through These 3 Phases Sequentially
52
53### Phase 1: Determine Plan Structure
54First, analyze the technical specification and determine how to organize the planning documents:
55
56**Complexity Analysis**:
571. Review the technical spec to understand implementation scope
582. Examine existing similar features in the codebase for patterns
593. Assess team involvement (backend-only, frontend-only, full-stack, design work)
604. Determine optimal plan structure
61
62**Structure Recommendation** - Suggest approach with rationale:
63- **Single plan.md**: For focused features or single-domain work (backend-only, frontend-only, etc.) (estimated <500 lines)
64- **Split by domain**: plan-backend.md + plan-frontend.md + plan-design.md for complex full-stack features
65- **Separate tasks.md**: Only for complex coordination (multiple developers, handoff scenarios)
66
67Ask: "Based on your spec analysis, I recommend [structure]. Does this match your preferences?"
68
69### Phase 2: Design Implementation Approach
70Determine implementation approach and phase structure:
71
72**Planning Activities**:
73- **Analyze implementation scope** and determine high-level phase breakdown
74- **Identify what's unique vs established patterns** - differentiate novel aspects from boilerplate
75- **Identify phase dependencies** and sequencing requirements
76- **Determine code placement approach** (which files, directory structure, following existing patterns)
77- **Assess complexity factors** and technical challenges requiring detailed explanation
78- **Reference existing patterns** to minimize boilerplate in plan - note existing implementations developers can follow
79
80**Information Gathering**:
81- **Ask specific questions about**:
82 - Unique implementation approaches not covered by existing patterns
83 - Testing depth preferences for this feature
84 - Any specific implementation constraints or preferences
85
86**Sequencing Validation**:
87- **Present proposed implementation sequence** with high-level phase breakdown and rationale
88- **Ask for sequencing confirmation**: "Does this order make sense? Are there dependencies I missed?"
89- **Validate phase dependencies and prerequisites** before proceeding to document generation
90- **Get explicit approval** of the implementation approach and sequencing
91
92### Phase 3: Generate Plan Documents
93Create the actual plan documents based on Phase 2 planning:
94
95- **Generate plan.md or plan-[domain].md files** as determined in Phase 1
96- **Write implementation phases** using the approach and structure designed in Phase 2
97- **Include table of contents** with systematic section numbering (1.1, 1.2, 2.1, 2.2, etc.)
98- **Add actionable checkbox tasks** within each implementation phase (these tasks ARE the completion criteria)
99- **Apply selective detail approach**:
100 - For **unique/novel code**: Include FULL, detailed implementations with complete documentation using your language's standards
101 - For **established patterns**: Reference existing implementations and note only what's different
102 - When code IS included, make it complete enough for plan-level review and iteration
103- **Include justification and cross-references** for each phase explaining which spec sections it implements (use precise section references like spec.md#1.2, spec.md#3.1)
104- **Use clear, practical language** focused on implementation sequencing
105
106## Guidelines
107- **Context First**: Always analyze existing plans and implementation patterns before planning
108- **Selective Detail Strategy**:
109 - **Novel/Complex Code**: Include FULL, detailed code with complete documentation using your framework's conventions - enable plan-level review and iteration
110 - **Established Patterns**: Reference existing implementations, note differences only - no boilerplate repetition
111 - When code IS included, make it thorough enough for developers to understand and refactor in the plan itself
112- **Pattern References**: When similar code exists, say "Follow pattern from X, but adjust Y" instead of repeating boilerplate
113- **Plan Overview Required**: Start documents with concise overview (what we're building, key components, sequencing logic as bullets)
114- **Prerequisites as Phase 1**: Include external setup, manual configurations, and environment requirements as the first implementation phase - even if they're confirmatory steps
115- **Actionable Tasks**: Use checkboxes for actionable tasks and implementation steps
116- **Integrated Development**: Each phase includes code implementation with appropriate validation and data (not separate activities)
117- **Code + Validation Approach**:
118 - Implementation phases focus on novel/complex code with full details; reference existing patterns for standard code
119 - When code IS included: make it thorough with complete documentation using your framework's standards for plan-level review
120 - Include tests: full details for novel logic, references for standard patterns appropriate to your testing framework
121 - Include smoke tests, throwaway scripts, or manual validation when formal testing patterns don't exist
122 - Phases creating new data models should include realistic sample data for developer use
123- **Test Structure Pattern**: Selective detail based on novelty
124 - **Standard CRUD/simple patterns**: Just reference existing test patterns ("Follow test pattern from X")
125 - **Novel/complex testing logic**: Include FULL test structure with complete test blocks and implementation details appropriate to your testing framework
126 - When tests ARE included, make them detailed enough to review and iterate at the plan level
127 - Goal: Enable thorough test review for unique testing scenarios, skip boilerplate for standard patterns
128- **Code Documentation**: Full documentation for novel code, skip for standard patterns
129 - **Standard CRUD/simple patterns**: Developers can follow existing examples - no need to include
130 - **Novel/complex code**: Include COMPLETE documentation with all parameters, return values, examples, type information, and detailed descriptions using your language's documentation standards
131 - When documentation IS included, make it thorough and complete - enable full understanding at the plan level
132 - Use your language's documentation format (e.g., JSDoc, docstrings, YARD, etc.)
133 - Goal: Full documentation for unique code, zero boilerplate for standard patterns
134- **Incremental Validation**: Include validation steps for complex integrations and end-to-end workflows where manual testing would be tedious
135- **Early Sample Data**: Include realistic sample data for new backend database models early in development phases, unless model interdependencies prevent it
136- **Justification Required**: Every implementation phase must be traceable to spec sections
137- **Pattern Following**: Base implementation approach on established codebase patterns
138- **Documentation Required**: Include documentation/guide generation as the final phase of every implementation plan
139- **Focus on Implementation Only**: Do NOT include development philosophy, risk mitigation strategy, or quality assurance strategy sections - developers have vision, requirements, spec, and guides for context
140- Update your TODO list as you complete each phase
141- Focus on WHEN and ORDER of implementation phases
142- Reference implementation guides and similar features
143- Cross-reference all previous documents for business and technical context
144
145## Getting Started Process
1461. Create your 3-phase TODO list immediately
1472. Ask user: "What feature directory are you working in? Please provide the full path (e.g., project/features/FT033-feature-name)"
1483. Ask user: "Please tag your vision, requirements, and spec documents with @vision.md @requirements.md @spec.md"
1494. Validate the directory exists and confirm where you'll create the plan documents
1505. Review all previous documents to understand complete feature context
1516. Begin Phase 1 with plan structure analysis and recommendation
1527. Keep recommendations focused and wait for confirmation before proceeding