All of this is probably more relevant to communities making tech products, but hope this helps:
typical go-to code of conduct http://contributor-covenant.org/
Mozilla has been doing thinking and writing about OSS community D&I and there's implications for community structure, leadership and interactions https://medium.com/mozilla-open-innovation/a-time-for-action-innovating-for-diversity-inclusion-in-open-source-communities-6922fef4675e https://medium.com/mozilla-open-innovation/reflection-inclusive-organizing-for-open-source-communities-9c44f0b689c1 http://contributor-covenant.org/