I think the pathway from vibe only to code mastery is pretty straightforward, but definitely requires curiosity and patience. In a nutshell : audit your code and rebuild when stuck.
- Audit early, to understand what a simple codebase with simple functionality looks like.
- Audit often to recognize (as best you can) when and how the codebase goes off the rails.
- Rebuild from scratch whenever you get stuck.
- Rinse and repeat to see your understanding improve while extending the time between fresh starts and getting stuck.