# Code of conduct and safety — Open Source Contribution Guide

Source: https://www.geekswithgeeks.com/en/open-source/open-source-21

> Use Code of conduct and safety to make a clear, evidence-based decision.

## Understand Code of conduct and safety

Start by naming the decision behind **Code of conduct and safety**. A strong answer explains the goal, the constraints, and the evidence you would use before acting. Do not treat a checklist as understanding: connect each step to the outcome it protects.

## Keep the workflow visible

Use this simple path while practising **Code of conduct and safety**: understand the situation, make one deliberate choice, then review the result.

![A four-stage workflow for Code of conduct and safety.](assets/figures/open-source/section-5-map.svg) — Figure 5.1 — Decide, act, check and improve.

## A useful comparison

Think of **Code of conduct and safety** like planning a journey: a destination without a route is only a wish, while a route without a destination wastes effort.

Check the decision, not just the terminology.

**Quiz:** What is the most useful way to apply Code of conduct and safety?

- [x] State the goal, constraints and evidence before choosing an action.
- [ ] Copy a template without checking whether it fits.
- [ ] Use the most complex option first.

*Answer:* State the goal, constraints and evidence before choosing an action.. Good practice makes the reasoning visible, so you can review and improve it.
