- Code of Conduct longer than 3 lines clearly spelling out expectations. Not everyone has the same "obvious" expectations.
- Clear written process for dealing with complaints, member suspensions and expulsions.
- Just get rid of people that are consistently abrasive and cause problems with multiple other people over time, no matter how good or important they are. Just blamelessly ship them out earlier than later. Somehow. But it's easier said than done. A clear code of conduct sooner than later to fall back on as the "bad guy" helps rather than needing individual people to make the "bad guy" decision. You can just follow the process and whoever it's instituted against has a clear set of rules to expect.