Prompt Engineering
& LLM Guides
Practical guides on writing better prompts, cutting token costs and building with LLM APIs, for ChatGPT, Claude and Gemini users.
Claude Context Window Size by Model (2026)
Claude context window size for every current model across the API, app and Claude Code, and what happens when it fills.
RAG vs Fine-Tuning: A Developer Guide
RAG vs fine-tuning for your LLM app: when retrieval actually wins, when training a model wins instead, and why most real production systems end up using both.
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.
Fix Invalid JSON from LLM API Responses
Why LLM APIs return invalid JSON and how to fix it for good: structured output modes, schema validation, and a safe parse-and-repair fallback in Node.js.
AI Code Review Prompts for Pull Requests
Copy five practical AI code review prompts for pull requests, plus a Node.js script to run them in CI. Catch bugs and security issues faster.
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.