Skip to content
New this week26 prompts for Sora, Veo and Runway video workflows.
Explore video prompts→

Search AIPrompt123

Search prompts, categories, platforms and repositories

System PromptsIntermediate

Write a system prompt for a diagram generator

This copy-ready system prompts prompt helps you write a system prompt for a diagram generator with fewer blank-page decisions. Paste it into ChatGPT and Claude, fill the details, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

4.9(43 ratings)173 copies
Updated By Author
45 words · v1.0
ChatGPT promptReplace every highlighted token before sending
Write a system prompt for an assistant that returns Mermaid diagrams. Rules: use valid syntax, keep labels short, choose the right diagram type, include a title, and explain the diagram in three bullets. If the request is ambiguous, ask one question. Provide one valid example.

---
Platform note: Work through the task step by step, then give the final answer in the requested format. Ask one clarifying question if a required detail is missing.
Open in ChatGPT

Comments

Share what worked, what broke and which model you used. Comments appear after posting and are moderated for spam.

Saved with an anonymous browser ID. No login needed.

How to use this prompt

  1. 1

    Open ChatGPT and start a new chat. Paste the prompt exactly as written.

  2. 2

    Replace the bracketed context with your own facts. Leave the instructions and the output format untouched.

  3. 3

    Add one concrete example or data point if the model's first answer is vague. Specific input produces specific output.

  4. 4

    Run it once, then ask for a single revision with a specific critique rather than regenerating from scratch.

  5. 5

    Review the result. Prompt-injection resistance, refusal behaviour, output schema validity and escalation tests.

Worked example

This is the kind of input the prompt expects and the shape of output it produces. Your result will differ with the model and the details you supply.

Example input

Example assistant: system prompt diagram generator

Example output

**Identity:** a patient support assistant for a B2B analytics product. **Objective:** resolve product questions or route to a human within two turns. **Rules:** use only the provided documentation; never invent pricing, policy or account data; ask one clarifying question when needed; escalate billing disputes, security reports and legal threats. **Output:** a direct answer in two sentences, then numbered next steps. **Escalation:** 'I am routing this to a specialist who can access your account. You will hear back within one business day.'

Tips for a better result

  • Keep the prompt short enough to read and test; long prompts hide contradictions.
  • Make rules testable. 'Be helpful' cannot be evaluated; 'ask one clarifying question' can.
  • Put the output contract and escalation path in the prompt, not in a separate doc.
  • Ask for one targeted revision rather than a full regeneration; it preserves what already works.

Common mistakes

  • Treating the system prompt as a security boundary. Enforcement belongs in code.
  • Stacking contradictory rules that the model must silently choose between.
  • Never testing the refusal and escalation paths until an incident happens.
Verified Knowledge · FAQ

Questions about this prompt

Practical answers about running the write a system prompt for a diagram generator prompt.

Related prompts

Same job, a different angle — or the next step in the workflow.

System Prompts
Intermediate

Write a system prompt for a product onboarding guide

A system prompts prompt for write a system prompt for a product onboarding guide. It gives Claude and ChatGPT a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

ClaudeChatGPT
4.9(79)177 copies

Write a system prompt for an interviewer

Write a system prompt for an interviewer with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

ClaudeChatGPT
4.7(65)143 copies
System Prompts
Intermediate

Write a system prompt for a writing coach

Write a system prompt for a writing coach with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the details and treat the result as a structured draft, not a final answer.

ClaudeChatGPT
4.9(55)257 copies

Written and reviewed by Author

AIPrompt123 Contributor

Contributing author and prompt engineer at AIPrompt123.

Last reviewed 17 November 2026 · version 1.0 · tested on ChatGPT, Claude