All articles
Prompt Engineering

How to Write Better ChatGPT Prompts (With Real Examples)

Most people use ChatGPT like a search engine and get mediocre results. Here's how to write prompts that actually work, with practical examples you can use today.

January 15, 20257 min readBy Rebus Labs

If you've typed a question into ChatGPT and gotten a generic, half-useful answer, you're not alone. Most people treat AI like a search engine: a one-shot query that either works or doesn't. But that's not how it works best.

ChatGPT responds to the quality of your input. The clearer, more specific, and more structured your prompt, the better the output. This guide covers the techniques that make the biggest difference.

Why Most Prompts Fail

The most common mistake is being too vague. "Write me a marketing email" will produce a generic email. "Write a short marketing email for a B2B SaaS tool that helps HR teams automate onboarding, targeting a VP of People at a 200-person company, with a casual but professional tone and a call-to-action to book a 20-minute demo" will produce something you can actually use.

The other mistake is treating a single prompt as a complete interaction. ChatGPT works best as a back-and-forth conversation, not a vending machine.

The Four Parts of a Good Prompt

Role: Tell it who it is. Giving ChatGPT a role activates a different mode of response.

Context: Give it background. What is the situation? Who is the audience? What has already been tried?

Task: Be specific about what you want. Not "write something", but "write a 3-paragraph email" or "summarize this in 2 sentences."

Format: Tell it how to structure the output. Specify length, tone, and constraints.

5 Prompt Techniques That Work

1. Use the "Act as" prefix

Act as a career coach helping a mid-level software engineer prepare for a senior engineering interview. Give me 5 behavioral interview questions I should be ready for, with a brief note on what each question is really testing.

This produces more focused, expert-quality output than "give me interview questions."

2. Give it a before/after example

Examples are the fastest way to align the AI's output with your expectation. Paste the original, describe what should change, and tell it what must stay intact.

3. Ask it to think step by step

"Step by step" triggers more methodical, structured reasoning. It works especially well for analysis tasks.

4. Constrain the output

Constraints prevent AI from padding output with filler. Be specific: exactly 3 options, under 100 words, no bullet points.

5. Iterate, don't restart

If the first response isn't quite right, refine it. This is where most of the real value comes from: the iteration, not the first shot.

Getting Better at This

Prompt engineering isn't a skill you learn by reading about it. It is built through practice. Pick one recurring task and spend a week experimenting with how you phrase prompts for that specific task.

At Rebus Labs, our courses are designed for people who learn by doing, not just reading.

Ready to level up your AI skills?

Rebus Labs offers hands-on AI courses designed for real work, not just theory. Learn by doing, with exercises built around your actual workflow.

Browse AI courses