请问HN:你向大型语言模型(LLM)提出的最有价值的问题是什么?
我在进行重构后正在移动一些 Terraform 状态。这是一个非常繁琐的问题(如你们中的一些人可能知道的那样)。大约有 50 个资源需要被销毁,另外 50 个资源需要被创建,手动移动状态至少需要我 1-2 个小时,如果在过程中出错还得重做,那就更久了。
为了避免这种情况,我创建了一个详细的提示,请求 Claude Sonnet 4 为我完成这项工作。我给出了非常清晰的指示(大约 2 分钟的写作时间)以及纯文本的 Terraform 计划。它成功地在大约 1-2 分钟内生成了我所需的所有 Terraform 状态移动命令,我可以使用 xargs 一键完成,太棒了!这是一项高价值的 LLM 查询!输入的 token 数量较少(相对而言),输出的 token 数量也少,节省了大量时间(我们都知道,时间就是金钱)。
请分享你们的高价值 LLM 查询!
查看原文
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.<p>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).<p>Please share your high-value LLM queries!