The first version of anything you build will be wrong in ways you cannot predict. That is not a failure of planning; it is how learning works. The goal is to make those mistakes cheap to discover and cheap to fix.
Tools that help
By the end of the week we had a fix we were proud of, a test that would catch the problem if it ever came back, and a short write-up for the rest of the team. That last part is the one most people skip, and it is often the most valuable.
Programs must be written for people to read, and only incidentally for machines to execute.
Harold Abelson
Trying it in a real project
Small pull requests get reviewed faster, get better feedback and are far easier to roll back when something goes wrong. If a change is too big to review in one sitting, it is probably too big to merge safely.

It is worth remembering that every dependency you add is code you did not write but are now responsible for. Some are absolutely worth it. Others save an afternoon of work and cost a weekend of upgrades later.