OpenSpec · Requirements

Scenario expansion

OpenSpec (AI programming framework) prompt to expand scenarios for an existing requirement.

All topics / OpenSpec prompts

Replace highlighted brackets, then copy.

Given this requirement: [requirement]. Add 3 more scenarios covering success, edge, and failure.
  • requirement - replace the bracketed field with your info
  • Requirement text
  • Known edge cases
  • 3 new scenarios
  • Cover at least one failure case.
  • Use WHEN/THEN only.
  • Avoid new features.