Advanced AI Prompting Techniques

Advanced techniques for clearer, more reliable AI outputs.

Apply roles, examples, constraints, iteration, evaluation, and multi-step prompting to more complex tasks. For retrieval, RAG, context windows, and decoding controls, continue with the LLM context engineering and retrieval guide.

Section 1

6 core advanced methods

Each method solves a specific problem that basic prompting can't. If you are newer to the basics, start with AI prompts for beginners first. Tap any card to see a full explanation and a copyable example prompt.

Persona prompting uses a role such as "Act as a [role]" to steer perspective, vocabulary, priorities, and structure. It can make an answer better suited to a particular review lens, but it does not give the model new credentials, guaranteed domain knowledge, or expert-level accuracy.

When to use it

When you need a particular perspective, terminology, review lens, or tone β€” while independently checking domain-specific claims, especially in legal, medical, financial, or safety-sensitive work.

Example prompt
Act as a senior UX designer with 10 years of experience in SaaS products. Review the following onboarding flow and identify the top 3 friction points. For each one, suggest a specific improvement with a brief rationale. [Paste your onboarding steps here]

Few-shot prompting gives the AI one or more examples before asking for the real output. The model can imitate patterns such as tone, format, length, and structure, but it may also copy unwanted details or vary from the examples. Use representative examples and test several inputs when consistency matters.

When to use it

When you need a specific format that's hard to describe in words β€” email templates, social captions, product descriptions, headlines, or any repeatable content format.

Example prompt
Here are two examples of the LinkedIn post style I want: Example 1: "Most people write emails that get ignored. Here's the one change that fixed mine: I stopped opening with 'I hope this finds you well.' I started with the result. Try it." Example 2: "The best marketing advice I ever got: Talk about the customer's problem, not your product's features. Nobody buys features. They buy outcomes." Now write 3 LinkedIn posts in the same style about the topic of AI productivity tools.

For complex tasks, ask the AI to decompose the problem, compare explicit criteria, check assumptions, and provide a concise rationale or verification checklist. This can improve inspectability, but some dedicated reasoning models perform better with direct goals and success criteria than with the phrase "think step by step"; follow the provider’s model-specific guidance.

When to use it

Analysis, strategy, problem-solving, risk assessment, comparisons β€” any task where the quality of reasoning matters as much as the final answer.

Example prompt
I'm deciding whether to launch a paid newsletter or a free one with sponsorships. Compare both options against: 1. Revenue predictability 2. Audience growth speed 3. Long-term brand positioning 4. Operational complexity. State key assumptions, identify missing information, and give a clear recommendation with a concise rationale.

Iterative refinement treats the AI conversation as a drafting process. You get a first output, identify what needs improving, and instruct the AI to fix those specific things. This is often more efficient than rebuilding a useful draft from scratch. If the first draft contains a wrong premise or unreliable evidence, correct the source or restart rather than polishing the error.

When to use it

Complex writing, content creation, strategy documents, code β€” anything where the first draft is a starting point, not the final result.

Refinement command examples
"Make the opening paragraph more direct. Cut the first two sentences." "Rewrite the third section with a more confident tone." "Add a concrete example after the second point." "Shorten by 30% without losing the key argument." "Change the CTA at the end to focus on urgency, not features."

Constraint prompting adds explicit limits such as word counts, formatting rules, exclusions, or required inclusions. Relevant constraints can improve focus and make outputs easier to evaluate; overly tight, unnecessary, or conflicting constraints can reduce quality.

When to use it

Any time you need concise, punchy output β€” headlines, ad copy, email subjects, pitches, summaries, or any content with a hard length requirement.

Example prompt
Write a homepage headline for a project management tool targeting remote teams. Constraints: - Under 8 words - Must include a benefit, not a feature - No jargon (no "synergy", "streamline", "empower") - Must create curiosity or tension - Give 5 options

Multi-step prompting breaks a large task into sequential prompts, where each step can build on earlier output. It can reduce overload and make intermediate results easier to inspect, but errors can also propagate, so verify important outputs between steps.

When to use it

Content creation pipelines, research projects, product launches, course creation β€” any task with 3 or more distinct phases.

Example sequence
Step 1: "Research the top 5 pain points of freelance designers when managing client projects." Step 2: "Based on those pain points, create an outline for a blog post targeting freelance designers." Step 3: "Write the full post using the outline. 800 words. Friendly tone." Step 4: "Rewrite the headline 5 ways to improve click-through rate." Step 5: "Write 3 social media captions to promote this article on LinkedIn."
πŸ’‘
Pro tip: Techniques can be combined when each one serves a clear purpose. More instructions are not automatically better: start with the minimum needed, then add a role, examples, constraints, decomposition, or tools only when tests show they help.
Section 2

Technique comparison

Which method to reach for, when β€” and what level of experience it requires.

Scroll to see full table on mobile
Technique Best for Level Key phrase to use
Persona prompting Perspective, terminology, tone shaping Beginner "Act as a [role]…"
Few-shot prompting Enforcing a specific format or style Intermediate "Here are two examples… now do the same for…"
Step-by-step reasoning Analysis, decisions, complex reasoning Intermediate "Compare the criteria, state assumptions, and explain the recommendation…"
Iterative refinement Long-form content, writing quality Intermediate "Rewrite the [section] to be more [quality]…"
Constraint prompting Concise copy, headlines, tight formats Beginner "Under [X] words. No [word]. Must include [Y]."
Multi-step prompting Content pipelines, large projects Advanced "Step 1:… Step 2:… Step 3:…"
Put the methods into practice

Follow a complete workflow, upgrade a basic request, and then try the reusable advanced prompt yourself.

Section 3

Full 5-step workflow example

A complete content launch workflow using multi-step prompting. Each step builds on the last β€” run them in sequence in a single conversation or across separate sessions.

1
Research the topic
Use the AI to identify key pain points, questions, and angles before writing a single word.
Prompt
Act as a market researcher. Identify the top 5 pain points of small business owners when it comes to managing their online reputation. Include what questions they search for and what outcomes they want.
2
Build the outline
Convert the research into a structured content plan with clear sections and a logical flow.
Prompt
Based on those pain points, create a detailed outline for a 1200-word blog post targeting small business owners. Include H2 headings, a hook, and a CTA at the end. Focus on practical, actionable advice.
3
Draft the content
Write the full piece using the outline. This is where a role and relevant constraints can be combined when they improve the tested output.
Prompt
Act as a senior content strategist. Write the full blog post using the outline above. Tone: professional but conversational. Avoid jargon. Include one real-world example for each main section.
4
Optimise for SEO
Refine the draft with search intent in mind β€” without sacrificing readability.
Prompt
Review this draft for SEO. Suggest improvements to the title tag, meta description, H2 headings, and internal link opportunities. Do not change the tone or structure β€” only optimise for search.
5
Repurpose for social media
Extract maximum value from the content by adapting it for different platforms and formats.
Prompt
Using the completed blog post, create: 3 LinkedIn posts (professional tone), 5 tweet-length takes (punchy, direct), and 1 email newsletter intro (150 words, warm and personal).
⚑
Potential time saving: This workflow can reduce drafting and repurposing time, but the actual saving depends on the task, source quality, model, and review effort. Keep related steps in one supported context when useful, and verify each important handoff.
Section 4

Upgrade any basic prompt

See how layering advanced techniques transforms a simple request into a high-quality output instruction. Each upgrade adds one technique.

❌ Basic
Write a launch plan for my SaaS product.
βœ“ + Persona
Act as a senior growth strategist. Write a launch plan for my SaaS product.
βœ“ Previous version
Act as a senior growth strategist. Write a launch plan for my SaaS product.
βœ“ + Step-by-step reasoning
Act as a senior growth strategist. Identify the critical phases, assumptions, dependencies, and risks of a SaaS launch. Then produce a 30-day launch plan with weekly milestones and a concise rationale for the sequencing.
βœ“ Previous version
...Then produce a 30-day launch plan with weekly milestones.
βœ“ + Constraints
...Then produce a 30-day launch plan with weekly milestones. Format as a table with columns: Week, Focus area, Key actions, Success metric. No generic advice β€” every action must be specific and executable.
The final prompt is designed to produce a more structured, testable launch plan. The result still needs factual checks, domain judgement, and revision against real business constraints.
Section 5 β€” Try it now

A ready-to-use advanced prompt

This prompt combines a role, explicit analysis criteria, constraints, and a staged output. Test it with your chosen model and revise any instruction that does not improve the result.

Act as a senior growth strategist with experience launching B2B SaaS products.

Before writing, identify and check:
β€” What are the critical phases of a 30-day SaaS launch?
β€” What metrics matter most in each phase?
β€” What are the most common mistakes teams make at launch?

Then produce a 30-day launch plan with weekly milestones.

Format: a table with columns β€” Week | Focus area | Key actions (max 3) | Success metric
Constraints: No generic advice. Every action must be specific, executable, and measurable.

Techniques used: role prompting + explicit analysis criteria + staged output + constraints. Verify facts and test the prompt with the selected model.

FAQ

What is few-shot prompting?
Few-shot prompting means giving the AI one or more examples of the output you want before asking it to produce the real thing. The AI learns the pattern from your examples β€” tone, format, length, structure β€” and applies it to the actual task. One good example is usually enough.
Why use iteration instead of one long prompt?
Iteration lets you correct as you go rather than trying to anticipate every requirement upfront. A first draft shows you what's missing or wrong β€” follow-up instructions then fix exactly those things. This produces better results faster than spending 20 minutes writing one "perfect" prompt.
What is step-by-step reasoning?
Step-by-step reasoning asks the AI to work through a task step by step before giving the final answer. Adding "think through this step by step" to a complex prompt can improve clarity and accuracy β€” especially for analysis, decisions, and multi-factor problems.
When should I use multi-step workflows?
Use multi-step workflows for complex tasks that would overwhelm a single prompt β€” content pipelines, research projects, product launches, or anything requiring more than one type of output. Break the task at natural phase boundaries and run each step in the same conversation so context carries through.
What is persona prompting?
Persona prompting assigns the AI a specific role or identity using "Act as a…" at the start. This shapes the AI's knowledge framing, vocabulary, and approach for the entire conversation. It's one of the simplest and highest-impact techniques β€” even beginners see immediate improvement.
Continue learning

Related Prompting Guides

Advanced methods are easier to apply when you can see them in real prompts. Use AI Prompt Examples to compare patterns, templates, and practical use cases.

Explore real prompt examples next

See how the techniques from this guide apply across 10+ real use cases β€” writing, emails, research, marketing, code and more.

Share this guide

Add PromptingEasy to your screen

Use your browser menu and choose the option to install this site or add it to your home screen.