Promptles
Errors

Describe How to Reproduce

Tell Claude the exact steps to trigger the bug and how often it happens. Intermittent bugs are the hardest to fix: giving reproduction steps and frequency helps Claude narrow down timing issues, race conditions, and flaky dependencies.

Where you'll practice this

One Promptles scenario teaches this principle directly.

  • The Intermittent Bug

    Your e-commerce checkout flow has a subtle bug. When a customer submits the order form in `checkout.js`, the order is placed successfully and appears in the database, but roughly 1 in 10 times the confirmation email never sends. There are no errors in the logs. It fails…

Other principles in Errors