This legal document, the "Community Guidelines" from GitHub, can be used as a framework for establishing and maintaining a respectful and collaborative online community, specifically for platforms similar to GitHub where developers host and collaborate on software projects. It outlines expected behaviors, steps to take if content or behavior offends community members, actions GitHub may take if policies are violated, and how to appeal decisions made by GitHub. The guidelines emphasize welcoming open-mindedness, respect, and empathy among users, while providing tools for managing interactions like moderating comments, locking conversations, blocking users, and limiting interactions. The document can be adapted for other communities by customizing sections to fit specific community goals and incorporating relevant links to other organizational policies.