Prompt Engineering Guide
Reference covering prompting techniques with worked examples: zero-shot and few-shot, chain-of-thought, self-consistency, ReAct, and tree of thoughts, plus model-specific notes and adversarial prompting risks. Readers finish able to choose techniques deliberately.
More resources on Prompt Engineering
Anthropic Learn
Anthropic's free learning hub, now Claude Academy, with self-paced courses and tutorials on AI fluency, model capabilities and limits, prompt writing, and building applications with the Claude API. Learners can write clearer prompts, judge model output critically, and start developing with Claude.
Tree of Thoughts: Deliberate Problem Solving with Large Language Models
Generalizes chain-of-thought prompting into a search over a tree of intermediate reasoning steps, letting a model consider several branches, self-evaluate them, and backtrack. Demonstrated on Game of 24, creative writing, and mini crosswords.
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Shows that prompting a large model with a few worked examples containing intermediate reasoning steps substantially improves arithmetic, commonsense, and symbolic reasoning, and that the effect emerges only at sufficient model scale. The origin of chain-of-thought prompting.
Generative KI-Modelle – Chancen und Risiken für Industrie und Behörden
Position paper from Germany's Federal Office for Information Security cataloguing the risks of generative models, including direct and indirect prompt injection, jailbreaks, hallucination and automation bias. A cross-reference table maps each numbered risk to its countermeasures. This is not a how-to-prompt guide. It covers the topic's 'limits of prompting' angle from a regulator's view: indirect prompt injection getting around system prompts, and the BSI's position that no reliable mitigation exists that doesn't restrict functionality.
LLMの原理、RAG・エージェント開発から読み解く コンテキストエンジニアリング
Japanese practitioner guide to building LLM application context: how LLMs generate tokens, structured output and function calling, a full chapter on instruction-prompt design with few-shot and chain-of-thought, then RAG evaluation and agent workflows. Scope broader than pure prompting.
Prompt Engineering for LLMs: The Art and Science of Building Large Language Model-Based Applications
Two engineers who built GitHub Copilot explain why prompts work in terms of how models complete text, then build up few-shot patterns, chain-of-thought, retrieval-assembled context and evaluation for production applications rather than one-off chat sessions.