
Let me tell you a story that for many is the beginning of their adventure with AI. Perhaps you'll even recognize yourself in it. Imagine someone sitting in front of an AI chat for the first time. They feel like a child in a fog. They type general phrases like "write something about marketing" and in return, they get... well, some marketing gibberish. They're frustrated. They see amazing things online that others are creating with artificial intelligence, yet they can't get even one useful paragraph. They feel like they're missing something.
The breakthrough in this story happens when, instead of a simple question, they try to write a detailed instruction: "Act as a marketing strategist. Create an outline for a social media campaign for a new organic coffee brand aimed at people aged 25-40..." – and suddenly, magic happens. They receive a creative, ready-to-implement plan. Observing such scenarios and going through a similar path myself, I understood one thing. The secret wasn't in the technology itself, but in the way we communicate with it. The secret was in one word: PROMPT.
If you feel like you're wasting time and not using AI's full potential, this article is for you. I want to share my personal journey with you and show you, step by step, how I learned the art of creating effective prompts. This isn't a technical manual, but a guide based on my own mistakes and discoveries. Let's begin.
Before You Start Writing – What a Prompt Is to Me
Before I wrote my first truly good prompt, I had to understand one fundamental rule: artificial intelligence is not human. It doesn't read my mind, it doesn't guess my intentions. I had to learn to treat it like a brilliant, but very literal, assistant.
Think of AI as a brilliant, but very literal, assistant.
I searched for a good analogy to explain this for a long time. I finally found one. For me, working with AI is like talking to an incredibly helpful librarian. I used to go up and say, "I'd like a book, please." I'd get something random and be disappointed.
Today, I go up and say, "I'm looking for a crime novel set in 1920s England with a strong female detective." And I get exactly what I was looking for.
I realized that a prompt isn't just a question. It's a detailed order. It's an instruction that gives the artificial intelligence context, a role, and a goal. My golden rule, which I stick to this day, is: the quality of the response I receive depends 100% on the quality of the command I create.
My Foundations, or What Makes a Good Prompt?
After many trials and errors, I developed a method I call "the four pillars of an effective prompt." Today, before I send any command, I always check if it includes these four key components:
-
Role (Persona): I always try to start the command by giving the AI a specific role. I use the phrase: "Act as a..." (e.g., marketing expert, experienced recruiter, copywriter, personal trainer). I learned that this immediately sets the tone, style, and perspective from which the AI should respond.
-
Context: I describe the situation in which the response will be used. Who is it for? What is its purpose? (e.g., "...for a 12-year-old," "...for the board of directors," "...in a formal email to a client"). It's like giving an actor stage directions.
-
Task: I clearly and precisely define what the artificial intelligence is supposed to do. I've noticed that imperative verbs work best (e.g., "Write...", "Create a table plan...", "Make a list of 5 ideas...", "Analyze...").
-
Format: I tell the AI what format I want the response in. This was one of my biggest "game-changers." I often forgot about it, and it's key to getting clear and useful results (e.g., "...in a two-column table," "...in bullet points," "...as a JSON code," "...no longer than 100 words").
From Theory to Practice: My First Effective Prompt in 5 Minutes
Let me show you two exercises that were breakthroughs for me. It was through them that I saw what a huge difference a precise command makes.
Exercise 1: From General to Specific – Meal Planning.
-
Weak prompt (how I used to write):
What to eat to be healthy?
-
My reflection: I used to ask questions like this and get frustrated. "Healthy" is a relative term. The AI didn't know if I was an athlete, had allergies, or just wanted to eat less. It had to guess, so it gave me generic advice I could find anywhere.
-
-
Good prompt (how I write today):
Act as a dietitian. Create a simple 7-day dinner menu for an active couple. The meals should be quick to prepare (under 30 minutes), balanced, and support a healthy lifestyle. Include Polish and Italian cuisine.
-
My reflection: See the difference? I applied all my foundations here. I assigned a role (dietitian), specified the context (active couple, quick meals), and the task (create a 7-day menu). In response, I got a personalized plan, ready to be pinned on the fridge. However, I must add an important note here: AI is a powerful tool, but when it comes to health matters like diet, I always approach its suggestions with great caution. If you don't have the knowledge to verify such a menu yourself, treat it as inspiration and always consult a real dietitian.
-
Exercise 2: How I Turned AI into an Expert on My Hobby.
-
Weak prompt:
What flowers should I plant in the garden?
-
Good prompt:
Act as an experienced gardener. Suggest 5 easy-to-grow, perennial flowers for a sunny balcony in the city. I would like them to be drought-resistant and bloom from July to September in red and yellow colors.
-
My reflection: Precision was the key again. When I gave the AI the role of an "experienced gardener," its answers became much more professional. And when I provided the full context—from the location to my favorite colors—it stopped guessing and gave me a list of perfectly tailored suggestions. Remember, though, that even the best advice from AI is still just a suggestion. In specialized fields, whether it's gardening or health, if you're unsure about the information you've received, it's always worth consulting a human expert.
-
My Next Step: Advanced Prompting Techniques
Once I felt that these four foundations had become second nature, I naturally wanted more. I wanted to solve more complex problems, not just write simple commands. That's when I discovered two techniques that opened up completely new possibilities for me.
Step-by-Step Thinking (Chain of Thought Prompting)
I noticed that artificial intelligence, despite its power, sometimes makes mistakes in logical or mathematical tasks. It seemed as if it was trying to "jump" straight to the result, getting lost along the way. I decided to slow it down.
I discovered that all it takes is adding a simple phrase at the end of the command: "Let's think step by step."
When I first saw how this command solved a math problem that the AI had previously struggled with, I realized it was more than just asking questions. It was directing the thought process.
This simple command forced the AI to write out its line of reasoning, which drastically increased its accuracy.
Here is a complete, ready-to-use prompt that you can copy and test:
When I was 3 years old, my partner was 3 times my age. Now, I am 20 years old. How old is my partner? Let's think step by step.
Here is the response received from Gemini 2.5 Pro:
Of course, let's think about it together.
When you were 3 years old, your partner was 3 times older, which means they were 9 years old (3 years * 3 = 9 years).
The age difference between you is therefore 6 years (9 years - 3 years = 6 years). This age difference remains constant.
Since you are now 20 years old, and your partner is 6 years older, they are 26 years old (20 years + 6 years = 26 years).
Answer: Your partner is now 26 years old.
Providing Examples (Few-Shot Prompting)
I quickly learned that AI learns from patterns perfectly. If I wanted the response to have a very specific format, instead of describing it, I just showed the AI a few examples.
This technique, which I came to know as "few-shot prompting," involves placing 1-3 examples in the prompt before asking the actual question. It's like teaching by showing, not by telling.
-
My goal: I wanted the AI to convert customer orders into a structured JSON format.
My prompt:
Convert the customer's order to JSON format.
Example 1:
Text: "I'd like a large pizza with cheese and mushrooms."
JSON: {"size": "large", "ingredients": ["cheese", "mushrooms"]}Example 2:
Text: "A small vegetarian for me."
JSON: {"size": "small", "ingredients": ["vegetables"]}Text to process:
"I would like a medium pizza with ham, pineapple, and extra cheese."
JSON:
Seeing my patterns, the AI flawlessly mimicked the format and returned exactly what I needed.
Gemini 2.5 Pro responded as follows:
JSON
{"size": "medium", "ingredients": ["ham", "pineapple", "extra cheese"]}
Want to Become a True Master? This Is Just the Beginning of Your Journey.
Congratulations! You've just walked the path that I took myself—from frustration to fascination. I hope my experiences will help you avoid many mistakes and discover the potential that lies within artificial intelligence more quickly.
Remember the key principles that proved most important to me:
-
Precision is the key to effectiveness.
-
Always try to use my structure: Role, Context, Task, Format.
-
Don't be afraid to experiment. The best discoveries await where the template ends.
Test Your Knowledge in Practice!
Theory is one thing, but real learning begins with doing. That's why I've prepared a special set of exercises for you, where you can test all the techniques discussed in this article. It's a great way to solidify your knowledge and feel even more confident in communicating with AI. The exercises, of course, come with an answer key. Find them here - CLICK.
A Note from the Author: On the Making of This Article
This text you've just read is the fruit of a unique collaboration. Every sentence, every metaphor, and every example was carefully thought out and shaped by me in dialogue with my creative partner—the Gemini 2.5 Pro language model. This is proof that artificial intelligence can be not just a tool, but a true partner in the creative process, one that inspires, suggests ideas, and helps turn knowledge into words.
FAQ – My Answers to the Most Common Questions
Do I need to know English to write good prompts?
Absolutely not. I get this question often, and I always answer the same way: modern AI models like Google Gemini understand Polish perfectly. I work in Polish on a daily basis myself. The key is the precision of the command and the logic of its construction, not the language itself.
Does AI always tell the truth? What should I watch out for?
This is a very important question. I always repeat that AI is not an oracle. It can generate so-called "hallucinations," which are pieces of information that sound credible but are false. From my experience, you need to be vigilant. Always verify key data (facts, dates, health advice) in other sources. And most importantly—never provide your sensitive data in prompts. Treat AI like a public forum.
Which AI tool is best to start with?
I personally recommend starting with Google Gemini. It's free, its interface is very simple, and the model is powerful and creative. You can successfully test all the examples I've shown you there. That's where I took my first steps.