Most people who feel disappointed by AI tools are writing bad prompts. That's not an insult — it took me a while to figure this out too. The model isn't the bottleneck; the instructions are. Once you internalize a handful of principles, the same AI that was giving you mediocre answers starts producing work you'd actually use.

This isn't about tricks or jailbreaks. It's about communicating clearly with a system that takes you extremely literally.

Why prompts matter so much

A language model has no memory of you, no idea what project you're working on, and no instinct to ask clarifying questions the way a colleague would. It takes the text you give it and generates the most statistically probable continuation. If your prompt is vague, you get a vague answer — confidently delivered.

The good news: it also has no ego, never gets bored, and will patiently rewrite the same thing ten different ways if you ask it to. The better you get at prompting, the more that patience pays off.

1. Give it a role

Starting with "You are a..." immediately improves output quality. It focuses the model's response style and knowledge domain before you even ask your question.

✗ Weak

Explain how to structure a REST API.

✓ Better

You are a senior backend engineer. Explain how to structure a REST API to a developer who understands HTTP but has never designed one from scratch. Focus on resource naming, versioning, and error responses.

The role doesn't have to be elaborate — even "You are a concise technical writer" shapes the output noticeably.

2. Specify the format

AI models will default to verbose paragraphs unless you tell them otherwise. If you want a list, a table, a code block, or a one-sentence answer — say so explicitly.

✗ Weak

What are the pros and cons of TypeScript?

✓ Better

Give me the top 4 pros and top 4 cons of using TypeScript in a new project. Use a two-column table. Keep each point to one sentence.

3. Show an example

This is the single highest-leverage technique for getting consistent output: show the model exactly what you want, then ask for more like it. Researchers call this "few-shot prompting."

✗ Weak

Write a product description for a standing desk.

✓ Better

Write a product description for a standing desk. Match this style exactly:

"The Ember Mug² keeps your coffee at the perfect temperature for up to 80 minutes. Set your ideal temp, forget the microwave."

Two sentences. Direct. No fluff.

4. Give it context, not just a task

The model doesn't know your audience, your constraints, or your goals. A sentence of context often does more than a paragraph of instructions.

✗ Weak

Write an email about the project delay.

✓ Better

Write an email to a client informing them that a software project will be delayed by two weeks due to unexpected infrastructure issues. The client is non-technical and relationship-focused. Tone: direct but warm, not defensive. Include a revised timeline and a next step.

5. Tell it what to avoid

AI models have strong default tendencies — preamble, hedging, filler phrases like "Certainly!" or "Great question!". You can suppress these directly.

✓ Add to almost any prompt

Do not start with a preamble. Do not use phrases like "Certainly" or "Of course". Get straight to the answer.

6. Ask it to think before it answers

For anything requiring reasoning — math, logic, analysis, strategy — telling the model to work through its thinking before giving a final answer consistently improves accuracy. This technique is called chain-of-thought prompting.

✓ For analytical tasks

Before giving your final answer, work through the problem step by step. Show your reasoning, then give your conclusion.

The reason this works comes down to how language models generate text: each token is predicted based on what came before. When the model "writes out" its reasoning, those intermediate steps become part of the context it's predicting from — effectively giving it more to work with.

7. Iterate, don't restart

Most people treat a bad AI response as a failure and start over with a completely new prompt. That's a waste. The model has context from your conversation — use it.

After a weak first response, try:

  • "This is too generic. Make it more specific to [X]."
  • "Good structure, but the tone is too formal. Rewrite with more personality."
  • "Option 2 is closest. Expand that one and cut the rest."

Treating AI output as a first draft to refine — rather than a final answer to accept or reject — is the shift that separates people who find AI genuinely useful from people who don't.

Putting it together

A solid prompt isn't necessarily a long one. It just covers the basics: who the AI should be, what you want, what format to use, and what to avoid. Here's a template I actually use:

Template

You are [role]. [Context about my situation in 1–2 sentences]. [The task]. Format: [list / table / paragraph / code / etc.]. [Any constraints: length, tone, what to avoid].

Once you've built a few prompts that work well for recurring tasks, save them. A small personal library of prompts you've tuned is worth more than any AI tool itself.


Further reading