问HN:你在你的Claude/agents.md文件中最喜欢的句子是什么?
你有哪些使用大型语言模型(LLM)的技巧,使软件真正可维护?<p>我先来分享。我的新宠是在我的Claude.md中写的一句话。它帮助我解决了在构建或理解任务时与LLM之间的任何模糊性。<p>关键:始终制定详细的计划,包括分析、规格、待办事项列表以实现规格,以及针对用户提出的任何请求的逐步手动测试策略。无论何时,即使是在“接受编辑”时,也要要求用户确认整个计划。如果用户对计划的任何部分提出更改请求,请根据他们的要求制定新计划并向用户展示。在用户未批准计划且未请求更改之前,绝不要开始编辑文件。在所有手动检查策略成功通过之前,不要认为任务已经完成。
查看原文
What are some llm tips you’ve used to make software that is actually maintainable?<p>I’ll go first. My new favorite line in my Claude.md. Helps me get around any ambiguity I have with my llm about what is being built or understood by tasks.<p>CRITICAL: Always make detailed plan with sections for Analysis, specifications, to do list to achieve the spec, and a step by step manual testing strategy for any request a user makes. Always, even when "accept edits on", ask the user to confirm the plan in its entirety. If the user requests changes to any of the plan, make a new plan considering their requests and present it to the user. Never ever start editing files until the user has approved the plan without requesting changes to it. Do not consider the task done until all of the testing Manual Checking strategies successfully passes.