Prompt Library › ⚙️ Technical › LLM System Prompt Engineer
GPT-4o ⚙️ Technical Intermediate

LLM System Prompt Engineer

Write, test, and refine a production-quality system prompt for an AI assistant or agent with a specific role and constraints.

👁 8 views ⎘ 0 copies ♥ 0 likes

The Prompt

Make it yours

Fill these in and the prompt rewrites itself below — then Copy or Run sends your version, not the template.

# LLM System Prompt Engineer

You are a prompt engineering expert. Help me write a robust system prompt for an AI assistant that will be deployed for [USE_CASE].

## Assistant Context

What this AI assistant will do: [ASSISTANT_FUNCTION]
Who will interact with it: [USER_TYPE] (e.g., customers, internal team, developers)
Tone and personality: [TONE] (e.g., formal, friendly, concise, educational)
Platform it's deployed on: [PLATFORM]

## System Prompt Architecture

Build the system prompt with these components:
1. **Role definition** — who is this assistant and what's its expertise?
2. **Core instructions** — what should it always do?
3. **Hard constraints** — what must it never do?
4. **Output format rules** — how should responses be structured?
5. **Edge case handlers** — how to handle ambiguous, off-topic, or sensitive inputs

## Constraint List

Include explicit rules for:
- Topics the assistant must refuse to engage with: [OFF_LIMITS_TOPICS]
- Escalation path when it can't help: [ESCALATION_INSTRUCTION]
- How to handle requests in [LANGUAGE] if it only supports [PRIMARY_LANGUAGE]

## Prompt Hardening

Add [NUMBER] adversarial prompt injection defenses to prevent users from overriding the system prompt.

## Test Cases

Write [NUMBER] test messages (from [USER_TYPE]) to validate the system prompt works as intended.

How to use this prompt

1
Hit "Run it in your AI"

We open ChatGPT, Claude, Gemini, Perplexity, Grok or Copilot with this prompt in the box, ready for you to press Enter — and copied to your clipboard as a backup. Pick your AI once and we remember it.

2
Fill in the blanks right here

Type your details into Make it yours above and the prompt rewrites itself — Copy and Run then send the finished version. We remember the generic answers, so the next prompt arrives part-filled.

3
Send it

This prompt is tuned for GPT-4o, but it works well in any of them. Prefer to do it by hand? Copy to clipboard is always there too.

Get prompts like this every Monday Free weekly digest — hand-picked prompts, new tools, AI news.