existing-project
Tutorial: Adopt Prompts in an Existing Project
Goal: Create a spec and plans by analyzing the current codebase and extending existing patterns.
Steps
-
Run the Author Specification prompt
- The prompt performs Existing Project Analysis: detects architecture patterns, tech stack, APIs, data models
- You answer discovery questions; defaults prioritize detected patterns over presets
- Confirm at the gate; the spec becomes the single source of truth
-
Run Derive Implementation Plan prompt
- Uses the approved spec and documents existing code impact and compatibility
-
Run Decompose Feature Work
- Break down features considering existing modules, interfaces, and test patterns
-
Implement Next Work Item
- Make minimal, consistent changes aligned with existing patterns
Outcomes
- A spec that reflects and extends your current system
- Plans and work items that integrate smoothly with existing code