4. subagent-driven-development: Add Self-Reflection Step
**Modify Step 2: Execute Task with Subagent** **Add to prompt template:** ``` When done, BEFORE reporting back: Take a step back and review your work with fresh eyes. Ask yourself: - Does this actually solve the task as specified? - Are there edge cases I didn't consider? - Did I follow the pattern correctly? - If tests are failing, what's the ROOT CAUSE (implementation bug vs test bug)? - What could be better about this implementation? If you identify issues during this reflection, fix them now. Then report: - What you implemented - Self-reflection findings (if any) - Test results - Files changed ``` **Why this works:** Catches bugs implementer can find themselves before handoff. Documented case: identified entrypoint bug through self-reflection. **Trade-off:** Adds ~30 seconds per task, but catches issues before review. ---