Microsoft's recommended structure for break the task down prompts. Uppercase section headers, delimiters and an explicit SEARCH "query" affordance make the output trivially parseab
Microsoft's recommended structure for break the task down prompts. Uppercase section headers, delimiters and an explicit SEARCH "query" affordance make the output trivially parseab
Canonical ReAct exemplar from Yao et al. The thought/action/observation rhythm is what makes ReAct prompts work copy this shape when wiring an LLM to a search tool. Source: https:/
The most pulled RAG prompt on LangChain Hub. Three sentence answer cap plus an explicit "say you don't know" clause makes it a safe default for production RAG. Source: https://smit
From Chapter 9 of Anthropic's interactive prompt engineering tutorial. A canonical complex prompt skeleton that combines task context, tone, rules, examples, conversational history
Chapter 8 Avoiding Hallucinations . A grounded QA template: extract the most relevant quote into <scratchpad , judge whether it answers the question, and only then write a brief nu
Guides you on enriching LLM prompts with database schemas, sample data, and table relationships to improve generated SQL quality. Use this when Claude is producing inaccurate or in
From misc/generate test cases.ipynb in the cookbook. A meta prompt that takes a prompt template with {{variables}} and generates synthetic test cases in a structured XML format the
Explores philosophical questions, conducts theoretical research, and proposes ethical frameworks. Source: https://github.com/f/awesome chatgpt prompts
Cyberpunk meets film photography prompt. Calling out a real film stock Kodak Portra 400 is what gives Midjourney its grain and color science. Source: https://witechpedia.com/best m
Opening sections of Anthropic's officially published system prompt for Claude Sonnet 4.5 release notes, Sept 2025 . Notable for prose first formatting guidance, sparse bullet usage
Named entity recognition prompt that locks the model to a single, closed label set. Pinning the categories is what makes the output safe to feed into a downstream parser. User turn
Classic 1 shot example from Brown et al. 2020 GPT 3 paper showing in context learning: define a new word, give one usage example, and the model generalizes. Source: https://github.
One line system prompt from the function calling recipe. It is responsible for the model's habit of asking clarifying questions rather than fabricating function arguments. Pair it
Photography formula prompt for Midjourney v6 subject + context + camera + lens + lighting + parameters. The style raw flag dials back Midjourney's default stylization for editorial