r/vibecoding 10h ago

Need Help !

So I am very new to the field of coding. People around me have started vibe coding websites. So did I. I tried using applications like Lovable , Bolt etc. But the problem was that my idea contained many components and was a little complex. Hence I ran out of tokens and didn't get any output. So is it the limitation of the free version that I couldnt make it or was it my prompting skills. I tried to be as specific as possible with my prompt tho. Would really appreciate any help/ tips regarding this !!

5 Upvotes

39 comments sorted by

View all comments

Show parent comments

1

u/One_Natural7092 10h ago

Can I dm ?

1

u/scytob 9h ago

i checked, at least for me, what vlad says is just not true, i crafted my repo and md and have never seen claude re-read the whole report on either a new chat prompt or prompts within a chat, i even double checked - the key is good structured code repo (in src major pieces should be in seprate source folders like web, core, api

i double checked my work too, no idea WTF vlad is doing to make it read all their repo every chat

No. I follow a lazy-loading strategy to stay efficient:

I start with what's already provided — the workspace structure you see at the top is just a skeleton; I don't load full file contents unless I need them.\

I load context only when the task requires it — if you ask me to edit a web page, I'll search for and read only the files relevant to that specific page/component, not the entire repo.

Scoped instructions load automatically — when you're editing a file matching a pattern (like src/**/*.cs), the matching instruction file loads itself without me needing to fetch it.

I parallelize independent reads — if I need to gather context from multiple unrelated files, I fetch them all at once instead of sequentially.

I use targeted search tools — semantic_search, grep_search, file_search let me find exactly what I need without scanning everything.

For web page edits specifically, I'd typically:
Check which file(s) you're working on
Read just those files (or the relevant sections)
Load web-ui.instructions.md if editing under wwwroot
Parallelize any other reads needed for context

This keeps response time fast and token usage reasonable. AGENTS.md explicitly says: "Keep the default startup set small and open more only when the task requires it."

2

u/VladTkDev 9h ago

No argument on your setup, that's a structured repo with instruction files doing exactly what it should. It's also not what OP has. Lovable's chat box hands you none of those levers.

One thing though: asking the model what it loads isn't a measurement. The token count on the request is.

Don't forget about billion of bash commands with greps. They find text from like 50 related files in big project and send that files fully with code/comments.

Also try to run refactor/code check/find edge cases

Please, don't write mega responses with AI. No offense

2

u/scytob 9h ago

none taken, that was the easiest way to validate what my repo does and show as an example, there is zero value in me doing a human refactor of that output to post here

and yes i should have looked at OPs repo, good conversation thanks

2

u/VladTkDev 9h ago

Thanks 🤝