I’ve been thinking a lot about how to improve my prompting skills, especially when it comes to coding and engineering, as we build out more performant RAG and agentic workflows. This reflection has made me realize that even when doing basic prompting—drafting an email or summarizing a research paper—I’m guilty of ‘prompt and pray,’ as so aptly put by Hugo Bowne-Anderson in a recent podcast I hosted with him.

We all know prompting has evolved from a niche skill to almost a superpower—mastering advanced prompt engineering techniques can double your productivity or provide significant AI productivity hacks, especially in coding, RAG, and agentic workflows. Yet despite these potential gains, many data scientists and AI professionals still make fundamental mistakes when communicating with language models. Read on to discover which errors you’re committing and how our quick fixes can transform your prompt results to go beyond “prompt and pray”!

1. Not Leveraging Meta-Prompting to Create Better Prompts

Many users spend valuable time crafting prompts from scratch, testing them through trial and error, and manually refining them—unaware that AI models can actually help design better prompts. This meta-prompting approach (using AI to help create prompts for AI) has become an established best practice. By neglecting this technique, you’re essentially reinventing the wheel when the AI itself can suggest more effective ways to communicate with it.

Quick fix: Use AI to assist with prompt optimization, turning general instructions into refined, effective queries. This advanced prompt engineering technique saves time and enhances results. Start with something like

 “Help me craft a prompt that will generate a detailed market analysis report with visualizations, key trends, and actionable recommendations.” 

You can even be specific about the format, tone, and constraints you need. The AI will suggest a comprehensive prompt structure that you can then customize or use directly, saving time and improving results.

2. Settling for Weak, Underspecified Prompts

One of the most common mistakes is submitting vague, general prompts and expecting AI to read your mind. Weak prompts create a “priming problem” where the AI lacks sufficient context to provide a relevant response. Instead of communicating your specific needs, you’re forcing the AI to make assumptions about what you want. This not only leads to generic outputs but also creates inconsistent results that vary each time you ask a similar question.

Quick fix: Strengthen your prompts with specific details, constraints, and examples. Compare:

  • Weak: “How do I add numbers in Excel?”
  • Strong: “How do I add up a row of dollar amounts in Excel? I want to do this automatically for a whole sheet of rows with all the totals ending up on the right in a column called ‘Total’.”

3. Ignoring In-Context Learning Opportunities

In-context learning is one of the most powerful capabilities of modern AI models, yet many users rely solely on direct instructions. When you don’t provide examples of the patterns, formats, or reasoning styles you want the AI to follow, you’re missing an opportunity to guide the model’s output with precision. Few-shot learning (providing a few examples before your main request) allows the AI to recognize patterns and apply them to new situations.

Quick fix: For complicated or nuanced tasks, include 2-3 carefully selected examples of inputs and outputs. For instance, if you’re looking for a specific format of analysis, show the AI exactly what that looks like: “Here are two examples of how I want financial data analyzed:

 [Example 1] → [Result 1], 

[Example 2] → [Result 2]. 

Now analyze this new data in the same way: [Your data].”

4. Neglecting Self-Criticism and Evaluation Mechanisms

Many users treat AI outputs as gospel, accepting the first response without implementing verification processes. This can lead to inaccuracies, logical fallacies, or hallucinated facts – especially problematic in professional contexts. A proven method is to prompt the LLM to critique its own work before providing a final answer, an approach that significantly reduces errors.

Quick fix: Incorporate self-verification prompts that instruct the AI to evaluate its response before finalizing it. For example:

 “Before providing your final answer, verify that your reasoning is logically sound and check for any factual inconsistencies or assumptions.”

 For critical applications, consider implementing more advanced LLM-as-Judge frameworks where you create separate evaluation criteria to assess the AI’s initial response.

5. Missing Chain-of-Thought Opportunities with Non-Reasoning Models

In 2025, the AI landscape includes both general-purpose models such as GPT-4.5 and Claude 3.5 Sonnet and specialized reasoning models like DeepSeek R1, and o3. Each model type performs best when matched with appropriate prompting techniques. A common mistake is applying the wrong technique to the wrong model type. For standard models, chain-of-thought (CoT) prompting remains valuable for complex reasoning tasks, while specialized reasoning models actually perform better with direct instructions rather than explicit reasoning prompts.

Quick fix: Match your prompting strategy to your model type. With standard models, use explicit CoT prompts like 

“Let’s think step by step….” 

for complex reasoning tasks such as math problems or logical puzzles. With dedicated reasoning models (which have this capability built in), use more direct instructions and avoid unnecessary thinking prompts that might actually interfere with the model’s built-in reasoning processes.

6. Ignoring Domain-Specific Knowledge

A critical insight from 2025’s AI landscape is that domain expertise combined with prompt engineering skills is far more valuable than generic prompting skills alone. Many users create generalized prompts that fail to incorporate specialized terminology, frameworks, or constraints relevant to their field. This results in outputs that might be technically correct but lack the depth and relevance needed for specialized professional contexts.

Quick fix: Deliberately align your prompts with your specific industry or subject matter expertise. If you work in healthcare, include relevant medical terminology, regulatory requirements, and ethical considerations. For finance, incorporate compliance requirements, specific financial metrics, and industry standards. For example, instead of asking  “Write a report on this patient data,” try

 “Analyze this patient data according to the SOAP note format, highlighting any contraindications for ACE inhibitors based on the lab values, and prepare a summary suitable for an insurance pre-authorization.”

7. Relying on Trial and Error (Prompt and Pray) Instead of Systematic Approaches

Many users still approach prompting haphazardly—typing vague queries without structure, rather than using advanced prompt engineering techniques or systematic prompt optimization strategies and just hoping for the best. This “prompt and pray” approach wastes time, produces inconsistent results, and fails to build organizational knowledge about what works. Without version control, testing protocols, or reusable templates, you’re essentially reinventing the wheel with each new prompt.

Quick fix: Adopt programmatic prompt engineering approaches that apply software engineering principles to prompt design. Here are some examples:

  • Create a library of reusable prompt templates for common tasks
  • Implement version control to track changes in prompt effectiveness,
  • Set up automated testing to validate prompt performance before deployment
  • Systematically optimize prompts to reduce token costs while maintaining accuracy

Sounds complicated? Even a simple spreadsheet tracking which prompt structures work best for specific tasks can dramatically improve your efficiency.

8. Overlooking Modern Decomposition Techniques

Complex problems require advanced problem-solving approaches, yet many users still rely on basic prompt structures for complicated tasks. Techniques like Tree-of-Thought (ToT) decompose problems by exploring multiple reasoning paths simultaneously, which dramatically improves accuracy for tasks involving uncertainty or multiple possible approaches. By ignoring these decomposition techniques, you’re limiting the AI’s ability to handle complex reasoning tasks effectively.

Quick fix: For complex problems, explicitly use decomposition techniques like Tree-of-Thought, one of the most impactful advanced prompt engineering techniques to boost AI problem-solving productivity. For example, when analyzing market trends, instruct the AI:

 “Consider three different economic scenarios (optimistic, pessimistic, and moderate growth) and explore how each might affect this market. For each scenario, outline key factors, potential outcomes, and confidence levels before synthesizing your final recommendation.” 

This approach enables more thorough exploration of the problem space and results in more robust conclusions.

9. Neglecting Explicit Step-by-Step Instructions

Complex tasks often require a sequential approach, yet many users create single, monolithic prompts that try to accomplish everything at once. This leads to confusion, missed steps, and incomplete results. Breaking down a complex task into ordered steps helps the AI approach the problem systematically and ensures nothing is overlooked in the process.

Quick fix: Structure your prompts as numbered steps when tackling multi-stage tasks. For example, instead of “Analyze this data and create recommendations,” try 

Please complete the following steps: 

  •  Review the attached data and identify the top 3 trends
  • For each trend, analyze possible causes
  • Recommend action items for each trend;
  • Prioritize these recommendations by potential impact and implementation difficulty.” 

This sequential approach guides the AI through a logical workflow and typically produces more thorough and structured outputs.

10. Forgetting to Specify Output Format and Length

Many users focus exclusively on the content they want without specifying how that content should be structured or presented. This often results in outputs that contain good information but in a format that doesn’t serve their needs. Modern prompt engineering practices emphasize precise formatting instructions to ensure the AI delivers content that’s immediately usable without additional reformatting.

Quick fix: Always include specific formatting requirements in your prompts. Request exact formats like JSON, markdown tables, or specific heading structures. Additionally, specify desired length constraints such as word count, number of paragraphs, or character limits. For example: 

“Provide this information as a markdown table with 3 columns labeled ‘Feature’, ‘Benefit’, and ‘Implementation Difficulty’. Keep the entire response under 500 words with 7-10 features maximum.” 

These structural guidelines help ensure you get content that’s immediately usable for your specific purpose.

11. Neglecting Role Assignment and Persona Guidance

One of the most underutilized yet powerful prompt engineering techniques is explicitly directing the AI to adopt specific professional roles or personas. Users often make generic requests without specifying the expertise lens through which they want the AI to approach the task. This results in generalized responses rather than specialized insights that reflect domain-specific thinking patterns and terminology.

Quick fix: Begin your prompts by assigning a specific professional role or persona for the AI to adopt. For example: 

“Act as an experienced financial analyst with expertise in emerging markets” or “Respond as if you were a pediatric nutritionist creating a guide for new parents.” 

This technique works particularly well when you need responses that incorporate specialized knowledge, professional judgment, or field-specific analytical approaches.

12. Overlooking Temperature and Creativity Settings

Many users are aware they can control the balance between creativity and determinism in AI responses but either choose to neglect it or are too content with the default setting. This “set it and forget it” approach robs you of a powerful tool for tailoring AI outputs to your specific needs. To see how dramatically temperature can affect your prompt output, check out Luke Salamone’s interactive demo (https://blog.lukesalamone.com/posts/what-is-temperature/).

Quick fix: Explicitly state your preferences for creativity versus determinism in your prompts. For creative tasks, include directives like 

“Be imaginative and explore unusual connections” or

 “Generate a diverse range of creative possibilities without concern for conventional approaches.” 

For factual or technical tasks, use phrases like 

“Provide only verified information with high confidence” or

 “Focus on accuracy and established best practices rather than creative alternatives.”

 If your AI system allows for temperature settings, experiment with different values to find the sweet spot for different types of tasks.

13. Not Embracing Iterative Refinement

Another common mistake in prompt engineering is treating it as a one-shot process rather than an iterative conversation. Many users give up or start over when their initial prompt doesn’t produce perfect results, instead of building on what’s working and refining what isn’t. This “single prompt” mindset greatly limits the quality and specificity of what you can achieve with AI systems.

Quick fix: Approach your AI interactions as multi-turn conversations where each exchange refines and improves the output. Start with a reasonable initial request, then use follow-up prompts to enhance, modify, or redirect the AI’s work. For example, after receiving an initial draft, you might say: 

“This is a good start. Now please make these specific changes. 1) Expand the section on market trends with more data points. 2) Use more technical language appropriate for a specialized audience. 3) Add a concrete implementation timeline”

 This iterative approach often produces far better results than trying to perfect a single prompt, and it mirrors how humans naturally collaborate on complex tasks.

14. Neglecting to use a Prompt Framework

While many users focus solely on describing their task, using a prompt framework can bring discipline to your prompting. One popular framework is the COSTAR methodology (Context, Objective, Style, Tone, Audience, Response format), which provides a comprehensive framework for crafting effective prompts. 

  • Context – background info helps the chat understand the specific scenario 
  • Objective – Clearly defining the task directs the LLM to meet a specific goal
  • Style – Specifying the desired writing style
  • Tone – makes the response have the required sentiment -professional, authentic etc.
  • Audience – Identifying the recipients to tailor the response to be appropriate
  • Response – Requesting the output format (JSON etc)  for the required structure

Without addressing all these elements, you’re essentially forcing the AI to make assumptions about missing information. Each component of COSTAR serves a specific purpose in guiding the AI to produce precisely what you need.

Quick fix: Structure your prompts using the complete COSTAR framework. For example, instead of simply writing “Summarize this meeting,” try

 “Summarize these meeting notes to highlight action items in a professional manner with an urgent tone for the executive team in a bulleted list “

Note the implied COSTAR framework

 “Summarize these meeting notes [Context] to highlight action items [Objective] in a professional manner [Style] with an urgent tone [Tone] for the executive team [Audience] in a bulleted list [Response format].“

This more laborious BUT comprehensive approach removes ambiguity and ensures the AI understands exactly what you’re looking for.

ROI

Sure, moving beyond “prompt and pray” requires more time, though and discipline, but the return on investment (ROI) is substantial. As AI systems become more sophisticated, the quality of our prompts becomes increasingly critical. Taking just a moment to apply these techniques can dramatically improve outcomes. In my view effective prompt engineering isn’t optional—it’s a competitive advantage that separates the best AI practitioners from the rest.

Happy Prompting!

Want to Move Beyond “Prompt and Pray”? Learn From the Best at ODSC East 2025

If these 14 mistakes made you rethink your prompting habits, you’re not alone—and you’re not far from leveling up. At ODSC East 2025, we’re bringing together the world’s top AI experts, prompt engineers, and LLM builders to show you how to turn theory into practice with live, hands-on sessions.

Whether you’re working with RAG systems, building agentic workflows, or just trying to squeeze more ROI out of GPT-4.5, ODSC East is where the next generation of AI practitioners sharpen their edge.

✅ Join expert-led workshops on advanced prompt engineering
✅ Learn the latest tools and frameworks for LLMOps, RAG, and autonomous agents
✅ Network with 8,000+ data science professionals pushing the boundaries of AI

👉 Don’t just read about it—experience it. Register now for ODSC East 2025 and transform how you build with AI.