Contextcore
System prompts
The standing instructions: role, rules, tone, tools and output format.
What it is and why it exists
The system prompt sets behaviour for the whole conversation and outranks user messages. Good ones are specific about the task, the audience, what to do when unsure, the output format and hard rules — and short enough that the important parts don’t drown.
Quick prototype
A paragraph describing the assistant.
In production, at scale
Versioned in a prompt registry, structured with clear sections (XML tags or headings), tested against an eval set on every change, free of per-request data so it stays cacheable, and never treated as a secret or as a security control.
Vendors and tools
| Anthropic / OpenAI prompting guides | Provider-specific guidance |
|---|---|
| Langfuse / PromptLayer / LangSmith Hub | Prompt versioning and registries |
On AWS: Bedrock Prompt Management stores versioned prompts with variables.
How it fails
- Assuming users can’t extract it — they can
- Rules buried in paragraph six that the model ignores
- Instructions that contradict each other after months of patches
What the interviewer asks next
Can a system prompt keep secrets?
No. Treat it as public. Secrets, permissions and business rules that matter must be enforced in code.
How do you change a system prompt safely?
Version it, run the eval suite on the new version, roll it out behind a flag or to a slice of traffic, and compare online metrics before switching everyone.