Prompt LibraryEngineering
LLM System Prompt Scaffold Template
Six-layer system prompt generated from a capability description.
The prompt
Write a production system prompt for the capability below, using exactly these sections:
1. Role and scope (including what it is NOT for)
2. Inputs and missing-field handling
3. Rules, numbered, where a higher number wins on conflict
4. Output contract (exact format)
5. Refusal and escalation cases
6. Two examples, one of them an edge case
Capability: {{capability}}
Consumer of the output: {{consumer}}Replace the {{fields}} with your own context and tighten the rules to match your domain.
More Engineering prompts
System Prompt Context Audit Prompt
Check whether a prompt's context sections earn their token cost.
Prompt Injection Hardening Review Prompt
Find where untrusted content can hijack a system prompt's instructions.
RAG Answer Grounding Checker Prompt
Verify a generated answer is grounded in retrieved chunks.




