You have taking your time to give the detail explanation of what you understand by conflict, that is really impressive!
Indeed proactive communication, setting clear goals and creating pleasant environment are ways to avoid conflict either in a team or between individuals.
Best wishes 🎉