Prompt Engineering
& LLM Guides
Practical guides on writing better prompts, cutting token costs and building with LLM APIs, for ChatGPT, Claude and Gemini users.
Speed Up fWith lint-staged
Why pre-commit hooks get painfully slow on large repos, and the lint-staged fix that scopes every lint and format check to only the files you actually staged.
Fix Git's Merge Unrelated Histories Error
Git's 'refusing to merge unrelated histories' error explained: the real --allow-unrelated-histories fix, and when re-cloning is better instead.
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.
Git Bisect: Find the Commit That Broke Your App
Learn how git bisect finds the commit that broke your code in minutes, with manual steps, a git bisect run script, and fixes for edge cases.
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.