Question
You need an AI agent to build a Stripe webhook handler (Node/Express) that fulfills orders when a `checkout.session.completed` event arrives. Write the prompt or spec you'd give the agent so it gets this right the first time. What context, constraints, and acceptance criteria do you include, and what would a vague 'write me a Stripe webhook' prompt get dangerously wrong?
Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it — tests, edge cases, reading critically — and how you’d re-prompt or decompose to get it right.
Vibe coding: describe the solution in plain language (or narrate it) and the coach grades your approach. Generating runnable code from your description is coming next.