7 AI prompting strategies for coding to try today

Bill Doerrfeld | June 9, 2025

My latest for LeadDev explores specific prompting techniques proven to level up AI-assisted software development.

Prompting strategies are evolving fast — and they're making AI coding way more productive.


I recently spoke with Justin Reock, deputy CTO at DX, to unpack how engineering leaders are already using techniques like meta prompting, prompt chaining, one-shot prompting, and even adversarial chats to sharpen their output.


Some clever adjacent strategies? Try switching media, assigning a role to your LLM, or tweaking the system prompt.


DX's latest report has some great guidance on boosting reliability and avoiding common pitfalls. I pulled together a practical summary for LeadDev — give it a read here.


Photo by Jason Leung on Unsplash.



Read: 7 prompting strategies to sharpen your AI-assisted code
Large action models LAMs story Bill Doerrfeld The New Stack
By Bill Doerrfeld June 10, 2025
AI researchers are calling the next class of models large action models (LAMs). For The New Stack, I explored what LAMs are, what examples are emerging in the market, and what experts think.
Nordic APIs ranked #1 API blog on the web
By Bill Doerrfeld June 7, 2025
Nordic APIs, the API-specific blog I edit, was recently ranked the top API blog online by FeedSpot. After ten years managing this presence, I reflect a bit on the journey thus far.
Tips to improve your AI vibe coding
By Bill Doerrfeld June 3, 2025
Developers are realizing that being productive with AI coding assistants takes a lot more than just asking nicely. There's real craft to it.
AI coding is the easy part. Now it's time to focus on production.
By Bill Doerrfeld May 30, 2025
AI coding is the easy part. Now it's time to focus on DevOps to get it into production. In a recent interview for LeadDev's DirectorPlus, Honeycomb's CTO, Charity Majors, shares expert tips on how to accomplish this.
New tools help LLM devs improve training data decisions
By Bill Doerrfeld May 29, 2025
My latest for The New Stack explores new research from Ai2, DataDecide, which helps LLM developers make better decisions around training data.
MCP security vulnerabilities
By Bill Doerrfeld May 21, 2025
My APISEC|CON talk covers the hype around agentic AI and MCP, and delves into inherent flaws in MCP architectures and suggests mitigations.
Knowing when to use AI coding assistants Doerrfeld InfoWorld
By Bill Doerrfeld May 6, 2025
AI coding assistants are a productivity dream in some cases — and a debugging nightmare in others. So, where’s the line?
How semantic caching reduces LLM API calls
By Bill Doerrfeld May 5, 2025
Semantic caching is like typical caching, but for AI. It could eliminate a lot of redundant API calls to LLMs, reducing costs and improving performance.
Using agentic AI for business workflows
By Bill Doerrfeld April 30, 2025
For CIO.com, leading executives shared with me how they're actively utilizing agentic AI to enhance core business workflows.
Making developer productivity metrics actionable LeadDev DirectorPlus
By Bill Doerrfeld April 25, 2025
Developer productivity metrics are useless if they're just sitting in dashboards. So, how can we use them to direct positive, real-world action?
More Posts