Prompt to write a technical design document
Draft a technical design doc from your notes, with the problem, the options weighed, the chosen approach and its risks, ready for your team to review.
- Category
- Planning
- Tags
- DocumentationDecision-making
- Added
- Added
Fill in the prompt
The prompt below changes as you type, and Copy prompt copies it filled in. What you type stays in this browser. Leave a box empty to fill it in after you paste.
The prompt
Draft a technical design document from my notes.
The problem:
{{problem}}
Constraints, such as deadlines, systems we must use, scale and budget:
{{constraints}}
My notes so far:
{{notes}}
Sections:
1. Context: what exists today and why it isn't enough.
2. Goals and non-goals: what this design must do, and what it won't try to do.
3. Options considered: at least two, including the simplest one that could work. Pros and cons for each.
4. Proposed design: components, data flow, interfaces, changes to the data model. Describe a diagram in words if one would help.
5. Risks and open questions.
6. Rollout: how to ship it safely, how to measure it, and how to roll back.
Keep the decisions my notes already make. Where my notes are silent, write "To decide" rather than choosing for me.
Replace each {{highlighted part}} with your own text before you send it.
How to use it
Use {{problem}} for the problem, not the solution you have in mind. "Search takes eight seconds on large accounts" leaves the options section room to work. "Add Elasticsearch" doesn't.
Put the hard limits in {{constraints}}. In {{notes}}, paste everything you have: a whiteboard session typed up, chat threads, benchmark results, a half-written draft. The more of your own thinking is in there, the less the model fills in with a design from a generic blog post.
Example for {{constraints}}: "Must ship before the January release. Stay on Postgres. No new paid services."
The "To decide" markers show where your thinking still has gaps. Fill them in before the review meeting, or bring them to it as questions. A design doc that names its open questions gets better feedback than one that pretends to be finished.