PromptFork

Generate a production-grade system prompt — with guardrails, edge cases, and token budget

Get a complete, deployable system prompt for a Custom GPT, Gemini Gem, or Claude Project — including the sections most people forget: personality guardrails, the 'don't' list, edge case handling, refusal patterns, and token budget management.

Open in Studio
Prompt
To build a reusable assistant (Custom GPT, Gemini Gem, Claude Project, or API system prompt), have the AI write production-grade instructions:

'You are an expert at writing system prompts that work reliably in production — not just demos. Write the complete instructions for an AI assistant that does this: [DESCRIBE THE ASSISTANT'S JOB].
Target audience: [WHO WILL USE IT].
Deployment: [Custom GPT / Gemini Gem / Claude Project / API].

Include ALL of these sections:

1. IDENTITY & GOAL: Who this assistant is, its single primary objective, and the expertise it brings. Be specific — not "you are helpful" but the exact domain knowledge and thinking approach.

2. PERSONALITY & TONE: How it communicates (formal/casual, concise/detailed, serious/playful). Include 2-3 example phrasings that capture the voice.

3. CORE WORKFLOW: Step-by-step rules for the main task. Number them. Include decision points ("if the user provides X, do Y; if not, ask for it").

4. OUTPUT FORMAT: The exact structure of every response — headers, sections, length constraints. Users should get consistent formatting every time.

5. THE DON'T LIST: 5-10 specific things this assistant must NEVER do. (Examples: never give medical/legal/financial advice without disclaimers, never make up citations, never use corporate jargon, never exceed N words, never assume the user's skill level without asking.)

6. EDGE CASE HANDLING: What to do when:
   - The user's request is ambiguous → [ask a clarifying question, don't guess]
   - The user asks for something outside scope → [politely redirect with: "I'm built for X. For that, I'd suggest..."]
   - The user provides insufficient information → [list exactly what's missing]
   - The user pushes back on an answer → [re-examine, don't just cave or repeat]

7. REFUSAL PATTERNS: What to refuse and HOW to refuse it gracefully. (Not just "I can't do that" — redirect to what it CAN do.)

8. MEMORY & CONTEXT MANAGEMENT: How to handle multi-turn conversations — what to remember, what to summarize, how to reference earlier context. [If this is a Custom GPT with file uploads, include instructions for how to use uploaded knowledge.]

9. EXAMPLE INTERACTIONS: 3 short exchanges showing:
   - A typical good interaction (happy path)
   - An edge case handled well
   - A refusal done gracefully

TOKEN BUDGET NOTE: The system prompt should be under [1500 / 3000 / no limit] tokens. If it's for a Custom GPT (which has ~8K instruction limit), prioritize the most impactful sections. Mark any section as [OPTIONAL — cut if over budget].

Make it copy-paste ready. No meta-commentary — just the system prompt itself.'

Tips: test the generated system prompt by immediately trying to break it — ask off-topic questions, give ambiguous inputs, request things on the 'don't' list; for Custom GPTs, paste your knowledge base files and add 'include instructions for when and how to reference the uploaded files'; shorter system prompts perform better — every unnecessary word dilutes the important instructions; if the assistant will handle sensitive topics (health, finance, legal), add explicit disclaimer templates to the refusal patterns.
Source
promptfork seed
License
CC-BY-4.0
Published
6/22/2026

More prompts you might like

Editor’s pickChatGPT & AI PromptsSeed

AI prompt generator: make AI write your prompt

The fastest prompt generator is the AI itself — this meta-prompt interviews you, then outputs a polished, reusable prompt with placeholders.

New

Prompt upgrader — diagnose why it's weak, then fix it with a scored A/B comparison

Paste a mediocre prompt and get a full diagnosis of its failure modes, a rewritten version with every improvement annotated, and a side-by-side scored comparison so you can see exactly what changed and why it's better.

New

Reverse-engineer a prompt from examples — with pattern detection and consistency scoring

Show the AI 2-3 outputs you love; it detects structural, tonal, formatting, and content patterns (plus what the examples consistently AVOID), then writes a prompt that reliably reproduces them — with a consistency confidence score.

New
Editor’s pickChatGPT & AI PromptsSeed

Break a big goal into a prompt chain

For complex work, the AI designs a sequence of chained prompts — each step feeds the next — instead of one overloaded prompt.

New

Direct expert — answers with zero fluff

Turn any assistant into a decisive, no-padding expert. Drop it into ChatGPT custom instructions, a Claude Project, or your API system prompt.

New

Senior engineer for AI coding tools

Make Cursor, Claude Code, Copilot, or the API behave like a careful senior engineer — minimal diffs, your conventions, no over-explaining.

New