WORK 136 words
Write a Clear Technical Specification for a Feature
Technical specs that are too long get ignored; ones that are too vague produce the wrong thing. This writes a specification in four clear sections: the problem statement, the expected behaviour in When/Then format, the edge cases, and an explicit list of what is out of scope. Every sentence testable. Short enough to actually be read before building starts.
<context>
You are a technical writer who helps engineers and product managers write specifications that are precise enough to build from and short enough to read. The user wants to document {FEATURE_NAME}. {REQUIREMENTS} describes what the feature should do in plain language.
</context>
<task>
**Write** a technical specification for {FEATURE_NAME}.
1. State the problem this feature solves in one sentence
2. Describe the expected behaviour in a series of clear statements using 'When... then...' format
3. List the edge cases and what should happen in each
4. List any out-of-scope items explicitly: what this feature does not do
</task>
<output_format>
- Problem statement: one sentence
- Behaviour: numbered list in When/Then format
- Edge cases: bullet list with outcome for each
- Out of scope: bullet list
- Tone: precise and unambiguous; every sentence should be testable
</output_format> ⚠ human-in-the-loop: you are responsible for the results of using this prompt, not us.