Generate comprehensive codes of conduct for workplaces, communities, open-source projects, events, and schools with clear behavioral standards, enforcement procedures, and reporting mechanisms
You are an experienced policy advisor who has drafted codes of conduct for Fortune 500 companies, major open-source foundations, international conferences, and educational institutions. You understand how to balance clear behavioral expectations with a welcoming tone that encourages participation while maintaining accountability. I need you to create a code of conduct for a [CONTEXT_TYPE:select:workplace,community,open-source project,event or conference,school or educational institution]. The organization or group is called [ORGANIZATION_NAME] and operates in the [PRIMARY_DOMAIN] space. Our core values that should guide this code of conduct are: [VALUES] The community or organization size is [SIZE:select:small (under 20 people),medium (20-100 people),large (100-500 people),very large (500+ people)] and our preferred enforcement approach is [ENFORCEMENT_APPROACH:select:restorative (focus on education and reconciliation),balanced (graduated responses based on severity),strict (clear consequences with limited flexibility)]. The primary contact for reporting violations is [REPORTING_CONTACT] and the code should comply with laws in [JURISDICTION]. The document tone should be [TONE:select:warm and welcoming,professional,formal and authoritative] and the length should be [LENGTH:select:concise (1-2 pages),comprehensive (3-5 pages),detailed (5+ pages with examples)]. Any additional context about our specific needs or concerns: [ADDITIONAL_CONTEXT?] Your code of conduct must include these sections: 1. Opening statement - Explain the purpose of this code, who it applies to, and where it applies including both physical and digital spaces 2. Values and principles - Translate our core values into clear guiding principles that inform expected behavior 3. Expected behaviors - Provide specific examples of positive behaviors we want to encourage, tailored to our context type 4. Unacceptable behaviors - List behaviors that will not be tolerated, with concrete examples appropriate to our setting, including harassment, discrimination, and context-specific concerns 5. Enforcement and consequences - Describe the graduated response system aligned with our enforcement approach, from informal correction through warnings to suspension or removal 6. Reporting procedures - Explain exactly how to report violations, what information to include, expected response times, and confidentiality protections 7. Scope and applicability - Clarify when and where this code applies, including any representation of the organization in external settings 8. Amendments and review - Describe how this code can be updated and how often it will be reviewed For open-source projects, also address contributor expectations around code review feedback, maintainer responsibilities, and asynchronous communication norms. For events, include an incident response protocol for handling real-time situations and a safe space policy. For workplaces, address relationships with customers, confidentiality obligations, and compliance with employment law. For schools, address age-appropriate language, parent or guardian involvement in enforcement, and academic integrity. Format the output with clear Markdown headings. Use bullet points for lists of behaviors. Include a final section for acknowledgment signatures if appropriate for the context. Write in second person to speak directly to the reader where it makes the code feel more personal and binding.
Use this prompt anywhere
10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.
Get Early AccessEvery organization needs ground rules. Whether you're running a startup, managing an open-source project, or organizing a conference, a code of conduct sets expectations for behavior and gives people a clear process when things go wrong.
This prompt generates a complete code of conduct tailored to your [CONTEXT_TYPE], from workplaces to open-source communities to schools. Define your organization's [VALUES] and choose an [ENFORCEMENT_APPROACH] that fits your culture, whether that's restorative, balanced, or strict. The output covers eight essential sections: opening statement, values and principles, expected behaviors, unacceptable behaviors, enforcement and consequences, reporting procedures, scope, and amendment process.
What sets this apart from static templates is adaptability. The prompt adjusts for your [SIZE] and adds context-specific sections automatically. Open-source projects get contributor norms and async communication guidelines. Events get incident response protocols. Workplaces get confidentiality and compliance sections. Schools get age-appropriate language.
Open it in the Dock Editor to refine the language with your team before publishing. You can also use it in ChatGPT, Claude, or Gemini. If your code needs to reference confidentiality policies, pair it with a non-disclosure agreement or terms of service.
Copy this template into ChatGPT, Claude, Gemini, or the Dock Editor to get started.
Select your [CONTEXT_TYPE] (workplace, community, open-source project, event, or school) and enter your [ORGANIZATION_NAME]. Provide your [PRIMARY_DOMAIN] so the AI tailors examples to your industry.
List your [VALUES] as a comma-separated list. Choose an [ENFORCEMENT_APPROACH] and [SIZE] so the consequences and reporting procedures match your organization's structure. Set the [JURISDICTION] for legal compliance.
Read through the generated code carefully. Adjust the [TONE] if needed and check that the reporting procedures name a real [REPORTING_CONTACT]. Have leadership review before distributing.
Building a workplace culture from scratch. Set [CONTEXT_TYPE] to workplace and [ENFORCEMENT_APPROACH] to balanced for a document that's firm without feeling corporate.
Creating contributor guidelines that keep issue discussions and code reviews respectful. The prompt auto-includes async communication norms when you select open-source project.
Establishing behavior expectations for conferences, meetups, or workshops. The prompt adds incident response protocols and safe space policies for in-person events.
Drafting student and staff conduct policies with age-appropriate language. Selecting school as [CONTEXT_TYPE] adds sections on parent involvement and academic integrity.
Discover more prompts that could help with your workflow.
Create comprehensive residential, commercial, or room-rental lease agreements with all essential clauses, payment terms, and legal provisions tailored to your jurisdiction
Create comprehensive, customized Terms of Service agreements for websites, SaaS platforms, mobile apps, marketplaces, and subscription services with proper legal structure and jurisdiction awareness
Draft a comprehensive power of attorney document with proper legal structure, clear delegation of authority, and state-specific considerations
10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.