AI prompts for Developers
Prompt for a technical design document
Organises your thinking on a new feature into a design doc: problem, proposed solution, alternatives, risks, and rollout plan.
When to use it Before starting a large feature touching several parts of the system, to align with the team before coding.
The prompt, ready to copy
Role: software engineer writing a design doc for team review. Task: turn my notes into a design document. Context: - Feature and its goal: [description] - Constraints: [budget, servers, deadline, approved tech] - Current system in brief: [relevant components] Source: <source> [Your notes, the solution you lean towards, alternatives you considered. No keys or internal server addresses] </source> Constraints: - Do not add requirements or load/performance figures I did not give; write: [needs estimate] - Present alternatives fairly, even ones I did not choose - State open questions clearly instead of settling them Output: 1. Background and problem 2. Goals and out of scope 3. Proposed design (components, data flow, database changes) 4. Alternatives and why not chosen 5. Risks, security, and privacy 6. Rollout and rollback plan 7. Open questions
Example of filled brackets
Feature: WhatsApp reminders for patient appointments Constraints: one server with 2 GB RAM, launch within two months Source: my notes, leaning towards a job queue over direct sending
Check these before you use it
- Share with the team before building and ask for critique of the alternatives
- Replace every [needs estimate] with a measurement or documented estimate
How to use this prompt
- Copy the prompt: Press the copy button or select the whole text.
- Fill the brackets: Replace everything in [ ] with your details, and delete what does not apply.
- Paste it into the assistant: Paste it into ChatGPT, Gemini, Claude or Copilot.
- Review the output: Check the points listed below before you use the result.