Prompt engineering is the practice of writing and testing the instructions, examples and context you give a language model so that it does a task reliably. These guides cover it from the first prompt to advanced techniques.
The beginner guides explain clear prompts, system and user messages, few-shot examples, step-by-step reasoning, structured JSON output and quick checks for hallucinations. Intermediate and advanced guides cover chain-of-thought variants, self-correction, verification loops, long-context prompting and compression, routing between models, automatic prompt optimization and a series of mental models for how LLMs behave. Most guides show a real prompt, its output and what changed, and many include Python code you can run.
53 guides
The library lists all guides with filters for topic, level, category and reading time.