Promptles

The Playbook

94 principles for prompting Claude Code and other AI coding assistants — the small, reusable lessons that turn vague asks into prompts a senior engineer would compliment.

Clarity15

Saying exactly what you want, with no room for the AI to guess. Naming files, functions, and behavior up front.

Context20

Giving Claude the surrounding state it needs before asking — what code exists, what depends on what, what already works.

Constraints20

Naming the lines you don't want crossed: don't change file X, keep the API the same, match the existing style.

Errors11

Putting failure modes into the prompt — what should happen when things break, what error types to throw, what to log.

Output Format5

Telling Claude the shape of the answer it should produce, not just the substance.

Multi-Step19

Breaking a complex ask into a sequence Claude can follow without losing the thread.

Anti-Patterns4

The shapes of prompts that don't work, and what to write instead.