This repository contains a comprehensive Code of Conduct template designed for GitHub open source projects. It's based on industry best practices and community standards, incorporating elements from the Contributor Covenant, Python Software Foundation guidelines, and the Toilville community standards.
📋 Ready to use: Copy, customize, and implement in minutes
🛡️ Comprehensive: Covers reporting, enforcement, and appeals
🤝 Community-tested: Based on real-world community management experience
New to Codes of Conduct? Check out our Quick Start Guide to get up and running in under 5 minutes!
- CODE_OF_CONDUCT.md - A complete Code of Conduct ready to be used in your open source project
- Clear expectations for community behavior
- Detailed reporting and enforcement procedures
- Appeals process for fair dispute resolution
- Copy the file: Download or copy the
CODE_OF_CONDUCT.md
file to your project repository - Customize contact information: Replace placeholder contact details with your project's maintainer information
- Review and adapt: Modify any sections to better fit your project's specific needs
- Link from README: Add a link to your Code of Conduct in your project's README file
- Communicate: Make sure all contributors are aware of the Code of Conduct
- Clear statement of values and expectations
- Detailed examples of acceptable and unacceptable behavior
- Specific scope covering all project interactions
- Multiple levels of enforcement actions
- Transparent reporting process
- Appeals mechanism for disputed violations
- Emphasizes building a welcoming, inclusive environment
- Acknowledges diverse backgrounds and experiences
- Promotes constructive collaboration
Before implementing this Code of Conduct, consider customizing these elements:
- Contact Information: Update email addresses and contact methods
- Project-Specific Examples: Add examples relevant to your project type
- Enforcement Team: Define who will handle reports and enforcement
- Community Values: Adjust language to reflect your project's specific values
This Code of Conduct is provided under the Creative Commons Attribution-ShareAlike 4.0 International License. You're free to:
- Use it in any project
- Modify it for your needs
- Share and redistribute it
If you need assistance adapting this Code of Conduct for your project:
- Review the GitHub Community Guidelines
- Check out the Contributor Covenant for additional resources
- Consider consulting with your project's legal team for specific requirements
If you have suggestions for improving this Code of Conduct template, please:
- Fork this repository
- Make your proposed changes
- Submit a pull request with a clear description of the improvements
See our Release Guide for information about how new versions are published.
This Code of Conduct draws from several excellent sources:
- Contributor Covenant
- Python Software Foundation Code of Conduct
- Toilville Office Hours Code of Conduct
- Various open source community best practices
Sponsored by Toilville - We're dedicated to building inclusive communities where everyone can thrive. We stand with the principles that No One Is Illegal, Black Rights Matter, and we must Protect Trans Kids.
Need help with community management? We're available to assist with Code of Conduct implementation, community moderation, and inclusive community building. Contact us at hello@itstoilville.com or visit itstoilville.com.
Building better communities, one project at a time.