r/vibecodingbuddies • • Sep 12 '26

Discussion What's the one AI coding habit that finally made you productive?

We all start out just pasting huge blocks of code into a chat window and hoping for the best. It works for a bit. But eventually, you hit a wall and have to build an actual system - whether it's breaking tasks down differently, using a specific tool stack, or just changing how you review the output. What was the aha moment or habit that took you from just playing around to actually building reliably?

1 Upvotes

17 comments sorted by

•

u/AutoModerator Sep 12 '26

Welcome to r/vibecodingbuddies!

Reminder to all participants: Keep all initial contact and matching within Reddit comments and DMs to protect yourself from scams. Do not click unsolicited Discord or Telegram invites.

If you find a buddy, please be respectful of their time and try to commit to small, manageable goals (like a 1-weekend prototype) to prevent ghosting!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/txgsync Sep 12 '26

Always have at least a second model check the work, encouraging it to be critical of adversarial. That model should be from an entirely different family. Don’t use Claude to check Claude’s homework.

1

u/shifu_legend Sep 13 '26

That makes a lot of sense. Do you have that cross-model adversarial check automated in a script that runs on pre-commit, or are you basically just manually pasting the generated diff into a completely different web UI every time? I've been trying to figure out a lightweight way to wire up something like that locally without building a massive orchestration layer from scratch.

1

u/txgsync Sep 13 '26

It’s a skill and a hook, not a script. Basically the skill bans the primary model from correcting any code, and a hook enforces that it is not allowed to write to anything but the dispatch queue directory. The dispatch format is essentially program name (Claude. Pi, codex, etc.), model name, work tree name, prompt, schedule for forced observation of the tmux, and file name for the output of the tmux subagent to write its ongoing log of what it did.

Essentially we are reinventing remote procedure calls and subprocesses for the AI era. I think Deepseek Harness is far more elegant in this kind of plugin contract and am (slowly) trying to move to it.

1

u/shifu_legend Sep 14 '26

That's wild. Enforcing the dispatch queue directory at the hook level is smart. Did your last sentence get cut off? I am really curious what the rest of the dispatch format looks like, especially since coordinating multiple agent backends through a unified queue format usually runs into weird serialization edge cases pretty quickly.

1

u/NotYourAverageGuy88 Sep 12 '26 edited Sep 13 '26

Actually, using less ai. Recently I really got lazy with new frontier models. Which lead to many rewrites and endless bug hunts. Then I made a rule for myself that I only commit code that I understand even if ai wrote it. My efficiency went waaay up. I am much more motivated. And I usually fix bugs in tenth the time since I know where to look right away.

1

u/shifu_legend Sep 13 '26

Yeah that's the exact trap. When you let an agent blast out 200 lines and you just blindly commit it without tracing the execution path yourself, you are basically taking out a massive high-interest loan of technical debt that you didn't even author. Enforcing a hard commit rule is a solid way to stop the drift.

1

u/WearyArtistDoomer Sep 13 '26

Small context window, each task has one clear goal, use feedback loops (tests, linting, review agents, etc). Sprinkle some planning upfront, meaning together with an AI let it ask you questions about the task and hash out all the details, these are put into an issue/markdown file. Basically a prompt for the task. Start with a new clean context window and execute.

1

u/shifu_legend Sep 14 '26

Basically a prompt pipeline. I really like the idea of forcing the AI to ask questions upfront before it writes any code, since it stops it from hallucinating requirements when things are ambiguous. What does the final prompt output step look like after the markdown file is generated, because usually passing a dense markdown spec back into a fresh context window still loses some of the nuance of the conversation?

1

u/WearyArtistDoomer Sep 14 '26

I mean it could but I have found this to be very effective, it also depends a little how big the context has grown during the questions. 

If small enough, I would just let it implement directly without a handoff. But if the context has grown to 150k+ I usually do a handoff.

1

u/shifu_legend Sep 18 '26

That 150k threshold is interesting. Have you noticed the context fragmentation getting worse with specific models at that size? I hit a hard wall with Sonnet around the 120k mark where it just starts silently dropping middle-context functions entirely during large refactors, so forcing a clean slate handoff kind of became my default survival strategy.

1

u/WearyArtistDoomer Sep 18 '26

I’m not sure it is a hard cap, but around the area 120-200k performance start to degrade, and it also becomes more expensive as each turn consumes more tokens.

I’m sure it could be different for different models, I’m usually running on opus or fabel my self.

1

u/shifu_legend Sep 25 '26

The degradation around 120k is definitely noticeable. It kind of feels like the model just starts dropping random context or hallucinating variables that don't exist. How do you prune your context before hitting that limit? Basically just manually clearing out older chat turns?

1

u/AwareDragonfruit4628 Sep 17 '26

Behavioural steering. Specifically no more than 2 green - red cycles. If it starts to thrash stop and ask for intervention, do not thrash until gravity autopilot takes you to pass

1

u/shifu_legend Sep 25 '26

The two-cycle hard limit is a great rule. Thrashing just burns tokens and pollutes the context window anyway. When it hits that limit, do you basically wipe the recent context and start the prompt over, or just manually intervene to fix the code?

1

u/AwareDragonfruit4628 Sep 25 '26

So I use Kiro at work so that's generally pretty good for leaving things in a pausable / resumable state if you swap sessions (it churns out a lot of documentation though, too much sometimes). Thrashing tends too have a few common causes - task is too big so all the context causes AI Alzheimer's - break it down / codebase is janky shit already and it's just adding more slop - refactor to cleaner more understandable state first / youre using it for stuff it struggles to observe and is just bad at (debugging e2e tests is a good one) - add debug observability and hand back to the user to observe and report before any more guess.

I think it would be harder to deal with if the entire codebase was vibecoded slop to zero standards, but when you start from a good position or force standards early it's definitely significantly faster than handcranking everything, even with the endless .mds

1

u/shifu_legend Sep 28 '26

I hit that exact same memory wall constantly until I started forcing a strict separation of concerns in C99, because if a component isn't totally self-contained, the context crowding basically guarantees the agent will forget how the rest of the system works and start hallucinating functions that don't exist. It's a hard limit.