<?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: Vaibhav</title>
    <description>The latest articles on DEV Community by Vaibhav (@vaibhav_singh3).</description>
    <link>https://dev.to/vaibhav_singh3</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4227821%2F4fd21c5b-fe8e-4d78-9311-217fe87efd27.png</url>
      <title>DEV Community: Vaibhav</title>
      <link>https://dev.to/vaibhav_singh3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vaibhav_singh3"/>
    <language>en</language>
    <item>
      <title>Prompt Engineering for Beginners: How to Get Better Results from ChatGPT</title>
      <dc:creator>Vaibhav</dc:creator>
      <pubDate>Thu, 05 Nov 2026 06:44:47 +0000</pubDate>
      <link>https://dev.to/vaibhav_singh3/prompt-engineering-for-beginners-how-to-get-better-results-from-chatgpt-5h8m</link>
      <guid>https://dev.to/vaibhav_singh3/prompt-engineering-for-beginners-how-to-get-better-results-from-chatgpt-5h8m</guid>
      <description>&lt;h1&gt;
  
  
  I Tried Writing Better Prompts for ChatGPT. Here's What I Learned
&lt;/h1&gt;

&lt;p&gt;I've been exploring AI tools recently, especially ChatGPT. At first, I used it just like a search engine. I'd type a question, get an answer, and move on.&lt;/p&gt;

&lt;p&gt;But sometimes the answers weren't what I expected. They were too general, too long, or simply not useful for what I wanted.&lt;/p&gt;

&lt;p&gt;Then I started experimenting with the way I wrote my questions.&lt;/p&gt;

&lt;p&gt;That's when I became interested in something called &lt;strong&gt;prompt engineering&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  So, what is prompt engineering?
&lt;/h2&gt;

&lt;p&gt;In simple words, it's the way we give instructions to an AI tool.&lt;/p&gt;

&lt;p&gt;Think about asking a person for help. If you only say, "Help me with Python," they won't know exactly what you need.&lt;/p&gt;

&lt;p&gt;But if you say, "I'm a beginner learning Python. Can you explain dictionaries with a simple example?", they'll understand your problem much better.&lt;/p&gt;

&lt;p&gt;ChatGPT works in a similar way. The clearer your instructions, the more useful the response can be.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small example
&lt;/h2&gt;

&lt;p&gt;Let's say I want ChatGPT to write an email.&lt;/p&gt;

&lt;p&gt;My first prompt might be:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Write an email to a client.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That's not very specific. I haven't explained the situation, the tone, or what the email should include.&lt;/p&gt;

&lt;p&gt;A better version would be:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Act as a professional communication assistant. Write a polite email to a client explaining that a project will be delayed by two days. Keep it simple and professional, explain the reason clearly, and suggest a new delivery date.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The second prompt gives ChatGPT more direction.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five things I try to include in a prompt
&lt;/h2&gt;

&lt;p&gt;I'm still learning, but these five things have helped me write clearer instructions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Role&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Tell ChatGPT what kind of help you need.&lt;/p&gt;

&lt;p&gt;Example: "Act as a Python tutor."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Context&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Explain your situation.&lt;/p&gt;

&lt;p&gt;Example: "I'm new to Python and understand loops and lists, but dictionaries are confusing me."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Task&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Say exactly what you want.&lt;/p&gt;

&lt;p&gt;Example: "Explain dictionaries with a simple example."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Format&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Tell it how you want the answer.&lt;/p&gt;

&lt;p&gt;Example: "Use short explanations and code examples."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Limits&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Mention what to avoid or how detailed the answer should be.&lt;/p&gt;

&lt;p&gt;Example: "Keep it beginner-friendly and give me five practice questions without showing the answers."&lt;/p&gt;

&lt;h2&gt;
  
  
  Three prompts you can try yourself
&lt;/h2&gt;

&lt;p&gt;Here are a few examples I found useful while exploring AI tools.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Learning Python&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"Act as my Python tutor. Explain dictionaries like I'm a complete beginner. Give me simple examples and then five exercises. Let me try before showing the solutions."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Researching a business idea&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"Help me research the audience for a small online clothing business. Organize the answer into customer types, their needs, competitors, and possible marketing ideas. Tell me which points are assumptions."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creating social media posts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"Give me five Instagram caption ideas for a page that shares beginner-friendly AI tips. Keep them short, natural, and easy to understand."&lt;/p&gt;

&lt;h2&gt;
  
  
  Mistakes I noticed while using ChatGPT
&lt;/h2&gt;

&lt;p&gt;A few habits can make the results less useful:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Asking very broad questions without explaining what I need.&lt;/li&gt;
&lt;li&gt;Forgetting to mention that I'm a beginner.&lt;/li&gt;
&lt;li&gt;Putting several unrelated tasks into one prompt.&lt;/li&gt;
&lt;li&gt;Not telling ChatGPT what format I want.&lt;/li&gt;
&lt;li&gt;Accepting every answer without checking whether it's correct.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One thing I've learned is that ChatGPT can be helpful, but it isn't always right. It's still important to check the information, especially when learning programming or researching something important.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm learning next
&lt;/h2&gt;

&lt;p&gt;I'm currently learning Python and exploring artificial intelligence tools. I want to understand how these tools work and how people use them in real projects.&lt;/p&gt;

&lt;p&gt;I'm not an expert in prompt engineering. I'm just sharing what I've learned so far, I'm not an expert in prompt engineering. I'm just sharing what I've learned so far, and I hope to share more experiments as I continue learning.&lt;/p&gt;

&lt;p&gt;If you're also learning to use AI tools, try changing one of your usual prompts and compare the results.&lt;/p&gt;

&lt;p&gt;What's one thing you've learned that makes ChatGPT more useful? I'd like to hear your experience.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>chatgpt</category>
      <category>beginners</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
