Ask HN: How do you reach the flow with vibe coding?

When I used to code without AI (probably not even one year ago), I sometimes reached a state of "flow" and it truly was a great feeling. Nowadays, I rarely code from scratch and most of my development (at work, at least) comes through AI.

I get it that I can still code "the old way" in my free time, but I'm more curious to understand if people in a similar situation can reach the same state by vibe/AI coding, and how.

3 points | by varlock 2 hours ago

4 comments

  • Zambyte 20 minutes ago
    "vibe coding" is, by definition, mentally unengaging. You offload technical cognitive tasks to your agent, and operate more in an emotional mental state, rather than one that demands logic and reasoning effort. I believe flow state is much easier to achieve when you're actually chaining together tasks that demand logic and reasoning effort. You can do this by simply not offloading those tasks to your agent. That is not to say you can't get there while using AI to assist your coding, but it is to say you probably can't get there while vibe coding.

    I personally drive most of my coding tasks using spec driven development. I use OpenSpec[0] for this, which I do recommend, but the specific implementation probably doesn't matter all that much. The key here is that I will iterate on spec documents, sometimes for hours, before telling my agent to implement the spec. I read every single line and make sure that I am actually happy with it and agree with the proposed changes. This doesn't use tokens as fast as possible as many people like to - I'm often sitting with all agents idle as I sit and comprehend the proposals for myself. That's a trade-off that I find worthwhile for my own comprehension and engagement in the project though.

    [0] https://openspec.dev/

  • aldoraicich 1 hour ago
    I reach a flow state when I’m coding with AI because, for a while, I forget everything going on in the world. I’ve built over 40 apps under Aldo’s Life (https://apps.aldos.life), and a lot of that flow has gone into each one. So much thought, so much care, so much obsession with perfection, obviously. Apparently, my brain keeps working on the apps while I sleep, because the next morning I wake up and go at it again.
  • shotgunsparkle 2 hours ago
    wow i never realized i havent been in a flow state for a while. kinda leaves you as you go from an IC to an executive. I wonder whats the equivalent for a non IC.
    • AnimalMuppet 1 hour ago
      I think some football coaches would describe something like a flow state. That's somewhat analogous to being an executive.
  • spottedmarley 29 minutes ago
    The best way is to also be coding on another project yourself while, simultaneously, managing the project your agent is building. When both projects are flowing its pretty nice.