Guides to writing better prompts
Short explanations and real examples to get more out of Claude, ChatGPT, Gemini and Claude Code.
The anatomy of a great prompt: 8 layers AI needs
What makes a prompt work on the first try: role, context, goal, steps, examples, constraints, format and success criteria, with a worked example.
How to give AI a role (and why 'expert' isn't enough)
Write roles that actually change the answer: specialty, experience, audience and priorities. Weak vs. strong role examples for common tasks.
Context in prompts: the details that change the answer
Context is the most-skipped part of a prompt. What to include, how much is enough, and why explaining the reason behind a rule makes AI follow it better.
Few-shot prompting: how examples make AI answers better
How to use examples in your prompts: how many to include, how to pick them, when to show what you don't want, and what to do if you have none.
7 prompt mistakes that waste your time (and the fixes)
Vague words, asking for everything at once, no format, only saying what you don't want and more common prompt mistakes, each with a concrete fix.
Before and after: 5 real prompts, rewritten
Five everyday AI requests (a refund reply, a website, a spreadsheet, a support bot and a study session) rewritten with role, context, examples and format.
How to write Claude Code prompts when you can't code
A practical guide to asking Claude Code for a site or tool: give project context, ask for a plan first, define how to verify and avoid surprises.
How to write ChatGPT prompts that get it right the first time
Structure ChatGPT prompts with clear sections, use custom instructions for context you repeat, ask for exact formats and refine answers efficiently.
Prompting Claude: XML tags, context and other best practices
Get more from Claude with XML tags, long documents at the top, labeled examples, room to think and permission to say it doesn't know. Template included.
How to write a system prompt for a customer service bot
What a support bot's system prompt should cover: identity, business facts, what it does and never does, when to hand off to a human, plus sample chats.