How to Talk to AI (and Actually Get What You Want)

Sanskar AgarwalSanskar Agarwal
3 min read

If you’ve ever asked ChatGPT, “Write me a perfect blog,” and got something meh, you already know: it’s not just what you ask, but how you ask it.

Behind every good AI response, there’s a hidden framework at play — a mix of system prompts (the AI’s invisible rulebook) and prompting techniques (how you word your request).

Let’s unpack both and see how they work together to turn “just okay” AI outputs into “wow, this is exactly what I needed.”

The Hidden Director: System Prompts

Think of an AI conversation like a movie set.
You’re the director, the AI is the actor… and the system prompt is the character brief the actor gets before the scene starts.

It’s not visible to you when you use public AI tools, but it decides:

  • Tone → Friendly teacher? Serious professor? Sarcastic tech bro?

  • Boundaries → Topics the AI avoids or sticks to.

  • Style rules → Step-by-step explanations or short, punchy replies?

Without a good system prompt, the AI is like an actor without a script — it might still perform, but not in the way you wanted.

Why System Prompts Matter

  1. Consistency – Same style and voice across every answer.

  2. Accuracy – Keeps the AI on-topic.

  3. Safety – Avoids harmful or off-limits content.

  4. Efficiency – Saves you from repeating instructions every time.

If the AI is a car, the system prompt is the steering alignment — it doesn’t decide where you go, but it makes sure you drive straight.

Your Part: Prompting Techniques

Once the system prompt sets the baseline personality, it’s your turn to ask for what you want. This is where prompting techniques come in.


1. Zero-Shot Prompting

What it is: You give the AI a task without examples.

“Summarize this article in 3 bullet points.”

Best for:

  • Simple, straightforward requests.

  • When you trust the AI to figure it out.


2. Few-Shot Prompting

What it is: You show the AI a few examples before giving the actual task.

English → French
“Good morning” → “Bonjour”
“How are you?” → “Comment ça va ?”
Translate: “I love learning AI.”

Best for:

  • Tasks with a specific style or tone.

  • Custom formatting or patterns.


3. Chain-of-Thought Prompting

What it is: You tell the AI to explain its reasoning step-by-step.

“If a train travels at 60 km/h for 2 hours, how far does it go? Show your steps.”

Best for:

  • Math, logic puzzles, reasoning tasks.

  • When you want transparency in answers.


4. Role-Based Prompting

What it is: Assign the AI a role before asking the question.

“You are an experienced JavaScript tutor. Explain closures like I’m 10.”

Best for:

  • Domain-specific answers.

  • Making responses relatable for a specific audience.


5. Multi-Turn Prompting

What it is: Improve outputs over back-and-forth conversation.

  1. You: “Write a blog intro about prompting.”

  2. AI: Gives draft.

  3. You: “Make it more casual and add an analogy.”

Best for:

  • Creative or long-form content.

Iterative refinements.

The Winning Combo

Here’s the magic:

  • System prompt = The invisible rulebook.

  • Prompting technique = How you play the game.

Together, they make AI go from “sort of right” to “spot on.”

If you’ve ever thought, “Why is the AI not getting it?”, it’s usually not the AI’s fault — it’s because the system prompt and user prompt aren’t working together.

Final Takeaway

Prompting isn’t about “tricking” AI. It’s about communicating clearly — the same way you’d brief a human colleague.

Set the right foundation with a solid system prompt.
Use the right prompting style for the task.
And watch your AI outputs go from average to chef’s kiss.

Because at the end of the day, AI is only as good as the instructions you give it — and the hidden ones it’s already following.

1
Subscribe to my newsletter

Read articles from Sanskar Agarwal directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Sanskar Agarwal
Sanskar Agarwal

I’m Sanskar Agarwal — a 3rd-year B.Tech student in Computer Science at VESIT, Mumbai, passionate about building impactful tech solutions. I enjoy turning ideas into reality through full-stack development, IoT projects, and machine learning applications. 💻 Currently learning and experimenting with the MERN stack and the Generative AI field. Lifelong learner, tech enthusiast, and a firm believer in “Build. Break. Learn. Repeat.” 📫 Let’s connect, collaborate, and share knowledge — tech grows best when it’s open!