ClaudeMap

Prompt Engineering Tutorial

Comprehensive prompt engineering guide by DAIR.AI.

Prompt Librariesguidepromptslearning

DAIR.AI's comprehensive prompt engineering guide covering techniques, papers, and notebooks across major LLMs. Useful as a vendor-neutral reference alongside Anthropic's own prompt engineering docs.

What it does

  • Structured lessons from zero-shot and few-shot basics through chain-of-thought, self-consistency, Tree-of-Thoughts, RAG, and ReAct
  • Curated papers, notebooks, datasets, and tools sections for going beyond the lessons
  • Free web version at promptingguide.ai, translated into 13 languages
  • A 1-hour lecture with video, slides, and a companion notebook

When to use it

Use it as a vendor-neutral curriculum when teaching prompt engineering or onboarding engineers to LLM APIs — pair it with Anthropic's own prompt engineering docs for Claude-specific guidance.

Getting started

Read it online at promptingguide.ai, or run the Nextra site locally: install Node.js 18+ and pnpm first, then run pnpm i next react react-dom nextra nextra-theme-docs followed by pnpm dev.

Things to know

Development has slowed — the repository's last push was March 2026, so check the web version for newer techniques; the DAIR.AI Academy courses advertised in the README are paid.

Repository

dair-ai/Prompt-Engineering-Guide

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