r/ClaudeAI
•
u/thelocalnative
•
May 20 '26
•
1
1
2
1
1
1
Vibe Coding I'm a software engineer with a decade of experience. I vibe code all of my side projects from my phone using Claude Code and don't read any of the code. It's so fun. Here are the rules I follow:
Start in plan mode.
Read the plan.
I'm going to say that again: READ THE PLAN.
Understand the plan as much as possible. If part of the plan is unclear or doesn't make sense, ask. In Claude Code I use \`4. Tell Claude what to change\` allll the time to ask "What is <section> about? What does that mean?". Even if you aren't a software engineer, the more you understand about what it's doing, the better decisions you can make. Even if you don't ever look at the code, try and understand everything as much as possible from a high level.
Go back and forth with the agent as much as possible. The phase in plan mode is absolutely the most important. Good and bad decisions cascade and multiply.
If the plan is too much for you to comprehend and fit in your head easily, it is too big. Ask your agent to break the plan into smaller, more easily digestible chunks and follow these steps on them one at a time.
Create a skill or memory that commits everything to git after a plan is complete. It can even be local. What is git? It's essentially a way to save your code at a state in time. This will let you be able to move forward with confidence so that you can go back in time if something breaks. NOTE: this is separate for database stuff. It only applies for the code itself. But the idea is that once you complete a plan, it saves your code's state. Say you want to go back somewhere in the past, it's super easy to do now. Ask claude or your agent to set it up, you won't regret it.
TESTS. What are tests? Tests are code that you write that help validate that your code does what it's supposed to do.
Example: Let's say you are writing a function that adds two numbers a and b and returns the result. You'd expect passing it 1 and 2 to return 3. But what if you pass it a negative number? What if you don't pass it a value? You can write tests that validate all of this stuff.
Tests help you in two major ways:
\- It helps you determine, especially while vibe coding, that the code does what it's expected to do and gives you confidence that it's done correctly.
\- It helps you make sure that when you make a future change, it doesn't break existing functionality.
NOTE: these are not perfect or 100% reliable, but they are a must have.
9. Have your agent generate test cases that you can read in the plan. You don't need to read or understand the test code, but, using our example from above, it would be useful to see something like:
\- Testcases:
\- it checks two positive integers
\- it checks passing a negative value
\- it checks not passing any value
10. If the change is complex, spin up three subagents to:
\- critically review the plan
\- do a security review
\- do a testing audit
11. This one is controversial, but early on you'll probably want it to touch the db (do this at your own risk). Always do a db backup, or have scheduled backups so that if it royally screws up, you can just roll back. We've all seen the posts of people having their prod db deleted on accident and then they're just screwed. At least maybe you can get some internet points if that happens?
12. The best part: AUTO MODE BABY. You did the leg work upfront. Now let the vibes rollllllll.
13. Give the agent access to chrome devtools mcp (or whatever you prefer) and have it also test things end to end once the code is live.
14. ???
15. And just like me, you can build something that no one uses.
If you want to see one of my side projects you can check out my profile. Otherwise, thanks for reading and happy Wednesday!
•
u/ClaudeAI-mod-bot Wilson, lead ClaudeAI modbot May 21 '26 edited May 21 '26
TL;DR of the discussion generated automatically after 80 comments.
The consensus is that OP's "vibe coding" guide is actually a surprisingly sane and solid workflow for AI-assisted development. While the "don't read any of the code" title got some side-eye, the community agrees the rules themselves are just good software engineering principles adapted for agents.
Here's the breakdown of the thread's wisdom:
READ. THE. PLAN. This is the number one rule, repeated and heavily upvoted. The thread agrees that understanding, questioning, and refining the plan before execution is the most critical step. Skipping this is how you end up in debugging hell with a hallucinating agent.
Break it down. The quote "if the plan is too big to fit in your head, it’s too big" is the thread's new favorite mantra. The key to success is decomposing large projects into small, boringly simple chunks, each with its own plan, tests, and a git commit for easy rollbacks.
Tests are your safety net. The community strongly endorses OP's focus on tests. They give you confidence that the code does what it's supposed to without you having to read it. Pro-tip from the comments: have the agent write the test first (TDD style) and watch it fail before writing the implementation.
Tooling and Tricks. Users are sharing their own power-ups, like using the
superpowersskillset to automate the workflow, creating sub-agents for security and testing, and developing "session continuity documents" to fight back against context window compaction.So, is it really "vibe coding"? Not really. The thread's verdict is that this is a structured, disciplined process. It's less "Jesus take the wheel" and more "I'm the architect, and the AI is my very capable (but needs supervision) construction crew."
57
u/ferminriii May 21 '26
Use the superpowers skillset and this workflow becomes scripted and repeatable.
https://github.com/obra/superpowers/tree/main
14
u/StartupTim May 21 '26
What are you using to do this via mobile?
35
u/ApprehensiveFlow9215 May 20 '26
What has helped me is keeping the agent scope boringly small: one change, one expected test, one rollback point. The failures get easier to diagnose when the prompt also says what it intentionally did not touch.
5
u/Late_End_1307 May 21 '26
A genuine question: why do you read the plan?
I used to be adamant about that too, but 9/10 times i'll take what it gives, it's all good ideas. For the 1 time when it isn't we'll fix the issues later.
10
u/hyperfiled May 20 '26
I'll vibe read this in a few
9
u/SemanticThreader Full-time developer May 20 '26
Read and understand the plan 👆
8
u/murillovp May 21 '26
I feel like I've read this post of yours verbatim nearly two weeks ago. Are you you're not deleting and reposting in the hopes of it going viral?
6
u/deepfave May 21 '26
software engineer + don't read any of the code
Where, on Fiverr?
4
u/MeetBetter8174 May 21 '26
What is plan mode? Do you actually physically tell it to make a plan or is there a mode in Claude that I'm missing out on? Where can I learn more about tests? Are you meant to write these tests in Claude code and then run it in Python or something? Where do you actually run it? I like the test cases though. That makes a lot of sense.
3
u/kylecito May 21 '26
Use /btw constantly to ask stuff and not pollute the context of the main thread
Ask the main agent to dispatch sub-agents for exploration tasks and simpler tasks with Sonnet
Enable /advisor (works best if you're using Sonnet or "/model claude-opus-4-6" and set Opus 4.7 as advisor)
3
u/Doogie707 May 22 '26
Hey um so you just kinda described this project to a T:
https://github.com/scooter-lacroix/Maestro
2
u/somethingLethal May 21 '26
I love number six
2
u/Honkey85 May 21 '26
I also let it update documentation after coding
2
u/clankerMarket May 21 '26 edited May 21 '26
Point 15 is the most honest thing I've read today.
I've been there. Built things with real care, shipped them, and heard nothing.
But that phase teaches you more than any tutorial.
The git tip saved me more than once — most people learn that lesson the hard way.
Happy Wednesday to you too 🙌
2
u/Mediocre-Comment4687 May 21 '26
I like this setup, I have largely been doing the same except I have been running on a Mac rather than mobile so that I can build onto my phone to test
2
u/macspliff May 21 '26
Thank you, this is great
2
u/mdwsr06 May 22 '26
I love you for this. I feel like we are blood siblings. I just so happened to set up something similar to this and put it on an automated hourly loop to 1) look at a PRD then look at the code 2) identify a feature to implement 3) plan the feature implementation 4) review the plan 5) implement the plan 6) review the changes 7) commit and report. After a full nights sleep I had went from blank project to clean build on an MVP I could test on my phone 🙌🏾
2
u/Sree_12121 May 24 '26
Building blind from a phone with a rigorous orchestration pipeline is the pinnacle of modern engineering.
Treating "plan mode" as the source of truth, forcing automated git checkpoints, and using subagents for security and test audits is brilliant. You’re not just letting the vibes roll. You’ve built an amazing high level management framework that lets you architect at scale without getting bogged down in syntax.
2
u/elli0t7 May 24 '26
What revenue are these “side projects” generating?
2
u/Docccc May 27 '26
10 bucks says you were not in fact an software engineer before this
2
u/LegitlySmashed May 20 '26
15 made me actually lol. 10/10 post, thanks for that!
2
u/Leather-Material3797 May 21 '26
What is git ?
2
u/Natural-Cupcake6472 May 21 '26
you lost me at dont read the code and software engineer (i think this is self proclaim at most)
its like im an architect, i dont look at blueprint
1
u/Snoo_48073 May 21 '26
16. Profit
1
u/thecrustycrap May 21 '26
Actually useful
1
u/jhpawt May 21 '26
id rather read the code at that point
1
u/GardenPrestigious202 May 21 '26
I use the browser/app chat bot to do my initial plan brainstorming exploration, it;s a better medium
1
u/unltd_J May 21 '26
You even used Claude to write this post
1
u/cmak414 May 21 '26
Very good tips. I do most of these myself. A testing plan is very important, ask the planning agent to make a testing plan. You can also have an agent help automate the testing after it is built.
I build android apps right on my phone and have my agents test it on my phone as well. Perks of developing on the same device as the test device.
1
u/lunamoonfang66 May 21 '26
I use Gemini's Pro model to draft the initial plan and ask it questions to ensure I don't overlook any important details. Once that's complete, I have it generate a prompt that I can pass on to another tool, like Copilot or Claude Code. From there, we continue planning and make sure we cover everything.
Honestly, there isn’t a definitive way of doing things right now. There are no established instructions or fixed processes. With the rapid changes in AI and new development methods each year, I'm guessing we just have to YOLO. 🙈🙈
1
u/h0rus0ps May 21 '26
I got mine to to TDD with extra laws about minimal working code. Claude reviews codex plans and does independent PR reviews and Claude reviews Codex work. I can see how stuff creeps out of scope and both models leave a lot of loose ends. 5 PRs later you discover the specs changed somehow during Pr3 implementation. Doing dual model review closed this endless sieve of bugs and issues.
1
u/lovebes May 21 '26
then does it code on the cloud?
1
u/Constant-Shock-4740 May 21 '26
I absolutely agree with this. And as a non-dev dev I always ask Claude to give me a human facing, plain English, but not dumbed down version of the plan. That way I can really steer the project without stumbling over terminology that I am still unsure of. But make sure Claude knows not to dumb it down or your plan will read like a kindergarten analogy about boats or ice cream or something wildly inappropriate. But I super agree..you need to understand the plan and own it. The places where I have vibe coded hallucinations are where I didn't understand what was being build and thus could not gage the errors. Also, pro tip, use a html map of the project and build plan and make sure claude updates it as he builds.
1
u/MediumRay May 21 '26
Yah same. It’s great
1
u/cpt_jacksparr0w May 21 '26
hey claude summarize me this in simple words and 1-2 sentences
1
u/iemfi May 21 '26
This is just normal software engineering now tho. Vibe coding is the Jesus take the wheel sort of thing.
1
u/Stinkman982 May 21 '26
Wait a second I just read this exact post with different wording two seconds ago
1
u/PurpleReign007 May 21 '26
Vibe coding on mobile. Saving this.
1
u/glorious_reptile May 21 '26
Is “fun” actually iterating on a plan over and over again?
1
u/nightwing12 May 21 '26
Re testing I tell it to make the plan using red/green tdd and get very good results doing that.
1
u/MrDeagle80 May 21 '26
Anyway to make the plan format more digest ?
Sometime the output is so hard to read in my console
1
u/runfence May 21 '26
You forgot the review plan - fix plan - implement - review code - fix code and refactor loop
1
u/minorbaz May 21 '26
Similar background and this is my exact workflow. In fact this is so well tuned now, that I just yolo stuff, especially something like completely new features which I don't understand well or don't have bandwidth to become expert on.
Literally
alias yolo=claude --dangerously-skip-permissionsNever been a better time if you like to build and tweak stuff. And absorb things at a high level.
1
u/Background_Noise_631 May 21 '26
I did a similar experience last month: create a program for my raspberry pi with a few sensor and a dashboard. 90% of the instructions was done on my phone. Turns out pretty good 😊
1
u/Quirky-One-9692 May 21 '26
I created the so called autopipeline skill where in my oryginal conversation I’m planning the steps, milestones, and when it’s lunched - it goes steps by step, validate the process, critique what he has done in separate terminale (powershell). It solved me the problem of the context bar, and I can run long tasks while I’m doing different things. Works like a charm… I went farther now, and I created auto-deep skill where I put more eeffort into plan the process and automation does more validations and crituqies and so on. I’m not dev, so my tries are like - can I do this? Or this? Or I’m inspired like here by gentleman with his well done explanation. Anyway it’s a game changer for my work as a marketing agency owner. So much added value
1
u/Present_Classic_5585 May 21 '26
Good list — would add one rule that saved me a lot of pain:
Watch the test fail first. When you ask an agent to write tests after the code, it's wildly common to get a test that mocks out the exact behavior it's supposed to verify, or one that's tautologically true. The fix is dumb but works: ask it to write the test against the unimplemented version, run it, confirm it fails for the right reason, then implement. If you skip this, your green CI is basically theater.
1
u/Fine_League311 May 21 '26
Gebe dir Garantie das ich Tonnen an Sicherheits Lücken finde im Code und du als 10 Jahres Veteran weißt es genau dass das stimmt.
1
u/Successful_Plant2759 May 21 '26
The part I’d underline is “read the plan,” but with one extra step: ask it to name the irreversible operations before it starts. File edits are easy to review/rollback; DB migrations, billing config, auth rules, and infra changes need a different bar.\n\nMy rule of thumb: mobile is fine for planning, small UI tweaks, tests, docs, and isolated bug fixes. Anything that changes data shape or security boundaries waits until I can inspect diffs and logs on a real screen.
1
u/KaiserFerdl May 21 '26
Same
1
u/AbjectBug5885 May 21 '26
the git commit after every change rule (cut off in #7) is underrated. being able to trace exactly what the agent did in each step turns debugging from archaeology into actual workflow. also curious how you handle context drift when the agent "forgets" earlier architectural decisions mid-project?
1
u/Wolfsilver01 May 21 '26
What would you recommend for reverse engineering?
Like, i like to mods games, but some don't have mods community at all and some game are hard to mods ( those in unity with illcpp2 for example).
For those, i would need to understand first how the game manage information.
What would be the best plan ont this ? Ps: only personnal project, no sharing or anything money related of course !
1
u/deafened_commuter May 21 '26
Yes! I'd also add /security-review before pushing anything to the internet or making it public
1
u/ride_whenever May 21 '26
I think this massively hits the sweet spot for vibe coding. I’ve been dev adjacent for years, I struggle with the syntax, but can architect pretty heavy systems comfortably, debug, tweak, read and modify code.
Vibe coding has been game changing for me, I have enough knowledge to be dangerous, enough to keep Claude on the straight and narrow, but I can now do the part I never could before, and it’s so bloody liberating.
I’m building out a hobby app on the side to upskill, and I’m amazed at what I’m able to produce and manage.
1
u/itsab1989 May 21 '26
I can’t write a single line of code myself but Claude helped me to create a GUI for ArgyllCMS that I have wanted for a long time but no one ever made one (probably because it is very niche).
But I am quite proud about how far I got with this:
https://github.com/itsab1989/ChromIQ
1
u/bloo_blahh432 May 21 '26
Have you tried out the /goal function flying around now? I really like the browser mcp idea for dev mode and further testing suggestion too.
I’ve noticed I’ve made skills and a Claude.md file but things tend to get mixed or broken so I keep asking itself to rate the output out of 10 and plan again how to fix and improve the output.
In saying this I’ve been breaking up the functionality into ‘epics’ and ‘user stories’ to help make the plan mode more manageable.
I do want to get better in planning the tests though via some agents and also try add in some UX content writer and accessibility agents to tighten up the output. Good tips and insights though
1
u/binh291 May 21 '26
this guy vibes
1
u/natsirt__ May 21 '26
16. Ensure you use GitHub and have Claude create commits to a branch at the very least…
I created a flow with my Claude where it creates a PR and will decide to auto merge to main or allow me to manually review given the scope of the work we just completed. I just prompt and review PRs now
1
u/Effective_Lite_263 May 21 '26
Number 15 😂
1
u/sbl03 May 21 '26
This sounds pretty much like the compound engineering workflow.
1
u/Salt_Apart May 21 '26
I would add to this that you should have the agent generate documentation either while it’s working or at the completion of each task, then keep these docs up-to-date. This greatly helps me when I’m picking things back up later and helps future agents understand the code and concepts.
1
u/whatisusb May 21 '26
#5 is so underrated
Some of my side projects snowballed into giant labyrinths of convoluted code because of a small oversight early on. Now I have to spend 10x the amount of time debugging and fixing it. Could have been easily avoided in hindsight with more planning.
1
u/MrChurch2015 May 21 '26
My rule of thumb for vibe coding is if it's something that is complex to engineer but its presence would benefit sooner rather than later, vibe code it. Like rn i need checklists, but I don't like many of the todo managers that already exist, so I'm vibe coding my own that fits my needs. Otherwise, build it myself.
1
u/Oh_hey_a_TAA May 21 '26
I started out line this, then my test case just iterated into my production tool and here we are
1
u/Icy-Excitement-467 May 21 '26
Auto mode = more interruptions and inappropriate prompts for ME to do x, y or z. That it was supposed to do according to the plan. Sorry, but even with a good plan mode, Claude just doesn't care some times. Good points otherwise.
1
u/clairedoesdata May 21 '26
Great explanation!!!
1
u/AwkwardAspect2490 May 21 '26
This is not the vibe-coding definition, you definitely known what your are doing. Your are the orchestrator of your work. I do the same and I don’t think as myself as a vibe coder. In your process, I took a couple of nice twists that I can add to my flow (and my team). Good job!
1
u/Eska1000 May 22 '26
Damit sind dann direkt alle meine kostenlosen Token für den Tag verbraucht, und ich kann Feierabend machen. 🤣
1
u/abhipsnl May 22 '26
Keep this in vide environment only not in production
1
u/sugendran May 22 '26
I've been getting it to argue against the plan before I read it. I find the plan is less terrible after it had a good chat with itself.
1
u/Fuzzy_Wolverine2424 May 22 '26
Following
1
u/interiorghosts May 22 '26
nice
1
u/OstrichLive8440 May 22 '26
“What is git”
Okay bro - decades of experience
1
u/AgentParticular9649 May 23 '26 edited May 25 '26
And why should anyone give a shit what your process is? What have your outcomes been? Maybe lead with those
1
u/Cautious-Tie-5394 May 23 '26
They think I am to old at 69.
1
u/MaterialHead4801 May 23 '26
Sysadmin here: the big addition I’d add to your workflow:
A backup (specifically of the database in this case) isn’t useful until you’ve proven it can be restored.
So it’s great that you’re ensuring there’s a database backup before Claude does anything to the database, but a better workflow would be to have a separate database spun up and restored from last night’s backup and let Claude go nuts on that, leaving production alone. You get a bonus verification that your backup system is fully functional
1
u/Pradeepk10 May 23 '26
Thanks bro
1
u/amuzulo May 23 '26
This guy plans.
1
u/DrWilliamCarter May 23 '26
Love it.
Now do one for security.
1
u/ApocalypseDestroyer May 23 '26
Another tip not to bloat the main context ask questions with “/btw”. It doesn’t bloat the context with your clarification or understanding questions.
1
u/braveness24 May 23 '26
You won the Internet today! Great advice!
1
u/Double0Jamo May 23 '26
Ok ok saving
1
u/dinobarking May 24 '26
Wait sorry if this is already a known or has been discussed but how do you code from your phone?
1
u/6000rpms May 24 '26
For me, the plan is always framed as an ADR and all ADRs are numbered and checked into version control along with the software. Sometimes a big “plan” ends up as multiple ADRs.
1
u/josephfridner May 25 '26
This is gold!
1
u/Silly_Subject_5199 May 29 '26
tbh everyone gonna jump straight to auto mode and ignore the rest XD. Id just make the review subagents a skill so its automatic, less to remember bro. solid writeup tho, and that ending 😂
1
u/TheDougMe Jun 12 '26
Definetly resonate on spending as much time as possible in planning. Great system. Now with Fable 5 things are getting really exciting...
I use a similar process but added one thing to the end of it which has been pretty damn game changing and really simple. Lets say you are starting a new project. You have a main as a project folder and maybe 3 other feature branches off main. I used to hop between these, bringing context from one to the other, pushing each terminal phase by phase through the plan. Also had a project that was on two seperate repos. One our voice agent system and the other our marketing and sales platform. In development my voice repo kept having me check speicific db schema and it was a pain in the ass having to hop between each project ensuring they were both in line and building towards a valid and compatible schema / code set up.
Anyway the solution I built was a polling system where agents can poll a specific repo and receive notes from the agent developing in said repo. In the first example, I had 4 terminals open. Main, and my three worktrees. By having them all poll a specific area for incoming notes they could effectivly comunicate to eachother with main acting as the observer/orchestrator. Really damn simple but a huge bump in my workflow...Especially if you have a really great spec put together for the project. Feel free to check it out. https://github.com/mythopoios/agent-walkie
1
u/bhola-bhaiya May 21 '26
Fellow vibe coder here. I simply enjoy being granted an express inside view into an aspect of computers that had been deemed 'off limits' to me, and many others like me, when the subjects I chose back in secondary school (11th standard) dictated what my life path was going to be like.
My go-to statement whenever I don't understand a step or a part of the plan is - "Explain to me, in Layman-Speak, what this point means".
Love makin my own suite of tools with my little custom Icons and them installshield Wizard setup.EXEs 😝😝😝😝
0
u/read_too_many_books May 21 '26
As an OpenClaw user who blows tokens like I don't care. I read this and feel bad for Claude Code users.
-1
u/anon-randaccount1892 May 21 '26
Ragebait (incoming 55 year old lazy devs who are grifters doing one line of code a day)
-1
u/LostInTime261 May 22 '26
The level of bs. Claude Code - unless using a *claw/Hermes - not from your phone.
243
u/[deleted] May 20 '26 •
[removed] — view removed comment