Skip to content

Prompt library

These prompts come from the workflows in this section. They’re written to be vendor-neutral and to work with any capable assistant. Each one asks the AI to cite its sources, mark what it infers, and leave gaps visible instead of filling them in, which makes the output much easier to check.

  1. Start with a context pack. Paste the context pack (goals, constraints, team, quality scenarios) above any design prompt. Generic input gets generic output.
  2. Ask for evidence. “Quote the source”, “give file and line”, “cite the document”. Then check the citations.
  3. Make gaps visible. “Write [TBD] rather than guessing” and “mark INFERRED” stop the AI filling silence with plausible fiction.
  4. Ask for criticism explicitly. Assistants tend to agree with you unless told not to.
  5. Iterate. The first answer is a draft. Ask follow-ups, then edit by hand.
  6. Follow the guardrails. Approved tools, no data you’re not allowed to share.
Task Prompt Where it’s explained
Synthesize interviews and workshops Goals, pain points, stated vs implied requirements, contradictions, next questions Discovery
Write quality attribute scenarios Six-part scenarios with [NEEDS NUMBER] markers Discovery
Draft a capability map Level 1 and 2 capabilities, applications mapped with citations Discovery
Find gaps in requirements Conflicts, untestable items, missing areas, assumptions Discovery
Context pack One reusable page of goals and constraints Design
Widen the options 4 to 6 different options, costed against your constraints, no recommendation Design
Red-team a design Strongest reasons it fails, plus a pre-mortem Design
Draft a decision record ADR from notes, [TBD] for gaps Design
Diagram as code C4 container diagram in Mermaid Design
Review a design against standards Meets / partial / not met, with quotes; top risks Reviews
First-pass threat model STRIDE per element and boundary-crossing flow Reviews
Architecture conformance Rule violations with file and line, plus an automated check for each Reviews
Audit evidence map Control, evidence, strength, what’s missing Reviews
Patterns across incidents Recurring causes and unimplemented recommendations Reviews
Explain unfamiliar code Purpose, side effects, rules with line numbers, INFERRED markers Legacy
Map integrations Every external interaction, with evidence and a flowchart Legacy
Extract rules from stored procedures Plain-English rules with line numbers; special cases flagged Legacy
QA: test strategy from a design Test types, boundaries, data, environments, hard-to-test parts QA role page
DBA: review a migration Locks, rewrites, zero-downtime alternative, rollback DBA role page
SRE: failure modes Failure modes, impact, detection, mitigation SRE role page
Delivery: risk in a design Dependencies, migrations, environments, open decisions Delivery role page
  • Add your standards. Paste your principles, checklists and templates into the prompts so outputs match how your organization works.
  • Record what you fix. When you correct an output, change the prompt so the next person doesn’t have to.
  • Version it. Keep the library in a repository next to your architecture templates, with an owner.
  • Share results, not just prompts. A short example of a good output helps others calibrate.

Written and edited by Abhinav Taduka, enterprise software architect.