“Postel’s Law, aka the Robustness Principle is useful here. Be conservative in what you transmit, liberal in what you accept, and reject malicious patterns. Another way to put that could be: speak gently, keep an open mind to what others say, and don’t be a doormat.
From a lovely essay, “How to be Polite … for Geeks”, by Quinn Norton.