Learn prompt writing

Four compact chapters from your first prompt to systematic improvement – with examples from the community. No prior knowledge needed.

01 Fundamentals: what makes a good prompt? Role, context, task, format – the four building blocks that improve almost any prompt. ~6 min 02 Variables: making prompts reusable Turn a one-off prompt into a template – how variables work on PromptHub. ~4 min 03 Examples & format: show, don't tell Few-shot examples and explicit output formats are the strongest levers for reliable results. ~7 min 04 Iterating: version, test, improve Why good prompts have versions – and how playground, diffs, and pull requests make you systematically better. ~5 min

Prefer to dive right in?

Browse prompts by topic, fork one that almost fits – or publish your first one.