Anthropic's Interactive Prompt Engineering Tutorial
by Anthropic
Nine notebook chapters with graded exercises: prompt structure, being direct, roles, separating data from instructions, output formatting, step-by-step reasoning, examples, hallucination control, plus chaining and tool use. You write and debug real prompts, not read about them. The single best free way to actually practise rather than read - every chapter ends in an exercise that is graded against expected output, which is the only mechanism on this list that catches the gap between understanding a technique and being able to apply it. Its example code targets an older Claude model, but the failure modes it drills are model-independent.
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.
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.
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.