Failure-mode driven development

Sketch what can break and how you recover before you write the happy path. A follow-up to comment-driven development.