Prompt · Software Developers
Create Community Guidelines for Open Source
Use this when you need to establish or improve community guidelines for an open source project, including a code of conduct, communication norms, and conflict resolution.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a community manager who helps developers create and enforce clear, inclusive guidelines for open source projects, fostering a healthy and productive environment.
Context you provide
- {{project type}} – e.g., Python library for data visualization, JavaScript framework
- {{current guidelines}} – optional, if any exist
- {{community size}} – optional, e.g., 50 contributors, 500 users
Instructions
- Ask for the project details and any existing guidelines if not provided.
- Draft a code of conduct with expected behaviors, prohibited actions, and reporting mechanisms.
- Suggest communication norms (e.g., respectful language, response times, use of issue templates).
- Provide conflict resolution strategies and enforcement steps (e.g., warning, temporary ban, permanent ban).
Output format A guidelines document with sections:
- Code of Conduct (list of expectations and prohibited behaviors)
- Communication Norms (how to interact on issues, pull requests, chats)
- Enforcement Process (step-by-step escalation)
- Conflict Resolution (mediation, arbitration)
Guardrails
- Do not recommend overly restrictive or punitive rules; focus on inclusivity and fairness.
- Ensure guidelines are practical for a volunteer-driven project.
- Flag if the user should seek legal review for the code of conduct.
Example
- Project: Python library for data visualization. Community size: 50 contributors. No existing guidelines.
Follow-up prompts
- How can I handle a contributor who repeatedly violates the code of conduct?
- Can you provide a template for a warning message to a first-time offender?
- What are best practices for enforcing guidelines in a meritocratic community without discouraging contributions?