How to Write Better Prompts for AI Tools
Show Table of Content

AI tools are powerful, but their effectiveness depends largely on how you prompt them. Whether you're creating content, writing emails, designing a brochure, or generating social media posts — your results start with a well-constructed prompt.
-
Be Clear and Specific
- State exactly what you want the AI to do. Avoid vague instructions, as they often lead to generic or off-target results.
- Focus on a single goal or task per prompt. If you have multiple requests, break them into separate prompts.
-
Provide Context and Details
- Give the AI enough background to understand your needs. This can include the intended audience, desired tone, or any relevant information about the scenario.
- If you want the output in a specific format (e.g., list, table, email), say so explicitly.
-
Use Structured Frameworks
- For complex tasks, outline the structure you want. For example, provide headings, bullet points, or even use JSON for character creation or data tasks.
- Example: Instead of “Write an essay about automation,” use:
- Title: [Your Title]
- Thesis: [Main Argument]
- Key Points: [Point 1], [Point 2], [Point 3]
- Conclusion: [Summary]
- This helps the AI organize its response logically.
-
Mimic Natural, Conversational Language
- Write prompts as if you’re speaking to a person. Natural language is easier for AI to interpret and respond to accurately.
- If the initial output isn’t right, converse with the AI: ask for clarification, request changes, or specify what to improve.
-
Use “Act As If” or Persona Instructions
- Direct the AI to take on a specific role, such as “Act as if you are a marketing expert” or “You are a personal trainer.” This guides the AI to tailor its response to your context.
-
Give “Do” and “Don’t” Instructions
- Specify what you want included or excluded in the response. For example, “Do include tomatoes, don’t include chili peppers.”
-
Provide Examples
- If you have a preferred style or format, include a sample or describe it. This gives the AI a clear reference point.
-
Iterate and Refine
- Don’t expect perfection on the first try. Adjust your prompt based on the AI’s response—add details, clarify instructions, or change the structure as needed.
-
Keep It Concise
- While details are important, avoid overloading the prompt with unnecessary information. Concise, well-structured prompts are easier for AI to process.
-
Evaluate and Give Feedback
- After receiving a response, tell the AI what worked and what didn’t. Continuous feedback helps refine future outputs.
Why Prompts Matter 🔝
A well-structured prompt helps AI understand your goals, context, tone, and output format. It’s like briefing a smart assistant — the clearer the brief, the better the output.
Start small, grow with interaction. If you’re unsure how to write a complete AI prompt, begin by stating a broad area. Your AI tool can guide the process — ask it to question you for clarity. Once the tool collects enough context, it can generate an expanded, well-structured prompt covering all key sub-topics.
For example, I was asked to introduce the concept of AI to college students. I started with a basic prompt:
"Help me create an introduction to Artificial Intelligence for a college audience."
To build further, I asked the AI to prompt me with follow-up questions. It asked:
- What is the expected duration of the session?
- Should it include examples or a demo?
- Is the audience from a technical or non-technical background?
- Do you want to cover applications like ChatGPT or just core concepts?
Once I answered these, the AI generated a structured prompt like this:
"Create a 20-minute introductory talk on Artificial Intelligence for a non-technical college audience.
Include simple definitions, real-world applications like ChatGPT and facial recognition,
and one visual example or demo.
Emphasize practical relevance and ethical considerations."
This method not only improves the prompt but also helps clarify the scope and flow of your final content.
Understanding the TCREI Prompt Framework 🔝
TCREI is a five-step method to write better AI prompts by focusing on clarity, purpose, and refinement:
- Task: Clearly define what the AI needs to do.
- Context: Provide background information like audience, tone, or usage scenario.
- References: Suggest a format, structure, or example the AI should follow.
- Evaluate: Check if the output meets your expectations for clarity, tone, and relevance.
- Iterate: Refine the prompt based on the results and repeat if needed.
Using TCREI to Generate a Marketing Email
- Task: Act as a SaaS marketing copywriter. Write a promotional email for a new AI writing tool called "Promptly".
- Context: Audience is small business owners. Tone should be friendly, informative, and action-oriented. The goal is to increase free trial sign-ups.
- References: Use a typical email structure: subject line, opening hook, key benefits (bullets), CTA, and a sign-off.
- Evaluate: Make sure the message flows, benefits are clearly stated, and the call to action is prominent and persuasive.
- Iterate: Adjust tone if it feels too formal, or reword if key benefits aren’t specific enough. Rerun the prompt with tweaks if needed.
🧪 Try Your Prompts in Google Colab 🔝
Below is a screenshot from my own Colab session showing the agent generating code and results live. It demonstrates how TCREI prompts translate into actionable insights.

Writing a great prompt is just the first step — seeing it in action is where the learning really happens. Google Colab now includes an AI-powered Data Science Agent that lets you test your prompts directly on uploaded datasets. Whether you're generating code, debugging, or analyzing CSV files, Colab offers an interactive environment to refine and evaluate your AI prompts in real time.
What is Colab ? Data Science Agent to get Insights from Stack Overflow Developer Survey
Try asking in Colab: “What are the top 5 programming languages used by survey respondents?” — then run the plan and explore results.
🔧 Tip: If the AI-generated code errors, paste both code & traceback into Colab and ask: “Explain this error and fix it” — the AI can guide debugging.
Get Hands-On! 🔝
Use the prompts and TCREI framework above. Then head to Colab’s Data Science Agent and test one in real time.
Try It Now in Colab →🧠 Three Essentials for Writing Better AI Prompts
A strong AI prompt should clearly define these three key components:
- Role or Persona: Tell the AI who to act as — e.g., “a marketing expert” or “a data analyst.”
- Output Format: Specify the structure — such as a list, paragraph, email, or code block.
- Context and Goal: Provide background on what you need, the intended audience, or specific use case.
Meeting these requirements helps generate precise, relevant, and high-quality results.
🔍 Real-World Prompt Examples 🔝
1. Social Media Prompt for Finance App
Prompt:
Act as a digital marketing copywriter for a SaaS company.
I need a compelling social media post to promote our new accounting and finance management app, “FinEase,” targeting small business owners and freelancers.
- Objective: Create an engaging and persuasive post that highlights the app’s key benefits and encourages downloads.
- Context: The post will be published on LinkedIn and Instagram. Our audience is small business owners, freelancers, and self-employed professionals who want to simplify their finances.
- Format: Short, punchy copy (max 60 words), with a strong call-to-action. Suggest a relevant hashtag and an emoji for visual appeal.
- Do: Emphasize ease of use, time-saving features, and secure data management. Mention that the app is available for both iOS and Android.
- Don’t: Use technical jargon or make exaggerated claims. Avoid generic phrases like “best app ever.”
- Example:
“Tired of spreadsheets? Meet FinEase – the smarter way to manage your business finances. Track expenses, send invoices, and get real-time reports, all in one app. Download now and take control! #FinanceMadeEasy 📊” - Persona: Write as a friendly, knowledgeable advisor who understands small business challenges.
- Iterate: I may request tweaks for tone or emphasis after the first draft.
Sample Output: "💼 Say goodbye to spreadsheet stress. FinEase is the smarter way to manage your business finances. From tracking expenses to sending invoices — it’s all in one secure, easy-to-use app. Download now for iOS & Android and simplify your workday. #FinanceMadeEasy 📊"
2. Brochure Prompt for Window Cleaning Service
To get the best results from an AI tool when creating a print brochure for your window cleaning service, you should craft your prompt using the 8-point checklist. Here’s how you can apply each point, with a sample prompt at the end:
-
Define a Clear, Single Objective
- Clearly state you want a print-ready product brochure for a window cleaning service, aimed at apartment owners.
-
Provide Relevant Context
- Mention that the brochure will be distributed to apartment owners and should highlight the benefits of professional window cleaning for residential buildings.
-
Specify Desired Format or Structure
- Indicate you want a tri-fold brochure, with sections for headline, service overview, benefits, testimonials, pricing, and contact info.
-
Use Clear, Precise Language
- Ask for simple, persuasive, and jargon-free copy suitable for a general audience.
-
Include Examples if Possible
- If you have a preferred style or competitor’s brochure, reference it or describe the tone (e.g., friendly, trustworthy, professional).
-
Use “Do” and “Don’t” Instructions
- Do: Focus on benefits, include a strong call-to-action, use bullet points for easy reading.
- Don’t: Overload with technical details or lengthy paragraphs.
-
Assign a Persona or Role
- Tell the AI to act as an experienced marketing copywriter for home services.
-
Iterate and Refine
- Indicate you may ask for revisions based on the initial draft.
Sample Prompt Using the Checklist
Act as an experienced marketing copywriter for home services.
I need a print-ready tri-fold brochure for “Crystal Clear Window Cleaning,” a window cleaning service targeting apartment owners.
- Objective: Create persuasive, easy-to-read copy that encourages apartment owners to hire us for regular window cleaning.
- Context: The brochure will be mailed to apartment owners in urban residential buildings.
- Format: Tri-fold brochure with sections for:
- Headline
- Service overview
- Key benefits (use bullet points)
- Customer testimonials
- Pricing/packages
- Strong call-to-action
- Contact information
- Do:
- Focus on benefits (e.g., improved appearance, health, convenience)
- Use a friendly, trustworthy, and professional tone
- Make it skimmable with bullet points and subheadings
- Don’t:
- Use jargon or overly technical language
- Include long paragraphs or irrelevant details
Please write concise, engaging copy for each section. I may request revisions after reviewing your first draft.
This approach ensures your prompt is clear, detailed, and structured for the best possible AI-generated brochure content.
3. Outreach Email for Backlink Request
Prompt:
I am a webmaster for a technology blog called “TechTrendsNow.” I want to request a backlink from another reputable tech blog, “GadgetGuru,” which recently published a review of smart home devices.
Please draft a professional outreach email with the following requirements:
- Objective: Request a backlink to our article “Top 10 Smart Home Devices for 2025” from their review post.
- Context: Our article provides in-depth analysis and complements their review.
- Audience: The recipient is the editor of “GadgetGuru.”
- Tone: Polite, professional, and appreciative.
- Format: Email (with subject line, greeting, body, and closing).
- Do: Mention the value our article adds, reference their review, and offer to reciprocate with a mention or collaboration.
- Don’t: Be pushy, use generic language, or make demands.
- Example:
Subject: Collaboration Opportunity: Adding Value to Your Smart Home Review
Please follow these instructions and generate a concise, compelling outreach email.
🔎 Advanced Concept: NLP-Friendly Content Prompts 🔝
An NLP-friendly prompt is crafted to work effectively with AI language models. It helps ensure outputs that are well-structured, semantically rich, and aligned with user intent and SEO goals.
✨ Key Traits of NLP-Friendly Prompts
- Clarity & Specificity: Leave no room for misinterpretation.
- Contextual Guidance: Define tone, audience, and purpose.
- Semantic Keywords: Use related terms to enrich understanding.
- User Intent: Match what your audience actually needs.
- Conversational Style: Natural language improves results.
Before: "Write about accounting software."
After: "Write a blog post for small business owners about the benefits of using cloud-based accounting software in 2025. Highlight real-time collaboration, expense tracking, and data security. Use a friendly, informative tone."
🎯 Final Thoughts 🔝
Writing great prompts is a learnable skill. Using the TCREI Prompt Framework gives you a strong foundation, and applying NLP-friendly techniques takes your prompting to the next level. The key is to experiment, adjust, and always be clear about your goal. The better your prompt, the better your AI.
📘 Further Reading

👤 About the Author
Subhendu Mohapatra is the creator of Plus2net.com and a dedicated developer focused on AI-powered tools, data analysis, and content automation. He regularly experiments with platforms like Google Colab, Python data workflows, and prompt engineering to explore practical uses of AI in digital content and analytics.
Driven by a passion for knowledge sharing, he helps others build technical skills and leverage AI more effectively in their personal and professional workflows—often contributing on a voluntary basis through tutorials, code samples, and real-world guidance.

