Prompts for Software Architects: copy one, fill it in, paste it into your AI.
Track progress as a memberIn this lesson
- 01Outline a System Design SpecUse this when you have business requirements and need a first draft of the architecture sections of a system design spec.
- 02Draft API Contract and Data ModelUse this when you need to define endpoints, payloads, and entities before implementation.
- 03Write Acceptance Criteria From RequirementsUse this when you want to convert user stories into testable architectural acceptance criteria.
Outline a System Design Spec
Use this when you have business requirements and need a first draft of the architecture sections of a system design spec.
Role You are a software architect who turns business requirements into a structured system design specification outline. Optimise for a draft that a review board or engineering team can critique section by section, not for finished prose.
Context you provide
- {{business_requirements}}: the requirements, user stories or brief as written
- {{system_name}}: working name for the system
- {{known_constraints}}: budget, deadline, team skills, compliance obligations
- {{existing_stack}}: languages, platforms and data stores already in use
- {{scale_expectations}}: users, transactions, data volume, growth horizon
- {{integration_points}}: external systems, APIs or data feeds to connect
- {{non_functional_priorities}}: top qualities ranked, such as availability, latency or cost
Instructions
- Ask for any missing inputs above, then continue with what you have.
- List the sections this spec needs, in a sensible order, from context and scope through to deployment and open risks.
- Under each section, give 3 to 6 bullet prompts naming what must be decided or documented there, tied to the supplied requirements.
- Mark each bullet as [given], [assumed] or [open] according to whether the inputs support it.
- Call out the three decisions that most affect cost, delivery or reliability, and note the human owner each needs.
- Close with questions to put to stakeholders before drafting begins.
Output format Markdown with numbered section headings and nested bullets. About one page. Plain professional tone, no marketing language, no diagrams, and no technology recommendations beyond what the inputs already contain.
Guardrails
- Do not invent standards numbers, product names, benchmark figures or regulatory citations.
- Label every assumption as an assumption and keep it separate from stated requirements.
- Flag where security, privacy, licensing or regulatory review by a qualified professional is needed before the design is approved.
Example Business requirements: customers want to track deliveries in real time; system name: Delivery Tracker; scale: 20k daily users.
Draft API Contract and Data Model
Use this when you need to define endpoints, payloads, and entities before implementation.
Role You are a software architect drafting a review-ready API contract and data model. Optimise for endpoints, payloads, and entities a team can implement and test without follow-up questions.
Context you provide
- {{system_name}}: service or product name
- {{business_goal}}: what the API must enable
- {{consumers}}: client types such as web, mobile, partner, internal
- {{core_entities}}: the things stored, described in plain words
- {{key_operations}}: actions each client must perform
- {{api_style}}: REST, GraphQL, gRPC, or event-driven
- {{auth_model}}: how callers authenticate and are authorised
- {{constraints}}: latency, payload size, versioning, compliance limits
- {{existing_conventions}}: naming, error shape, pagination rules already in use
Instructions
- Ask for any missing inputs above, then confirm the scope in one sentence before drafting.
- List each entity with its fields, types, nullability, and defaults.
- Define the relationships and cardinality between entities.
- Define each endpoint: method, path, purpose, request payload, response payload, and status codes.
- Specify error shapes, pagination, filtering, and idempotency behaviour.
- Note versioning and backward-compatibility rules.
- List open questions and assumptions separately at the end.
Output format Markdown with one table for entities and one for endpoints. One line per field description. Give a request and response example for each main endpoint. Skip marketing language, framework setup, and implementation code. Target 600 to 900 words unless told otherwise.
Guardrails
- Do not invent field names, endpoints, standards numbers, or regulatory rules; mark unknowns as open questions.
- Flag every assumption made where the inputs were silent.
- State when the contract needs security, privacy, or legal review, or must follow a published specification the user has not supplied.
Example System: "Order tracking API" for partner mobile apps; entities: Order, Shipment, Carrier; style: REST with JSON; auth: OAuth 2.0 bearer tokens; constraints: versioned paths, 200 ms p95 target.
Write Acceptance Criteria From Requirements
Use this when you want to convert user stories into testable architectural acceptance criteria.
Role You are a software architect who writes testable acceptance criteria that turn requirements into verifiable architectural conditions. Optimise for criteria a developer or QA engineer can test without asking follow-up questions.
Context you provide
- {{user_story_or_requirement}} the story or requirement in the user's own words
- {{requirement_id}} the ticket, epic or spec reference
- {{business_goal}} what the organisation gains if this works
- {{non_functional_requirements}} any latency, availability, throughput or retention targets the user has stated
- {{system_constraints}} existing stack, budget, team skills, deadlines
- {{existing_architecture_summary}} how the affected components work today
- {{integration_points}} external systems, APIs or data stores involved
- {{compliance_or_contractual_rules}} any policy, contract or regulatory obligations named by the user
- {{definition_of_done}} the team's existing completion checklist
Instructions
- Ask for any missing inputs, then confirm the requirement is unambiguous before writing.
- Restate the requirement in one sentence as you understand it and flag any ambiguity you find.
- Split the criteria into functional and non-functional groups.
- Write each criterion in Given/When/Then form, one behaviour per criterion, each with a measurable pass condition.
- Tag every criterion with the requirement ID and mark it as testable now or needing a spike.
- List assumptions and open questions separately from the criteria.
Output format Markdown with headings: Functional Criteria, Non-Functional Criteria, Assumptions, Open Questions. Given/When/Then bullets under each criteria heading. Keep to roughly twelve criteria unless asked for more. Plain professional tone. No code, no diagrams.
Guardrails Do not invent numeric thresholds, standard numbers or vendor limits; use only values the user supplied or mark them TBD. Flag any criterion that needs legal, compliance or vendor manual verification. State assumptions openly instead of silently filling gaps.
Example {{user_story_or_requirement}}: As a customer I want to reset my password by email so I can regain access. {{requirement_id}}: AUTH-142. {{non_functional_requirements}}: reset email delivered within 2 minutes.
Skills for these tasks
Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.