System design prompt builder
A good system design answer is not a diagram — it is a chain of reasoning: clarify the requirements, propose an architecture, size it for the stated scale, find the bottlenecks, and name the trade-offs you accepted. LLMs can produce that chain well, but only when the prompt forces the structure and supplies real numbers. This builder turns your system, scale, and priorities into a prompt that demands a complete, scale-aware design with explicit trade-offs — useful for interview practice and for real first-pass architecture alike.
How it works
You describe the system, enter scale requirements (users, QPS, data volume), choose your CAP-theorem priority, and list constraints or components to focus on. The tool assembles a prompt that walks the model through the canonical phases: restate and clarify requirements, sketch a high-level architecture, define the API and data model, present a scaling strategy that meets the stated load, analyze bottlenecks, and lay out the key trade-offs given your CAP choice. You pick the output format (prose, sectioned, or with a textual diagram). Everything runs locally until you paste it into your LLM.
Tips and examples
- Give real numbers. “100M users, 80k QPS peak, 10TB/year” lets the model size shards and caches; without them the design stays generic.
- Pick a CAP side. A payments ledger favors consistency; a social feed favors availability. Stating it changes the recommended data store.
- Focus the components. If you only care about the write path or the caching layer, list it — the prompt will go deep there instead of spreading thin.
- Ask for trade-offs explicitly. The best designs name what they gave up; the prompt requires this so you do not get an over-confident single answer.