Talking to Machines: My Prompt Engineering Deep Dive

Tobechi DuruTobechi Duru
3 min read

My Journey Into Prompt Engineering

Brief:
Prompt engineering is more than just asking ChatGPT a question. It's about knowing how to talk to machines to get useful, high-quality results. In this article, I share what I've learned from experimenting with AI tools, the techniques that worked, what didn’t, and how this new skill is shaping the future of software development.


Why I Got Curious

As a developer, I'm naturally curious about anything that helps me work smarter. When tools like ChatGPT started making waves, I didn’t just see them as fun toys. I saw a serious opportunity to enhance my problem-solving, brainstorming, and productivity.

But I quickly learned that just typing a question wasn’t enough. The better I framed my prompts, the better the responses I got. That’s when I started paying attention to how I asked.


What Is Prompt Engineering, Really?

At its core, prompt engineering is the skill of designing inputs that guide AI systems to produce specific, useful outputs. It’s not about technical code, but about language, clarity, and intent.

Think of it like writing instructions for a new intern. If you’re vague, they’ll do the wrong thing or ask for clarification. If you’re clear, they deliver exactly what you need.


Lessons I’ve Learned So Far

1. Clarity Is Everything

If your prompt is messy, your results will be too. I started getting better outputs when I structured my instructions clearly. For example:

Weak prompt:

"Give me a JavaScript function."

Stronger prompt:

"Write a JavaScript function that takes an array of numbers and returns only the even numbers. Include comments."

The difference is huge.

2. Context Improves Results

When I tell the AI who it should act as, I get more targeted results.

Example:

"Act as a senior MERN stack developer. Explain how Express routing works to a beginner."

This gives a better tone and structure than just asking, "How does Express routing work?"

3. Be Specific About Output Format

Whether I want a code snippet, a blog outline, or a single-paragraph explanation, saying it up front changes the outcome.

Example:

"Summarize the pros and cons of MongoDB in bullet points."

That’s clearer than just saying, "Tell me about MongoDB."

4. Iterate Like You’re Debugging

Sometimes the first response isn’t perfect. I learned to refine my prompt instead of blaming the tool. I’d treat it like debugging my own logic. Small tweaks in phrasing often gave better results.


How It’s Helping Me as a Developer

  • Faster research: I can quickly understand unfamiliar concepts, then dive deeper with guided questions.

  • Better writing: Whether it’s documentation, commit messages, or blog posts like this, I use AI as a co-writer.

  • New perspective: Prompt engineering teaches you to think in instructions, which actually sharpens how you think about logic and structure overall.


It’s a New Kind of Skill

Just like learning Git or debugging, prompt engineering is becoming a skill on its own. It's not just for writers or marketers. Developers who know how to use AI properly will work faster, solve problems quicker, and probably even write cleaner code.

And like any skill, the only way to get better is to practice. Ask questions. See what works. Refine and repeat.


Final Thoughts

Talking to machines is no longer science fiction. It’s something we’re doing every day, whether through terminal commands, APIs, or tools like ChatGPT. Prompt engineering helped me realize that good communication isn’t just for humans. If you can learn how to give clear, effective instructions to an AI, you’re learning a skill that will stay valuable for a long time.

0
Subscribe to my newsletter

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

Written by

Tobechi Duru
Tobechi Duru

Software Engineer, MERN-Stack Developer