Prompt Engineering
& LLM Guides
Practical guides on writing better prompts, cutting token costs and building with LLM APIs, for ChatGPT, Claude and Gemini users.
AI Prompt to Fix a Flaky CI Test
A practical AI prompt for diagnosing a flaky CI test fast, so you find the real race condition causing it instead of adding another retry or timeout.
Debug a Node.js Memory Leak with AI
A practical AI prompt that uses a real heap snapshot retainer path to actually find a Node.js memory leak instead of just confirming one exists.
AI Prompt for Unit Tests on Legacy Code
The exact AI prompt for unit tests I use on untested legacy PHP functions, built around real guarantees instead of a vague write-tests request.
AI Prompts for Better Git Commit Messages
Most AI commit message tools just summarize the diff. Here's the AI prompt and git hook I use that actually captures the real reason behind a change.
AI Prompts to Debug Node.js Stack Traces
Debugging Node.js stack traces with AI works only with the right prompt structure. A real TypeError, a proven prompt, and the fix, step by step.
5 AI Prompts to Refactor Messy Code
5 AI prompts that turn vague refactor requests into mergeable code — name the exact smell, protect behavior, and lock in tests before you touch anything.
AI Debugging Prompts That Actually Work
A practical guide to writing structured AI debugging prompts that get accurate diagnoses and safer fixes, with a reusable template and a real Node.js example.
Stay ahead of the curve
Get the latest prompt engineering strategies, token optimization tricks, and platform updates delivered straight to your inbox once a month. No spam.