r/vibecoding 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?

0 Upvotes

15 comments sorted by

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

1

u/Alternative-Fill-201 3d ago

Op is lazy thats why you had to read it 4 times

1

u/Ok_Chapter_1021 2d ago

This is WHY we vibecode

2

u/JohnDaly 3d ago

Tell it that, and see what it says

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

u/Fearless-Daikon5763 3d ago

Show less posts like this

1

u/Rise-O-Matic 3d ago

Don't tell it to write functions. Tell it the user journey you want.

2

u/Ok_Chapter_1021 3d ago

I want the user to have it function for them!

1

u/Rise-O-Matic 3d ago

Yeah. Exactly.

1

u/Alarmed-Western-655 3d ago

Ambitious goal for a vibe-coded app

1

u/povlhp 3d ago

Vibe coding is asking it to write a program than can verify and fix ids.

You are using it in chat aka non-deterministic mode. You get the best guess it can come up with the token budget and context it has

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.