Ask HN: What's your most valuable query to an LLM?

https://news.ycombinator.com/item?id=44909057
by baalimago • 11 months ago
13 14 11 months ago

I'm moving some terraform state after a refactor. A very tedious problem (as some of you may know). About 50 resources to be destroyed, and 50 to be created, it would take me at least 1-2 hours to manually move the state, more if I mess up somewhere along the way and have to redo it.

So, to dodge this, I created a detailed prompt asking claude sonnet 4 to do this for me. I gave it very clear instructions (~2 min writeup) + the plaintext terraform plan. It successfully generated all the terraform state mv commands I needed in about 1-2 minutes, which I could xargs and boom, done! High value LLM query! Low amount of input tokens (relatively speaking), low amount of output tokens, saving magnitudes of time (which, as we all know, is money).

Please share your high-value LLM queries!

Related Stories

Loading related stories...

Source preview

news.ycombinator.com