An architecture prompt should name one decision, the person accountable for it, the current system, observed workload, quality targets, non-negotiable constraints, and facts still unknown. Ask the model to distinguish measurements from estimates before it proposes a design. A diagram is not a decision: it can show components while hiding why a queue, database, or retry rule is needed. Record the client-visible behavior, data correctness rule, failure tolerance, and operational budget. If the input lacks a measured service rate, the prompt should request a load test or return a conditional comparison rather than inventing capacity. Keep the proposed design scoped to the decision actually requested.
Architecture prompts: start with constraints and an owner
Operational case
A fictional Receipt Ingest service accepts 18,600 requests per minute on a normal business day. Product wants to choose whether to add a queue before the receipt writer. A burst multiplier of 2.4 is a planning assumption, not an observed peak. Each request has an identity key so retries must not write two receipts. The engineering lead owns the decision; operations must review a worker-failure plan. The prompt asks for response-time and loss targets but marks both as missing until the teams set them. It does not treat the normal traffic figure as proof that one worker can handle the peak.
Decision: direct writes or bounded queue before receipt writer.
Observed: 18,600 accepted requests/minute in normal period.
Assumed: 2.4x planning burst; validate against traffic traces.
Invariant: one durable receipt per request identity.
Owner: engineering lead; operations reviews failure behavior.
Unknown: latency target, loss tolerance, measured worker capacity.Performance and operating cost
Capturing the brief takes a few review turns but avoids modeling a workload that has not been defined. For N requirements, a claim ledger is O(N) entries; the hard part is verifying the numbers and resolving conflicts, not writing the entries. A short list of unknowns can prevent expensive redesign after a benchmark disproves an assumption. Do not turn a budget into a target without specifying the time window and measurement point. The model may organize the decision, while the accountable engineer approves its scope.
Common Mistakes
- Do not call an assumed burst factor an observed peak.
- Do not propose a queue without stating which failure or latency constraint it addresses.
- Do not make the model the decision owner.
Connected lessons
- Prompt engineering applications
- Prompt Engineering
- Prompt engineering: define a task that can be checked
- Clarification gates: ask only when a missing fact changes the outcome
- Prompt intent: turn an open request into an acceptance check
- Capacity prompts: check units, headroom, and a failed worker
- Architecture decisions: compare real alternatives and consequences
- Architecture prompts: test the failure path and its signals
- Architecture release: require evidence, rollback, and ownership
- Project: review a receipt-ingest architecture decision
- Architecture-decision prompt checks
