Ask HN:你实际上是如何有效地使用 Claude Code 的?
3 分•作者: sukit•6 个月前
我正在尝试找到正确且有效的使用 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.