Lifecycle
Design the complete flow from initialization to cleanup. Specify startup, operation, and shutdown phases explicitly.
What It Means
Design the complete flow from initialization to cleanup. Specify startup, operation, and shutdown phases explicitly.
How to Use It
- “Design the complete lifecycle for database connections: startup, connection pooling, query execution, and graceful shutdown.”Ensures all phases are considered, not just the happy path
Related Concepts
Deconstruct
Break down complex logic or code into its fundamental components. Instead of asking AI to 'figure it out,' explicitly outline each step and requirement.
Agentic Coding Cycle
A three-phase approach: Plan (lay out the approach), Execute (implement fully), Audit (verify correctness). Transforms AI from guessing machine to systematic problem solver.