请问HN:你们是如何有效使用Claude Code的?
我正在尝试找出使用Claude Code的正确和有效的方法。到目前为止,我的体验并没有与社区中许多人所赞誉的相匹配。
通常,它要么生成复杂的实现,而明显存在更简单的解决方案,要么输出的代码充满了错误——尽管它自信地声称是正确的。我在想是不是我没有正确使用它。
以下是我当前的工作流程:
- 我首先与Gemini沟通,逐步澄清和完善我的需求和设计。
- 我请Gemini总结所有内容,然后我会审查并修订该总结。
- 我将最终版本粘贴到Claude Code中,使用计划模式,请它生成实施计划。
- 我审查该计划,进行调整,然后让Claude Code执行。
- 长时间等待……
- 审查Claude的输出并清理混乱。
对于重构和修复错误,我通常会提前编写一些测试。但对于新功能,我往往不会这样做。
这常常让我感觉像是在打开一个战利品箱——50%的时间它表现得不错,另外50%的时间则相当糟糕。我真的想理解如何正确使用它,以实现人们所描述的那种神奇体验。
另外,我在Pro计划中,很少遇到速率限制——主要是因为我需要手动进行大量的准备工作和后处理。我很好奇那些快速遇到速率限制的人:你们是在并行运行很多任务吗?机器当然可以轻松并行处理——但我不知道如何让自己以那样的方式并行工作。
查看原文
I'm trying to figure out the right and effective way to use Claude Code.
So far, my experience hasn't matched what many in the community seem to rave about.<p>Often, it either generates convoluted implementations when simpler ones clearly exist, or it produces code that's riddled with bugs — despite confidently claiming it's correct.
I'm wondering if I'm just not using it properly.<p>Here's my current workflow:<p>- I first talk to Gemini to gradually clarify and refine my requirements and design.<p>- I ask Gemini to summarize everything. Then I review and revise that summary.<p>- I paste the final version into Claude Code, use plan mode, and ask it to generate an implementation plan.<p>- I review the plan, make adjustments, and then let Claude Code execute it.<p>- Long wait…<p>- Review Claude’s output and clean up the mess.<p>For refactors and bugfixes, I usually write some tests in advance. But for new features, I often don’t.<p>It often feels like opening a loot box — 50% of the time it does a decent job, the other 50% is pretty bad.
I really want to understand how to use it properly to achieve the kind of magical experience people describe.<p>Also, I’m on the Pro plan, and I rarely hit the rate limit — mainly because there’s a lot of prep work and post-processing I need to do manually.
I’m curious about those who do hit rate limits quickly: are you running lots of tasks in parallel?
Machines can easily parallelize, sure — but I don’t know how to make myself work in parallel like that.