if you make sure to build out the UI/UX first and then start coding a feature you can accomodate for this a bit
I think more important is just to get out of the engineering mindset and try to think like a user. I bet just sitting down with a non-technical person and working through the UI design would help a lot to keep me from going into my engineering mindset.