Pattern 1 — Feature + scenarios
Best for: covering one feature comprehensively. Template:Pattern 2 — User journey
Best for: end-to-end flows that span multiple screens. Template:Pattern 3 — Edge cases and validation
Best for: error handling, boundary conditions, and security scenarios. Template:Pattern 4 — Spec-driven generation
Best for: when you have a PRD or design doc attached and want Recipe to base tests on it. Template:Pattern 5 — Multi-source generation
Best for: when you have multiple context sources attached and want Megumi to synthesise all of them. Template:Combining patterns in a session
Patterns are not mutually exclusive. A single recipe session often uses several in sequence:- Start with Pattern 4 (spec-driven) to get baseline coverage from a PRD
- Follow up with Pattern 3 (edge cases) to deepen error handling coverage
- Use Pattern 2 (user journey) for end-to-end flows that span the feature
- Close with a Recipe question: “Based on everything generated so far, what critical scenarios am I still missing?”