Customers & growth · Developer marketing

Community guidelines framework

Best for Startup to Growth

1CONDUCT2MODERATE3ENFORCE

Use it when

You run a developer community or open source project and need written rules of conduct, a private way to report breaches and a fair way to enforce them.

Skip it when

  • The rules are written and you need tools, moderators and escalation paths to apply them every day. Use Moderation framework.
  • You have not yet decided what the community is for or who it serves. Use Community strategy framework first.
  • The space is a brand page or group on social media run by a marketing team. Use Community guidelines & moderation.

What to apply first and what to use instead are listed below.

Approaches

Escalating ladder

Each breach maps to one of four levels from a private correction to a permanent ban, as in Contributor Covenant 2.1.

  • Pro It is short and widely adopted, so members can predict the consequence of a breach.
  • Con It sets out consequences only and gives a member who wants to make amends no route back.

Repair-focused ladder

Each level pairs a consequence with a repair step, such as an apology or conditions for return, as in Contributor Covenant 3.0.

  • Pro It offers members a defined way back into the community after a breach.
  • Con Moderators must agree on and track repair conditions, which takes more time and judgment.

Inputs

  • Template
    A published code of conduct to adapt, such as the Contributor Covenant, the Django code or the Citizen Code of Conduct.
  • Community spaces
    Every space in scope, such as forum, chat, repositories, events and official social accounts, with the owner of each.
  • Enforcement team
    The named people who will receive and decide reports, and a separate contact for reports about them.
  • Reporting channel
    A private email address or form that only the enforcement team reads.
  • Past incidentsOptional
    Moderation notes and member complaints from the last 12 months, from the current moderators.

Steps

  1. Adapt the template, keeping its standards, setting the scope to your spaces and filling in the reporting contact.
  2. Name the enforcement team and the backup contact, and write the rule that anyone involved in a case declares it and steps aside.
  3. Write the enforcement process, covering acknowledgment, fact gathering, who decides, the response ladder and how the reported person and the reporter are told.
  4. Publish the code in the repository root and link it from the readme, contributing guide, forum, chat and event pages.
  5. Set up a private case log with fields for report date, case code name, status, consequence and resolution date before the first report arrives.
  6. Set a schedule to publish anonymized report counts, such as every six months as Django does, and review the code after each publication.

Output

A published code of conduct, a private enforcement manual and an empty case log ready for the first report.

  • Standards (expected and unacceptable behavior)
  • Scope (spaces and when it applies)
  • Reporting channel and backup contact
  • Enforcement team and conflict rule
  • Response ladder with consequences
  • Steps for telling the reported person and the reporter
  • Case log fields
  • Transparency schedule

Done when

  • Every community space links to the code of conduct.
  • The reporting contact is filled in, and a test report reaches every enforcement team member.
  • A backup channel exists for reports about members of the enforcement team.
  • Each ladder level names the behavior it covers and its consequence.
  • The case log fields are set before the first report.

Measure

Each quarter, track reports received, time to first acknowledgment, time to resolution and repeat breaches by the same person. Compare with your own earlier quarters. The guidelines are working when acknowledgments stay prompt, repeat breaches fall and member feedback mentions harassment less often. A rise in reports soon after launch can mean members trust the channel, so read it alongside repeat breaches.

Hypothetical example

Fernlight, an open source charting library, adopts Contributor Covenant 3.0 for its repository, chat server and meetups. Three maintainers form the conduct team, and the foundation board takes reports about them. Two reports arrive in the first quarter. One is a heated code review. The team sends a private warning and the contributor apologizes. The other is a repeat insult after a warning. The team limits that person's chat access for 30 days with conditions for return. Both cases go into the log, and the counts are published at six months.

Common mistakes

  • Publishing a template with the reporting contact still blank. Fill it in and send a test report before you announce.
  • Asking the reporter to confront the person. The enforcement team handles all contact with the reported person.
  • Deciding a case you are part of. Declare the conflict and let members without one decide.
  • Closing a report that is not a breach without a word. Tell the reporter why, and consider whether the code needs a change.
  • Writing the enforcement process after the first incident. Publish it before any report arrives.

Sources

Show all 5 sources

By company stage

  1. Pre-IdeaNot applicableNo community or project exists to need rules.
  2. IdeaUsefulA small project benefits from a basic code of conduct but can get by informally.
  3. Early StartupUsefulRules are worth having as the community grows, though channel proof matters more.
  4. StartupCriticalA growing developer community needs written rules, a private reporting channel and fair enforcement.
  5. GrowthCriticalThousands of members make consistent enforcement and a named team essential.
  6. ScaleUsefulRules are usually already set and need only periodic revision.
  7. EnterpriseUsefulPolicies exist at corporate level and this adds value mainly for specific communities.

Apply first

Nothing. You can start here.

Use instead

  • Moderation framework

    The rules are written and you need tools, moderators and escalation paths to apply them every day. Use Moderation framework.

  • Community strategy framework

    You have not yet decided what the community is for or who it serves. Use Community strategy framework first.

  • Community guidelines & moderation

    The space is a brand page or group on social media run by a marketing team. Use Community guidelines & moderation.

Recommended resources

No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.

Progress is not saved until you have an account. Create a free account