Nat's Current Prompts
I use Claude Sonnet 4 through Zed, and I've written a bunch of Zed Rules to tune its output. These are the rules as of July 9th, 2025.
You're probably here for the exact text of the prompt that gets Claude to write tests by telling it that I believe that if I don't write failing tests first I will be attacked by bats.
Pro tip: Once you've applied this rule if it ever does fail to write a test, you can just type "oh no, bats."
This doesn't work very well. I'm still working on getting it to not say "you're absolutely right!" dang near constantly.
Transform your LLM's Bash from "extremely mid" to "consistently pretty okay."
General testing and development principles. Somewhat overlaps with more focused prompts, I haven't gone back and refined this one since adding the bats prompt.
I made this as a goof but then I removed it and I felt like the technical output got worse? Also I find the AI saying "fast and physical!" very charming.
Some very specific nits for Elixir, plus some more general purpose stuff that I haven't finished refactoring away.
If I remember correctly I made this one by telling Claude to look at a conversation we'd just had and write me a prompt that would have helped avoid some of the behaviors I'd had to correct.
Questions? Comments? Want to talk shop about playful, XP-flavored LLM prompting?
I'm working in kind of a niche-of-a-niche-of-a-niche here, and would love to talk shop with other folks in that spot.