Prompt LibraryLegalCode of Conduct Creator

Code of Conduct Creator

Generate comprehensive codes of conduct for workplaces, communities, open-source projects, events, and schools with clear behavioral standards, enforcement procedures, and reporting mechanisms

Used 74 times
Expert Verified
OS
Created byOguz Serdar
CM
Reviewed byCuneyt Mertayak

Prompt Template

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.

Variables
11

select
text
text
text
select
select
text
text
select
select
text

Use this prompt anywhere

10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.

Get Early Access

About Code of Conduct Creator

Every 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.

How to Use Code of Conduct Creator

1

Copy the prompt template

Copy this template into ChatGPT, Claude, Gemini, or the Dock Editor to get started.

2

Set the context

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.

3

Define values and enforcement

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.

4

Review and customize

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.

Who Uses Code of Conduct Creator

Startups and Small Businesses

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.

Open-Source Maintainers

Creating contributor guidelines that keep issue discussions and code reviews respectful. The prompt auto-includes async communication norms when you select open-source project.

Event Organizers

Establishing behavior expectations for conferences, meetups, or workshops. The prompt adds incident response protocols and safe space policies for in-person events.

School Administrators

Drafting student and staff conduct policies with age-appropriate language. Selecting school as [CONTEXT_TYPE] adds sections on parent involvement and academic integrity.

Frequently Asked Questions

You Might Also Like

Discover more prompts that could help with your workflow.

Skip the copy-paste

10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.

Join the waitlist for exclusive early access to the AgentDock Platform