OpenSpec · Requirements

Requirement wording

OpenSpec (AI programming framework) prompt to write a SHALL requirement with scenarios.

All topics / OpenSpec prompts

Replace highlighted brackets, then copy.

Write one OpenSpec requirement for [capability] using SHALL language and add 2 scenarios with WHEN/THEN.
  • capability - replace the bracketed field with your info
  • Capability
  • User action
  • Expected result
  • Requirement block
  • 2 scenarios
  • Use '#### Scenario:' headers.
  • Keep scenarios concrete.
  • Avoid vague verbs.