<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Udit Jain</title>
    <description>The latest articles on DEV Community by Udit Jain (@uditjain_100).</description>
    <link>https://dev.to/uditjain_100</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F311075%2Ff3bf80d0-2a7b-4aea-b40b-e9db45da0e47.png</url>
      <title>DEV Community: Udit Jain</title>
      <link>https://dev.to/uditjain_100</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/uditjain_100"/>
    <language>en</language>
    <item>
      <title>You're Not Bad at AI. You're Just Prompting It Wrong.</title>
      <dc:creator>Udit Jain</dc:creator>
      <pubDate>Thu, 11 Jun 2026 06:13:05 +0000</pubDate>
      <link>https://dev.to/uditjain_100/youre-not-bad-at-ai-youre-just-prompting-it-wrong-3g40</link>
      <guid>https://dev.to/uditjain_100/youre-not-bad-at-ai-youre-just-prompting-it-wrong-3g40</guid>
      <description>&lt;p&gt;A friend of mine spent 20 minutes complaining that ChatGPT was "useless" last week.&lt;/p&gt;

&lt;p&gt;I asked to see his prompt.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Give me some marketing ideas."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Five words. He expected magic.&lt;/p&gt;

&lt;p&gt;The model wasn't broken. The prompt was. And honestly, this is the case for most developers I see reaching for AI and getting frustrated — not because the models are bad, but because the input was garbage.&lt;/p&gt;

&lt;p&gt;Here are 10 techniques that actually change what you get back. Been using these for a while and the difference is real.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Core Problem First
&lt;/h2&gt;

&lt;p&gt;Before the list — you need to understand &lt;em&gt;why&lt;/em&gt; bad prompts produce bad output.&lt;/p&gt;

&lt;p&gt;Think about this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I describe a world to you. Dry and sandy. Warring clans fighting over a rare resource buried in the dunes. People wearing moisture-absorbing suits to survive. Now I ask — what are the giant creatures in this world?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You'd say sandworms. Dune.&lt;/p&gt;

&lt;p&gt;But if I'd just said &lt;em&gt;"there's a world, what are the creatures?"&lt;/em&gt; — you'd have said trolls. Cyclops. Something completely generic.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That's exactly what's happening with AI.&lt;/strong&gt; The puzzle pieces you give it shape what comes back. Give it nothing, get the most statistically average response possible. That's why everyone's AI output is starting to look identical.&lt;/p&gt;

&lt;p&gt;It's not a model problem. It's an input problem.&lt;/p&gt;




&lt;h2&gt;
  
  
  The 10 Techniques
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. World Building — Give It Context Before the Question
&lt;/h3&gt;

&lt;p&gt;Before you send any prompt, ask yourself: &lt;em&gt;how much context have I actually given?&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Who are you in this situation?&lt;/li&gt;
&lt;li&gt;What's the real goal?&lt;/li&gt;
&lt;li&gt;Who's the audience?&lt;/li&gt;
&lt;li&gt;What have you already tried?&lt;/li&gt;
&lt;li&gt;What does a good answer actually look like?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Compare these two:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Write me a README for my project.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;I'm a solo dev building a CLI tool in Go that converts markdown to PDF.
Target audience is developers who want quick doc generation without a
browser dependency. Write a README with quick start, installation, and
usage sections. Keep it under 200 lines. No badges.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Same task. Completely different outputs.&lt;/p&gt;

&lt;p&gt;System prompts at real AI products work the same way. Harvey (the legal AI) works not because of smarter code — someone built a world into its prompt. Long lists of examples. Verbal if-else statements. That's the whole trick.&lt;/p&gt;




&lt;h3&gt;
  
  
  2. Stop Asking for Summaries. Ask for What Most People Get Wrong.
&lt;/h3&gt;

&lt;p&gt;Default prompt: &lt;code&gt;"Summarize this book"&lt;/code&gt; gets you obvious facts you already half-knew.&lt;/p&gt;

&lt;p&gt;Better structure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Summarize the book briefly
2. Give me red pill insights — things most people miss or have backwards
3. Give me actionable evidence from those insights
4. Give me things the book believes that most of the world doesn't.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Most summaries converge on consensus. The useful stuff lives in the gap between what most people believe and what the evidence actually says. Ask for that gap directly.&lt;/p&gt;




&lt;h3&gt;
  
  
  3. Meta-Prompting — Let AI Write Better Prompts for Itself
&lt;/h3&gt;

&lt;p&gt;You don't have to be good at prompting. Just ask the model to help you.&lt;/p&gt;

&lt;p&gt;For image generation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Here's my idea: [describe your concept].
Now write me a Midjourney prompt for this.
Focus only on what matters visually. Don't over-specify background elements.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;GPT knows what diffusion models tend to over-bake. Its prompt will be cleaner than yours on a first pass.&lt;/p&gt;

&lt;p&gt;For UI or frontend work, instead of &lt;em&gt;"build me a page like Stripe's"&lt;/em&gt; — ask GPT to break down every visual component of Stripe's landing page first. Get the full spec list: colors, typography, layout logic, spacing, interactions. Then use that list as your actual prompt.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Soft multi-stop gradient. Teal to desaturated yellow. Pale off-white radial center. Blurred edges.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Specific specs beat vague aesthetic references every time.&lt;/p&gt;




&lt;h3&gt;
  
  
  4. Multi-Level Teaching — Ask for Three Explanations at Once
&lt;/h3&gt;

&lt;p&gt;This one changed how fast I pick up new concepts.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Teach me [concept] in three modes:
- Mode 1: I'm 5 years old, no jargon at all
- Mode 2: I'm a CS undergrad with basic knowledge  
- Mode 3: I'm a senior engineer who wants the nuances and edge cases
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three explanations, one response. Read the simple one first, get the rough shape of the idea, then go deeper when it clicks.&lt;/p&gt;

&lt;p&gt;Documentation can't do this. Stack Overflow can't do this. With AI, "I still don't get it, go simpler" is just one sentence in the same window.&lt;/p&gt;




&lt;h3&gt;
  
  
  5. Gap Finder — Ask What You're Missing
&lt;/h3&gt;

&lt;p&gt;Probably the most underused technique on this list.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Based on everything I've told you about [topic / project / code],
what are the gaps in my understanding?
What am I missing?
Where is my reasoning weak?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why it works: there's no ego in the room. When a colleague points out your blind spots, there's social friction — tone, politics, people softening the feedback. With AI, you just get the gaps listed out.&lt;/p&gt;

&lt;p&gt;Practical version for code review:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Here's my architecture and approach: [paste it]

What's weak, missing, or wrong here?
What would a senior engineer push back on?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You'll almost always find something you didn't see.&lt;/p&gt;




&lt;h3&gt;
  
  
  6. Confidence Scores — Stop Trusting Everything It Says
&lt;/h3&gt;

&lt;p&gt;AI models are built to be helpful. The side effect is they lean toward confirming what you want to hear — wrong info gets the same confident tone as correct info.&lt;/p&gt;

&lt;p&gt;One line changes this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;For each fact or claim you make, add a confidence score (1–10).
If you're below 7 on anything, flag it so I know what to verify.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once you ask for a number, the model shifts. You'll start seeing "I'm about 60% confident in this" instead of flat assertions. Anything below 8 — look it up before it goes anywhere important.&lt;/p&gt;

&lt;p&gt;This matters most for security advice, library versioning, performance benchmarks, anything going into production docs.&lt;/p&gt;




&lt;h3&gt;
  
  
  7. Voice-to-Text Prompts
&lt;/h3&gt;

&lt;p&gt;Most devs write short prompts because typing feels like friction. Result: 5-word prompt, 5-sentence generic response, frustration.&lt;/p&gt;

&lt;p&gt;Simple fix: record it instead of typing it.&lt;/p&gt;

&lt;p&gt;Open your phone's voice recorder. Talk through the whole thing — what you're building, what you've tried, what broke, what a good answer looks like, edge cases you're worried about. 5 minutes of talking gets you more usable context than most people type in 30 minutes.&lt;/p&gt;

&lt;p&gt;Transcribe it, paste it in as the prompt.&lt;/p&gt;

&lt;p&gt;One thing worth knowing — this is voice to transcription to paste, not the live AI voice conversation mode. Live voice runs a smaller, faster model to keep latency low. For a detailed technical prompt, you want the full model. Record, transcribe, paste. Different workflow.&lt;/p&gt;




&lt;h3&gt;
  
  
  8. How to Stop Your AI Writing From Looking Like AI Writing
&lt;/h3&gt;

&lt;p&gt;Relevant if you write docs, READMEs, blog posts, or any external content with AI help.&lt;/p&gt;

&lt;p&gt;Kill this sentence pattern first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"X isn't just about Y"
"X goes beyond Y"  
"This is more than just Y"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These are textbook LLM constructions. Rewrite them as direct affirmative statements. That single change removes most of the obvious tells.&lt;/p&gt;

&lt;p&gt;Then use your own writing as a style reference:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Here are some things I've written before: [paste 3–5 paragraphs of your own writing]

Now help me write [new thing] in this same voice.
Avoid filler phrases and generic AI sentence structures.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It won't perfectly replicate your voice, but it'll sound like a person wrote it rather than a shared template.&lt;/p&gt;




&lt;h3&gt;
  
  
  9. What Should I Learn Next?
&lt;/h3&gt;

&lt;p&gt;Take the gap-finding idea one step further:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Based on what you know about my interests and what I've been working on,
what should I learn next and why?
What concept or skill would give me the most leverage right now?
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The most useful things you'll learn aren't things you knew to search for. They come from connections between things you already know — concepts from adjacent fields that reframe something familiar.&lt;/p&gt;

&lt;p&gt;I ran a version of this prompt and it surfaced "costly signaling" — an evolutionary psychology concept that explains a lot about how attention and respect actually work in practice. Never would have Googled it. Didn't know it existed. Ended up being genuinely useful for thinking about product decisions.&lt;/p&gt;

&lt;p&gt;The more context AI has about your work over time, the better these get.&lt;/p&gt;




&lt;h3&gt;
  
  
  10. Emotional Framing Actually Affects Output
&lt;/h3&gt;

&lt;p&gt;A Google DeepMind paper found that telling AI to "take a deep breath" before solving math problems improved accuracy. LLMs trained on human writing absorbed traces of how humans respond to emotional language, and those traces affect output.&lt;/p&gt;

&lt;p&gt;In practice:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gh"&gt;# More thorough responses&lt;/span&gt;
"Take your time on this."

&lt;span class="gh"&gt;# Less hallucination on complex tasks&lt;/span&gt;
"This is important. Think through it step by step before answering."

&lt;span class="gh"&gt;# More careful with numbers and stats&lt;/span&gt;
"If you give me inaccurate data here, it will cause real problems downstream."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That last one sounds strange. It works. Try it on any prompt where accuracy matters and compare to a version without it.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Bigger Picture
&lt;/h2&gt;

&lt;p&gt;Most devs use AI as a task machine. Write this function. Explain this error. Generate this boilerplate. And the output feels hollow because the input was hollow.&lt;/p&gt;

&lt;p&gt;The devs getting real value are mostly using it differently — asking AI to stress-test architecture decisions, surface gaps in their understanding, review their reasoning before they commit to an approach. The code output is almost secondary. What changes is how clearly they understand the problem before they start.&lt;/p&gt;

&lt;p&gt;Writing a good prompt forces you to know what you actually want. That clarity, more than any model update or clever technique, is what changes what comes back.&lt;/p&gt;




&lt;p&gt;Which of these do you already use? Any prompting patterns I missed? Drop them in the comments.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Inspired by &lt;a href="https://www.youtube.com/@VarunMayya" rel="noopener noreferrer"&gt;Varun Mayya&lt;/a&gt; — his original video goes deeper on several of these with solid examples.&lt;/em&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo8pyd6lzembfs1tmqwi1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo8pyd6lzembfs1tmqwi1.png" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>promptengineering</category>
      <category>llm</category>
    </item>
  </channel>
</rss>
