Lesson 3 of 9 · 26m
Contribution Workflows That Scale Past Heroes
Design issue templates, PR expectations, review norms, and automation so outside contributors can succeed without a maintainer holding their hand.
The first time a stranger sends a good patch it feels like free labor. The hundredth time a stranger sends a half-baked patch it feels like unpaid support. Both reactions miss the point: contribution quality is mostly a function of the system you publish. If the build is impossible to run locally, if expectations are tribal knowledge, if reviews take six weeks, you are training people to either disappear or dump low-context work over the wall.
Make the happy path executable
CONTRIBUTING.md should be a route through the repository, not a manifesto. Include exact setup commands, test commands, branch conventions, formatting requirements, and what kind of PR is likely to be merged.
## Local development
git clone https://github.com/acme/widgets.git
cd widgets
python -m venv .venv && . .venv/bin/activate
pip install -e '.[dev]'
pytest -q
ruff check .Then make CI enforce the same gates. Nothing destroys contributor trust like a reviewer demanding checks locally that CI would have caught, or ignoring failures that CI already reported.
Issues are intake, not a chat room
Good issue templates ask for the information maintainers actually use: version, environment, reproduction, expected behavior, actual behavior, logs. Do not demand a corporate root-cause analysis for a typo. Keep templates short, and keep a plain "open a blank issue" escape hatch for maintainers and experienced contributors.
Pull requests need a social contract
Say whether draft PRs are welcome, whether feature work needs an issue first, whether maintainers will push fixes to contributor branches, and what response time contributors should expect. "Be kind" is necessary but insufficient. "We review small bug fixes within about a week; feature proposals need discussion before implementation" is actionable.
Use automation to remove robot work from humans:
# .github/workflows/pr.yml excerpt
- uses: actions/setup-python@v5
with: { python-version: "3.12" }
- run: pip install -e '.[dev]'
- run: pytest -q
- run: ruff check .Labeling, stale bots, first-time contributor greetings, semantic PR title checks — all useful only if they reduce friction. A bot that closes genuine bug reports after 30 days because nobody with authority looked is not automation; it is institutional denial.
Review is teaching plus risk control
Good review explains project-specific judgment: why this API cannot expand, why a dependency is unacceptable, why behavior needs a migration note. If you rewrite every PR yourself, you train contributors to stop trying. If you merge everything, you teach users that the project has no quality floor.
Field notes
- If setup takes more than ten minutes, document the sharp edges or automate them in a devcontainer/Makefile.
- Small first issues should be labeled deliberately and actually small. "Good first issue: redesign auth" is hazing.
- Squash-merge is fine for narrative clarity, but do not erase meaningful co-authorship when several people did real work.
- Never use review latency as a soft veto. Say no, say later, or say what evidence would change your mind.
- A maintainer edit can be faster than five review round-trips; tell contributors whether maintainers may push to their branch.
Was this lesson helpful?