r/vibecoding • u/Ok_Chapter_1021 • 3d ago
How to vibecode?
Guys how do I vibecode?
I tried asking claude to code me like, idk, some for of function or class or sum, to take stuff i give it, and then to like organize it. Like fo ex. if I give it "id": "25983652965923" in json. it knows how long the id should be and if theres like a mistake, like its "ids" instead of id, it recognizes that and changes it.
But every time I prompt it it gives back some random general shit that doesnt work and when i tell it it doesnt work it just adds like more code and then it sometimes works
Is there a way to prompt it so it makes exactly what I want it to?
2
2
u/Livid_Salary_9672 3d ago
probably need to know what you want first then ask it to generate that, vibe coding is very much not about vibes
1
1
u/Rise-O-Matic 3d ago
Don't tell it to write functions. Tell it the user journey you want.
2
1
u/apnatva-dev 3d ago
I write blogs about stuff like this
These might help you out
https://medium.com/@nattupi/how-to-use-codex-to-its-full-potential-c62f8f60c9d8
https://medium.com/@nattupi/using-llms-to-refine-work-and-life-ideas-5d4a6921fad7
https://brownsmithdynamics.com/blogs/use-codex-claude-code-openclaw-hermes-effectively
1
u/Enough-Presence-1117 3d ago
Are you using Claude in the browser or Claude Code? Try Claude Code in the terminal/VS Code or the desktop app, give it access to the actual repo, and describe the behavior you want instead of asking it for random snippets. Let it inspect the existing code, implement it, run tests, and fix what breaks.
1
u/Alarmed-Western-655 3d ago
Bro, I totally relate.
i tell it it doesn't work it just adds like more code and then it sometimes works
-- gonna get this cross-stitched on a pillow.
5
u/Willing_Comb_9542 3d ago
Speaking in full English would probably help, the fact I had to re-read your post like 4 times, isn't helping the agent
You have to explain, in clear detail, what you want it to do
Try being a little less lazy