ClaudeMap

Claude Prompt Engineering Docs

Anthropic's official prompt engineering documentation.

Prompt Librariesofficialdocspromptsanthropic

Anthropic's official prompt engineering documentation. Covers the recommended techniques, common pitfalls, and Claude-specific tips (XML tagging, thinking, long-context strategies, prompt chaining).

What it does

  • Routes before it teaches: a 'when to prompt engineer' check (model choice sometimes beats prompt tweaks) and a 'before prompt engineering' prerequisite list — success criteria, empirical tests, a first draft
  • Model-specific prompting guides for the current lineup: Fable 5.1, Fable 5, Opus 5.5, Opus 5, Opus 4.8, Sonnet 5.5, Sonnet 5 and Haiku 5.5
  • Prompting best practices is the living techniques reference — clarity, examples, XML structuring, role prompting, thinking, prompt chaining
  • Chains into the surrounding evals flow (define success criteria, build evaluations) and a metaprompt-based prompt generator notebook from the Claude Cookbook

When to use it

The canonical starting point when a prompt underperforms: use the overview to pick the right layer — technique page, model-specific guide, or the evals flow — instead of reinventing tricks from blog posts.

Getting started

No install — it is a documentation site. Start at the overview, then keep Prompting best practices open as the living reference; don't skip the 'Before prompt engineering' checklist (success criteria, empirical tests, a first draft).

Things to know

The overview itself is a hub, not a handbook — the substance lives in the child pages (best practices, per-model guides, evals). Techniques are tuned per model: a trick that helps one Claude generation can be neutral or harmful on another, so match the page to the model you actually call.

Charted

Related on the map

  • Version-by-version teardown of Claude Code's system prompts and 27 built-in tool descriptions, updated with every release.

    • system-prompt
    • claude-code
    • analysis
    • prompt-engineering
  • A single-file CLAUDE.md distilling Karpathy's coding observations into four working rules (211k stars).

    • claude-md
    • rules
    • prompt-engineering
    • best-practices
  • prompts.chat

    Prompt Library

    The de-facto standard ChatGPT role-prompt collection (f.k.a. Awesome ChatGPT Prompts).

    • prompts
    • awesome-list
    • roles
    • community