logoalt Hacker News

jonas21yesterday at 8:26 PM1 replyview on HN

> That's why every chat box has that "Regenerate" button.

Wait, are you doing this in the web chat interface?!

That's definitely not a good way. You need to be using a harness (like Claude Code) where the agent can plan its work, explore the codebase, execute code, run tests, etc. With this sort of set up, your prompts can be short (like 1 to 5 sentences) and still get great results.


Replies

wg0yesterday at 9:29 PM

I use claud CLI or OpenCode. The "Regenerate" example is just to illustrate that same prompt would produce different output each time. You're rolling a dice.