title | aliases | tags | created | updated | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Claude Development Workflow |
|
|
2025-01-13 |
2025-01-27 |
Note
Streamlined development workflow combining analysis and planning into a single phase, followed by implementation and cleanup phases using Claude 3.5 Sonnet and Claude 3 Haiku.
graph TD
A[Analysis & Planning - Sonnet] -->|Technical Spec| B[Implementation - Sonnet]
B -->|Code Complete| C[Cleanup & Documentation - Haiku]
C -->|Task Complete| A
Purpose: Select and plan next most valuable task Output: Combined Analysis & Technical Specification
[!tip] Use [[examples/analysis-planning-prompt|Analysis & Planning Prompt]]
Selection Criteria:
- Priority & blocking status
- Dependencies
- Technical complexity
- Value/effort ratio
Planning Focus:
- Technical design
- Interfaces
- Data flow
- Test strategy
- Migration steps
Purpose: Execute technical specification Output: Code Changes, Tests, Core Documentation
[!tip] Use [[examples/implementation-prompt|Implementation Prompt]]
Implementation Steps:
- Write tests
- Create/update interfaces
- Implement core changes
- Verify criteria
- Add essential docs
Purpose: Clean up code and update documentation Output: Clean codebase, updated documentation, closed issues
[!tip] Use [[examples/cleanup-docs-prompt|Cleanup & Documentation Prompt]]
Cleanup Steps:
- Update project docs
- Clean up code
- Review/update tests
- Update issues
- Final commit
- Complete combined analysis & technical spec
- Verify interfaces defined
- Create implementation chat
- Hand off spec
- Verify implementation
- Basic tests passing
- Create cleanup chat
- Hand off summary
- Verify criteria met
- Close issues
- Create analysis chat
- Begin next task
TASK ANALYSIS
GitHub Issue: #[number] [title]
Labels: [high-priority, bug, feature, etc]
Description: [1-2 sentences]
Priority: [High/Medium/Low] ([reasoning])
Current State: [1-2 sentences]
TECHNICAL DESIGN
Data Flow:
- [flow point 1]
- [flow point 2]
Core Changes:
1. [Change Area 1]
- Location: [file]
- Details: [specifics]
2. [Change Area 2]
- Location: [file]
- Details: [specifics]
INTERFACES
[Interface definitions]
IMPLEMENTATION STEPS
1. [ ] [First step]
2. [ ] [Second step]
Files to Modify:
- [path]: [changes]
Files to Create:
- [path]: [purpose]
TEST PLAN
1. Unit Tests:
- [test scenario]
2. Integration Tests:
- [test scenario]
MIGRATION PLAN
1. [Step 1]
2. [Step 2]
SUCCESS CRITERIA
- [ ] [criterion]
- [ ] [criterion]
TECHNICAL NOTES
- [technical detail]
- [technical detail]
FUTURE TASKS
- [ ] [future task]
- [ ] [future task]
- One chat for analysis & planning
- Clear transitions
- Context in handoffs
- Link GitHub issues
- Update during dev
- Keep templates current
- Document decisions
- Note future tasks
- Tests first
- Cover edge cases
- Verify criteria
- Reference issues
- Close completed
- Create follow-ups
- Update labels
- [[examples/analysis-planning-prompt|Analysis & Planning]]
- [[examples/implementation-prompt|Implementation]]
- [[examples/cleanup-docs-prompt|Cleanup & Documentation]]
- GitHub: https://github.com/jerseycheese/BootHillGM