Minimal Code of Conduct for Small Projects

Create a concise, effective code of conduct for small open source projects. Covers the essential sections without overwhelming detail for projects with few contributors.

Structure

Detailed Explanation

Minimal Code of Conduct

Not every project needs a lengthy code of conduct. Small projects with a handful of contributors can benefit from a concise document that covers the essentials without bureaucratic overhead.

Essential Elements

A minimal code of conduct needs only four things:

  1. A clear statement of intent — What kind of community you want to build
  2. Expected behaviors — 3-5 positive behaviors you value
  3. Unacceptable behaviors — 3-5 specific behaviors that will not be tolerated
  4. A reporting mechanism — An email address or method to report issues

Example Structure

# Code of Conduct

## Our Commitment
We are committed to providing a friendly, safe, and welcoming
environment for all contributors.

## Expected Behavior
- Be respectful and considerate
- Accept constructive feedback gracefully
- Focus on collaboration

## Unacceptable Behavior
- Harassment of any kind
- Discriminatory language
- Personal attacks

## Reporting
Report issues to: maintainer@example.com

When Minimal Works

A minimal code of conduct is appropriate when:

  • Your project has fewer than 10 active contributors
  • Contributors already know each other
  • The project is in early stages and may grow later
  • You want a placeholder while planning a more comprehensive version

Growing Beyond Minimal

As your project grows, plan to expand your code of conduct. Signs you need a more detailed version:

  • More than 20 contributors
  • Multiple communication channels (chat, forum, issues)
  • Public events or conferences
  • First reported incident that reveals gaps in your policy

Use Case

Solo developers or small teams starting a new open source project who want to establish basic behavioral expectations without the overhead of a comprehensive multi-page document.

Try It — Code of Conduct Generator

Open full tool