The Nitesh Pant Guide to Prompting: From Casual User to Power Pro

Jun 3, 2025

Ahh, the LLM. An enigma where you ask and it shall provide. And provide it shall! From recipes to code to art, videos, pictures, and text, anything your brain can dream of. But what if you can’t, or don’t know how to ask? Then shall it provide? The consultant in me says, it depends. The realist in me says no!

Asking, or rather prompting, an LLM is a must-have skill. As AI penetrates our social fabric, augmenting (and sometimes replacing) human workers, prompting an LLM will become a basic, core skill for a white-collar profession. As basic as sending an email. Don’t believe me? Email me back in 5 years to say I was right! Try not to use AI then.

I’ve spent countless hours in dialogues with these models, using them not just as tools, but as collaborators to solve complex problems. I’ve learned what works and what doesn’t, the nuances of different models (gemini-pro-2.5-preview-05-06, I’m looking at you buddy, with those verbose responses), and the limits of a model’s capabilities (let’s not get started on the please fix loops we’ve run in Cursor). I’ve built systems and automations to help me work more efficiently. Each interaction taught me something new about the art of clear communication, about the delicate dance between human intention and machine interpretation.

But I’ve also seen many people not use it properly. We're living through one of the most profound communication revolutions in human history. Those who learn to speak fluently with AI are operating in a fundamentally different reality, one where ideas materialize faster, where creativity compounds exponentially, and where the impossible becomes routine. Those who haven't made this leap are still treating these sophisticated reasoning engines like enhanced search boxes.

This guide chronicles what I've learned in those trenches of daily practice. Hopefully, your prompts will be better after this.


The TL;DR: Your 5-Minute Prompting Starter Kit

For those who want to get started right now, here is the core philosophy distilled into four actionable steps:

  1. Use the TCPO Framework: Every great prompt has four elements. Before you hit send, ask yourself: Have I defined the Task, provided Context, assigned a Persona, and specified the Output format?

  2. Structure with XML Tags: Don't just write a paragraph. Wrap each part of your prompt in tags like <context> and <task>. This eliminates ambiguity and helps the AI understand your intent precisely.

  3. Collaborate, Don't Command: End your prompt by asking, "Before you begin, do you have any clarifying questions for me?" This simple question turns a one-way command into a two-way partnership.

  4. Experiment Relentlessly: Your first prompt is rarely your best. See it as a starting point. Refine, iterate, and learn from each response.

Scroll down for the XML prompt editor to write prompts like a pro.


The Fundamentals

Before we explore the techniques, let’s understand the fundamental structure of human-AI communication. Every interaction involves three distinct layers.

There's the System Prompt—the LLM's foundational worldview, usually invisible to you but profoundly shaping every response. Then there's your User Prompt—the specific intention you're expressing. And finally, the Assistant Response—what emerges from the intersection of these two forces.

If your main form of interacting with an LLM is ChatGPT, then you’re typing in User Prompt and the LLM is spitting out Assistant Response. OpenAI has specified the System Prompt for ChatGPT's LLMs (gpt-4, gpt-o3-mini, gpt-4o, etc.). This guide is about writing great User Prompts. The advice here can be extended to System Prompts as well.

In this essay, we will refine and create authentic marketing content for a productivity app called 'ZenFlow'.

Our goal isn’t to just ask the LLM better questions. It's to craft prompts so precise and intentional that they temporarily restructure how the AI perceives and approaches your specific challenge.

Remember to breathe in, hold, and breathe out to be in the ZenFlow state.

The Evolution of Clarity: A Progressive Journey

Part 1: Where We All Begin (The Fundamentals)

Most conversations start like this:

The Starting Point:

Write a marketing email.

I've been here. We all have. It's like walking into a master artist's studio and saying "create something beautiful." The AI, faced with infinite possibilities and zero constraints, retreats to the safest, most generic patterns it knows.

Your Turn: Open your favorite AI tool and try this exact prompt. Notice how generic and lifeless the output feels. This is our baseline—and exactly why most people get frustrated with AI.

Finding Direction Through Specificity

The first transformation happens when we define our destination:

Finding Direction:

Write a marketing email for our new productivity app, 'ZenFlow'.

This is progress. We've given the AI a target. But we haven't shared the context that transforms probabilistic output into something that feels deterministically human.

The Power of Personal Context: Your Knowledge Base

LLMs are stateless. They cannot remember anything about you. You need to tell them what you want them to know. That is providing Context. Context bridges the gap between the LLM’s vast store of data it was trained on (and nowadays, internet searches too) and your specific input. Simply put, Context provides theLLM with the required Knowledge Base to use relevant information stored within it.

Over this past year, I've developed my personal Knowledge Base. It's beautifully simple—a living document where I capture (CMD+C, CMD+V) the essence of my work, my voice, the projects that drive me.

For ZenFlow, I could have sections like:

  • Our Mission: "ZenFlow exists for the overwhelmed—busy professionals and students drowning in digital chaos who desperately need their focus back."
  • Our Voice: "We speak like a trusted friend who happens to understand productivity deeply. Encouraging but never condescending. Clear but never clinical."
  • Our Differentiation: "While competitors focus on features, we focus on transformation—that profound moment when everything clicks and you remember what deep work feels like."

Now, when I sit down to craft a prompt, I can draw from this reservoir of specific, lived context. Simply put, I can copy and paste the relevant information and let LLM do its thing (more on this later). It's like having a conversation with someone who already understands your world.

Your Practice: Pause here and create your own Knowledge Base entry. Choose a current project and write three sentences: What is its mission? What voice does it speak in? What makes it different? Save this—you'll use it repeatedly.

Watch how this transforms our conversation:

Adding Authenticity:

Write a marketing email for our new productivity app, 'ZenFlow'.

Context: ZenFlow is built for people drowning in digital overwhelm—busy professionals and students who've lost their ability to focus deeply. Our features include AI-powered task sorting and a 'focus mode' that blocks distractions, but what we're really offering is the return of mental clarity. Our voice is encouraging and understanding, like a friend who's discovered a path out of the chaos.

Now the AI can speak to genuine human struggles with authentic empathy.

Becoming Someone Specific - Giving the LLM a Persona

A persona is a specific role, identity, or expert character that you assign to the LLM. It's about telling the AI not just what to do, but who to be while doing it.

Assigning a persona does two main things for an LLM. First, it guides the tone, style, and perspective. Second, it helps the AI access more relevant knowledge. While Context is about the WHAT and WHY of the task, Persona is about WHO the AI is.

So, don't just ask the LLM to write—ask it to become someone specific:

Adopting Identity:

You are a senior marketing copywriter who specializes in authentic, benefit-driven communication for overwhelmed professionals. Your writing cuts through noise with empathy and precision.

Write a marketing email for our new productivity app, 'ZenFlow'.

Context: ZenFlow is built for people drowning in digital overwhelm—busy professionals and students who've lost their ability to focus deeply. Our features include AI-powered task sorting and a 'focus mode' that blocks distractions, but what we're really offering is the return of mental clarity. Our voice is encouraging and understanding, like a friend who's discovered a path out of the chaos.

Asking the LLM to adopt a persona accesses different knowledge networks within the model's training. A copywriter approaches problems differently than a generic assistant.

Defining Success

Never leave the final outcome to chance. Define how you want the output to look. Be explicit:

The Complete Framework:

You are a senior marketing copywriter who specializes in authentic, benefit-driven communication for overwhelmed professionals. Your writing cuts through noise with empathy and precision.

Write a marketing email for our new productivity app, 'ZenFlow'.

Context: ZenFlow is built for people drowning in digital overwhelm—busy professionals and students who've lost their ability to focus deeply. Our features include AI-powered task sorting and a 'focus mode' that blocks distractions, but what we're really offering is the return of mental clarity. Our voice is encouraging and understanding, like a friend who's discovered a path out of the chaos.

Output: Create an email with a compelling subject line (under 50 characters) and a focused body (around 150 words) that ends with a clear, action-oriented CTA button text.

This four-part TCPO foundation—Task, Context, Persona, and Output—has become my reliable framework for prompts that consistently deliver meaningful results.

Part 2: Advanced Techniques (Where Mastery Lives)

Once you've internalized the fundamentals, the real artistry begins. These are the techniques I've refined through months of professional AI collaboration.

Learning Through Examples

AI learns your style better through demonstration than description. Show, don't just tell:

Teaching Through Demonstration:

... (Previous prompt foundation) ...

Style Reference:
Subject: Your Second Brain Awaits
Body: Tired of juggling endless tasks? Meet Cortex, the app that organizes your chaos so you can focus on what truly matters. Get started for free.
CTA: Reclaim Your Focus

The AI now understands not just what you want, but how you want it to feel. In practice, you should aim to have at least 2 to 3 examples in your prompt.

Professional Structure: XML Tags

As my prompts grew more sophisticated, I needed a way to maintain clarity. Let me introduce you to XML-style tags, a technique prompt engineers use to transform complex requests into structured conversations.

Think of tags as speaking the LLM's native language. These systems were trained on vast amounts of code and markup, so they naturally understand structured information.

Pro Insight: The Generosity Principle

Something that felt counterintuitive at first was discovering how much context new LLMs can actually handle. You can be remarkably generous—almost lavish—with the information you provide. Paste in your entire knowledge base, meeting transcripts, background documents, and more. As long as you structure everything clearly with XML tags, the AI navigates this information with surprising elegance, extracting exactly what's relevant for your specific task.

The Professional Approach:

<persona>
You are a senior marketing copywriter who understands the psychology of overwhelmed professionals. Your writing is empathetic, clear, and drives action.
</persona>

<task>
Create a compelling marketing email that will drive ZenFlow sign-ups, focusing on emotional transformation rather than just features.
</task>

<context>
Product: ZenFlow - a productivity app for the overwhelmed
Audience: Busy professionals and students drowning in digital chaos
Core Promise: Return of mental clarity and deep focus
Key Features: AI-powered task sorting, distraction-blocking focus mode
Brand Voice: Understanding friend who's found a way out of the chaos
</context>

<example>
Subject: Your Second Brain Awaits
Body: Tired of juggling tasks? Meet Cortex, the app that organizes your chaos so you can focus on what matters. Get started for free.
CTA: Reclaim Your Focus
</example>

<output_format>
Deliver your response in three tagged sections:
1. <subject_line>
2. <email_body>
3. <cta_text>
</output_format>

This structure eliminates ambiguity and produces consistent results. You can also introduce variables using tags and curly braces: {variable_name}. You can get similar results with Markdown, but XML is more explicit and easier to parse for the LLM. As an avid Claude user, I prefer nested XML tags over Markdown. You should experiment with both, and find what works for the model you use.

Your Practice: Take the ZenFlow prompt above and run it exactly as written. Compare the output to your earlier attempts. This is the difference structure makes.

Interactive XML Prompt Builder

Ready to practice what we've learned? Below is an interactive XML prompt builder that lets you experiment with the structured approach we've been discussing. You can edit each section, add new ones, and copy the complete prompt to use with your favorite AI tool.

Write. Copy. AI.

Manage Tags

Generated XML Prompt

<persona>
You are a senior marketing copywriter who specializes in authentic, benefit-driven communication for overwhelmed professionals.
</persona>

<task>
Create a compelling marketing email that will drive ZenFlow sign-ups.
</task>

<context>
Product: ZenFlow - a productivity app for the overwhelmed
Audience: Busy professionals and students
</context>

<output>
Deliver your response with a subject line, email body, and CTA text.
</output>

Creating True Partnership

One technique that fundamentally changed my relationship with AI was learning to invite collaboration rather than just requesting output. Try adding this to your prompts:

Before you begin, do you have any clarifying questions that would help you create something truly exceptional?

This transforms the interaction from a transaction into a creative partnership. The AI might respond with insights like:

  • "Should I emphasize time-saving or stress reduction as the primary benefit?"
  • "Is there a specific onboarding flow or free trial I should highlight?"

Breaking Down Complexity

For complex projects, I've learned that asking the AI to do everything at once is a recipe for failure. Instead of a single, monolithic prompt, I use two powerful techniques to manage complexity: breaking the problem down and showing the AI the path.

1. Break the Problem Apart (Prompt Chaining)

For any multi-stage task, I break the large challenge into a series of smaller, focused conversations. This is prompt chaining. Each prompt has one job, which makes the entire process more reliable and easier to debug.

Example of Prompt Chaining:

1.  **First conversation:** "Analyze this customer feedback and identify the three most common pain points."
2.  **Second conversation:** "Based on these pain points [paste from first conversation], create three messaging angles that address each one specifically."

2. Show the AI the Path (Chain-of-Thought)

For complex tasks that must happen within a single prompt, you need to guide the AI's reasoning process. To do this, I simply add the magic phrase: "Think through this step-by-step" to my prompt.

This triggers a Chain-of-Thought process where the AI shows its work before giving the final answer, which dramatically reduces logical errors.

Example of Chain-of-Thought:

Prompt:

I need to schedule 3 tasks. 
Task A takes 2 hours. Task B takes half as long as A. Task C takes 3 times as long as B. What is the total time required?

Think through this step-by-step before giving the final answer.

Expected AI Reasoning:

<thinking>
1. Task A takes 2 hours.
2. Task B takes half as long as A, so 2 hours / 2 = 1 hour.
3. Task C takes 3 times as long as B, so 1 hour * 3 = 3 hours.
4. Total time is A + B + C, which is 2 + 1 + 3 = 6 hours.
</thinking>

**Final Answer:** The total time required is 6 hours.

This technique is simple to implement but has a profound impact on the accuracy of any task that involves logic, calculation, or planning.

Common Pitfalls & How to Avoid Them

As you progress, you'll encounter these common traps (I certainly did):

The Vague Request: Starting with "write about" instead of a clear action verb.

Fix: Always begin with specific commands like Summarize, Analyze, Create, or Rewrite.

The Context-Free Command: Asking the AI to perform tasks without necessary background.

Fix: Always provide context using your Knowledge Base.

The Negative Trap: Saying "don't use jargon" instead of "use simple language."

Fix: Frame instructions positively. Tell the AI what you want.

Expecting Mind-Reading: Assuming the AI knows what a "good" response looks like to you.

Fix: Explicitly define output format, length, and structure.

Measuring Success: How Do You Know If It's Working?

A good prompt doesn't just feel right; it produces measurable results. Here's my evaluation framework:

Signals of Excellence:

  • Precision: Directly answers the core task without meandering
  • Adherence: Follows every constraint you set (format, length, tone)
  • Contextual Awareness: Correctly uses the specific details you provided
  • Authentic Voice: The tone feels genuine to the persona you assigned

Warning Signs:

  • Generic Language: Could apply to anyone or anything
  • Hallucinations: Invents facts you didn't provide
  • Instruction Amnesia: Ignores your specific requirements
  • Structural Failure: Doesn't follow your output format

The Journey of Iteration

Here's what a year of daily AI conversations has taught me: your first prompt is never your best prompt. Prompting is a craft that deepens through experimentation, reflection, and refinement.

When an AI response misses the mark, ask yourself questions like: Did it misunderstand the task? Was my context too abstract? Did the persona not align with my needs? Was the output format unclear?

Reflections on Transformation

We're living through a moment of profound transformation. Those who learn to partner effectively with these systems won't just be more productive, they'll be more creative, more insightful, and more capable of bringing ideas into reality.

In my journey from casual user to daily practitioner, I've discovered that mastering AI communication has made me a better communicator in every aspect of my life. The intentionality required, the structured thinking, the empathy for the recipient's perspective—these skills translate far beyond our digital conversations.

My hope is that this guide helps bridge the gap between those operating in the old paradigm and those thriving in the new one, one thoughtful conversation at a time.


Appendix: A Deeper Look into the Craft

For those ready to explore the deeper technical aspects, this section examines the advanced concepts.

My Internal Framework: The TCPO Method

Through extensive experimentation, I've developed a mental checklist that has become instinctive. I call it TCPO:

  • T - Task: What is the one specific, well-defined action I need? (Summarize, Generate, Analyze, Create)
  • C - Context: What essential background information will ground this task in my reality?
  • P - Persona: What specific role or perspective will best serve this task? Who should the AI become?
  • O - Output: What does the finished product look like? What structure, format, and constraints define success?

Before sending any important prompt, I run through this framework. It's become my compass for clear communication.

Advanced Principles for Professional Work

1. Positive Direction Over Restriction: I've discovered that AI, like people, responds better to positive guidance than negative constraints. Instead of "Don't use jargon," I now say, "Explain this using simple, everyday language." This shift from avoidance to aspiration provides clearer direction and consistently yields better results.

2. Understanding Attention Patterns: Modern AI can process enormous amounts of text, but it's not uniformly attentive. It tends to focus most sharply on the beginning and, especially, the end of long prompts. When working with large documents, I structure conversations accordingly—document at the top, specific instructions at the bottom.

3. Sequential Focused Conversations: For complex projects, I've abandoned the idea of one perfect conversation. Instead, I orchestrate a series of focused dialogues. This is prompt chaining. Each step is clean and manageable, making the entire process more robust and easier to refine.

4. Recursive Improvement: Perhaps the most sophisticated technique I've adopted is using AI to improve my own communication with it. This is metaprompting. I'll take a draft of a complex prompt and ask another AI system: "You are an expert in human-AI communication. Review this prompt and suggest how I could make it clearer, more empathetic, and less ambiguous." This recursive loop—using the tool to sharpen the skills needed to use the tool—is where real mastery begins.

Nitesh Pant