The biggest issue I've had with vibe coding, by far, is the lack-of and/or outdated documentation for specific APIs.
I now spend time gathering as much documentation as possible and inserting it within the prompt as a <documentation> tag, or as a cursor rule.