Chapter 7 Using Examples / Few Shot . Demonstrates how two worked examples of a paragraph structured individuals list train Claude to produce the same shape on a new paragraph, no
Nalanda Prompts is a closed-beta community for AI prompt engineers. Find production-ready prompts curated from Anthropic, OpenAI, GitHub, and the wider web. Each one links back to its source. Discuss, fork, and refine in the open.
Chapter 7 Using Examples / Few Shot . Demonstrates how two worked examples of a paragraph structured individuals list train Claude to produce the same shape on a new paragraph, no
Verbatim system prompt from the Anthropic Research multi agent pattern. The 'research lead' classifies a user query as depth first, breadth first, or straightforward, then plans an
From the Anthropic prompt engineering guide. Counter acts the 'AI slop' look in generated UI by forcing Claude to present multiple distinct design directions before writing code. P
Anime mode prompt using the niji 6 model. Calling out the studio Ghibli and the medium hand painted texture, soft pastels is what keeps it on style. Source: https://witechpedia.com
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:/
Dave Hulbert's plain English distillation of Tree of Thoughts. Works on any chat model no search algorithm required and dramatically improves multi step reasoning. Source: https://
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
The community standard SDXL negative prompt. Weighted parentheses e.g. :1.4 push the model harder against the lowest quality artifacts while leaving room for style. Source: https:/
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
Canonical example from Wei et al. 2022 showing how interleaving worked reasoning into few shot exemplars dramatically improves arithmetic and commonsense tasks. Source: https://git
Worked HotpotQA example from Yao et al. 2022 showing the ReAct pattern: interleave reasoning traces with tool actions to ground answers in retrieved evidence. Source: https://githu
Classic Wei et al. few shot CoT exemplars. Each example shows the reasoning trace explicitly, which conditions the model to do the same on the final query. Source: https://www.prom
Opening section of the v0 production system prompt. Notable for its strict rules about how AskUserQuestions interacts with parallel tool calls, image asset handling, and a project
From the Anthropic prompt engineering guide section on agentic systems. A concrete system prompt snippet that tells Claude Opus 4.7 when to spawn subagents counter balancing its de
From the same Anthropic prompt engineering guide. The canonical XML tagging recipe for any prompt that mixes instructions, context, examples, and variable inputs used throughout th
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
The exact PromptTemplate string shipped with LangChain's ReAct agent. Drop your tools into {tools} and {tool names} and the model follows the loop until it emits a Final Answer . S
A high detail SDXL prompt that fuses art history references Max Ernst, Yinka Shonibare, shin hanga with photographic specs. Pair with the negative prompt to keep the render clean.
Chapter 9 of Anthropic's interactive prompt engineering tutorial includes this complex legal services prompt that demonstrates retrieval over research with citation formatting, pre
From Chapter 9 of Anthropic's interactive prompt engineering tutorial. A canonical complex prompt skeleton that combines task context, tone, rules, examples, conversational history