AI & Machine Learning 6 min read

Prompt Engineering for Beginners: 12 Techniques That Actually Work

Better AI answers come from better instructions. These 12 prompt techniques work in ChatGPT, Claude and Gemini, with copy-paste examples you can use today.

A
AsaanWeb Editorial Team
AsaanWeb Editorial

Most people who say "AI gives me generic answers" are typing one short line and hoping for the best. The model is not reading your mind; it is reading your prompt. Prompt engineering for beginners is simply learning to give an AI the same brief you would give a smart new colleague: who it is helping, what good looks like, and what to avoid.

The 12 techniques below work in ChatGPT, Claude, Gemini and most other assistants. Each one comes with a short example you can copy.

Why prompts matter more than the model you pick

People spend hours comparing AI models and minutes on their prompts. In practice, a clear prompt on an average model usually beats a vague prompt on the best one. Modern models are very capable, but they fill every gap you leave with the most average possible answer. Your job is to close those gaps.

A useful mental check before you press Enter: if I handed this text to a human freelancer, could they do the job without asking me a question? If not, add what they would ask.

Technique 1–4: Give the AI a brief, not a command

1. State the goal and the audience. "Write a product description" becomes "Write a product description for a handmade leather wallet, for men aged 25–40 shopping on Instagram, who care about quality more than price."

2. Give it a role only when the role adds knowledge. "You are a senior tax accountant in Pakistan" helps on a tax question because it sets the expertise level and the context. "You are a genius" adds nothing.

3. Provide the context it cannot guess. Paste the email you are replying to, the product specs, your brand rules or the error message. Models are excellent at working with material and much weaker at inventing facts about your business.

4. Say what to avoid. "No hype words like revolutionary or game-changer. No emojis. Don't mention competitors." Negative instructions are cheap and remove the most common irritations.

Example prompt:

I run a small bakery in Lahore. Write three Instagram captions for our new pistachio cake. Audience: young families. Tone: warm, simple English with one Urdu word per caption at most. Under 30 words each. No hashtags.

Technique 5–8: Control the shape of the answer

5. Specify the format. Bullet list, table, numbered steps, JSON, an email with a subject line — say so. "Answer as a table with columns: Option, Cost, Pros, Cons."

6. Set a length. "In 150 words", "five bullets", "one paragraph". Without a limit, most assistants default to long.

7. Show an example (few-shot prompting). One or two examples of what you want teach style faster than any description:

Rewrite these feature names as short benefits. Example: "256GB storage" → "Room for 50,000 photos". Now do: "5000mAh battery", "IP68 rating", "65W charging".

8. Use delimiters for pasted material. Wrap long inputs in clear markers such as triple quotes or tags like <email> … </email>. It stops the model from confusing your instructions with the text you want it to work on.

Technique 9–12: Make the AI think and check itself

9. Ask for step-by-step reasoning on hard problems. For maths, planning or debugging, "Work through this step by step before giving the final answer" noticeably reduces careless mistakes.

10. Break big jobs into a chain. Instead of "write my whole business plan", go: outline → approve → section 1 → section 2. Each step gets the model's full attention, and you can correct course early.

11. Ask it to ask you questions first. "Before you start, ask me up to five questions you need answered to do this well." This one line fixes most vague-prompt problems because the model surfaces the gaps for you.

12. Make it critique its own draft. "Now review your answer as a strict editor. List three weaknesses, then rewrite it fixing them." The second version is almost always better.

A reusable prompt template

Copy this and fill in the brackets. It covers nine of the twelve techniques in one go:

Goal: [what you want produced]
Audience: [who will read/use it]
Context: [paste facts, data, previous text]
Format: [table / bullets / email / steps]
Length: [word or item limit]
Tone: [e.g. friendly, formal, plain English]
Avoid: [words, claims, topics to skip]
Example of what I like: [optional]
Before you begin, ask me any questions you need answered.

If you write marketing copy or blog drafts often, our free AI Content Writer builds a structured outline from a short brief, and the Content Optimizer checks the finished draft for readability and keyword use.

Common mistakes beginners make

  • Asking for facts without sources. Models can state wrong things confidently ("hallucinate"). For anything that matters — health, law, money, statistics — ask for sources and verify them yourself.
  • One giant prompt with ten tasks. Split it. Quality drops when a model juggles too many goals at once.
  • Pasting private data. Don't paste passwords, customer lists, ID numbers or confidential contracts into a public AI tool. Check your company's policy first.
  • Accepting the first answer. The real skill is the follow-up: "shorter", "more specific to Karachi", "give me three alternatives", "explain like I'm new to this".
  • Keeping a broken chat going. If a conversation has drifted, start a fresh one with a better first prompt. Long, messy threads confuse models.

Prompts for images are different

Image generators respond to visual vocabulary rather than instructions: subject, setting, lighting, camera angle, style and colour palette. "A cup of chai" becomes "close-up of a steaming cup of karak chai on a wooden table, morning window light, shallow depth of field, warm tones, photorealistic". Try it in the free AI Image Generator.

Key takeaways

  • Treat a prompt like a brief: goal, audience, context, format, length and what to avoid.
  • Examples teach style faster than descriptions.
  • For hard tasks, ask for step-by-step reasoning and break work into stages.
  • "Ask me questions first" and "critique your own answer" are the two highest-value lines you can add.
  • Always verify facts, and never paste sensitive data into a public tool.

FAQ

Do these prompt techniques work in every AI tool?

Yes, the principles are the same for ChatGPT, Claude, Gemini, Copilot and most open models. Exact wording matters less than giving clear goals, context and format. Some tools also let you save custom instructions so you don't repeat your preferences each time.

Is prompt engineering a real job skill?

It is increasingly part of many jobs rather than a job title on its own. Marketers, developers, analysts and support teams who can get reliable output from AI work faster. Learning to write clear prompts is also just learning to write clear briefs, which is useful everywhere.

How long should a good prompt be?

As long as it needs to be for someone with no background to do the job well. A simple question can be one line; a marketing brief or code task might be a few hundred words with pasted context. Longer is fine when every line adds information.

Why does the AI ignore some of my instructions?

Usually because the prompt has too many competing instructions, or the important one is buried. Put the critical rules near the start or end, keep them short, and remove anything that contradicts them.

Sources

ai prompt engineering chatgpt claude gemini productivity

Share this article

37 free PDF, SEO & AI tools

Run them in your browser — no sign-up, no watermarks.

Open free tools

Keep reading

How to use this page

  1. 1

    Start with the table of contents to jump straight to the section that matches your problem.

    Browse all AsaanWeb guides
  2. 2

    Use the linked free tools as you read — audit your site, research keywords or check what the project should cost.

    Open the free tools
  3. 3

    When you want the work handled for you, send the article and your website to AsaanWeb for a fixed-price scope.

    Request a free quote

AsaanWeb Guide — How to Use This Article

Related AsaanWeb pages

Continue with these pages for more information, tools, pricing, or help from the AsaanWeb team.