Files
DeepTutor/CONTRIBUTING.md
Bingxi Zhao (Frank) c22c668cc7 docs: lead the contributing guide with maintainer recruiting and add a Chinese version
Move the join-the-team section to the top of CONTRIBUTING.md, add
CONTRIBUTING_CN.md with a language switch in both files, and point the
README contribution note at the recruiting section.
2026-11-06 01:44:41 +08:00

5.8 KiB
Raw Permalink Blame History

Contributing to DeepTutor

English | 简体中文

Thanks for helping build DeepTutor! Code, docs, translations, bug reports and answering other people's questions all count as contributions.

Community: Discord · Feishu · WeChat · Discussions · Roadmap


Join the team

We're actively recruiting triagers and maintainers. Everyone who contributes is a contributor; people who help run the project take on one of two roles:

Triager Maintainer
GitHub permission Triage Write
Responsibilities Label and route new issues, reproduce bugs, ask for missing details, close duplicates and stale items, give PRs a first response, request reviews Everything a triager does, plus review, approve and merge PRs into dev in the areas they know, and look after bugs in those areas
Time A few hours a week A few hours a week, with steady responses in their areas

Releases, main, repository settings and secrets stay with the project lead.

Rules for maintainers

  • Merge only when CI is green and the PR has an approving review.
  • Get another maintainer's approval for your own PRs. Typo and small docs fixes are the exception.
  • Changes to authentication, code execution, release workflows or signing need the project lead's review.
  • Be kind and specific in reviews, and follow the Code of Conduct.

How to join

  • Triager: you've been helping for a while, for example answering issues, reproducing bugs, or getting a few PRs merged.
  • Maintainer: you've been a triager, or you've landed several substantial PRs in one area.

If that sounds like you, email bingxizhao39@gmail.com with:

  • Links to the PRs you've opened on DeepTutor
  • Open source projects you maintain or have maintained
  • How much time you can give DeepTutor

Maintainers may also invite people they've seen doing good work.

People who are inactive for three months move to emeritus and their permissions are removed. They keep their place in the list below and are welcome back any time.

Current team

  • Project lead: @pancacake
  • Maintainers: looking for volunteers
  • Triagers: looking for volunteers

Where to start

You have Do this
A bug Open a bug report with steps to reproduce, your version and OS. Small, obvious fixes can go straight to a PR.
A feature or behavior change Open a feature request first and wait for a maintainer to agree on the direction before writing code.
A docs or translation problem Open a docs issue or send a PR.
A question or setup trouble Ask in Discussions or on Discord.
A security vulnerability Report it privately through GitHub security advisories. Never open a public issue.

Looking for something to work on? Try issues labeled good first issue or help wanted, and leave a comment so others know you're on it.


Pull requests

Target dev. main only moves at a release, and PRs opened against it are retargeted before review.

  • One change per PR. Don't mix unrelated fixes, formatting or refactors.
  • Link the issue with Closes #123 or Related to #123.
  • Explain the problem and show evidence. Say what was wrong and what changed, then show it works: test output, a screenshot or recording for UI changes, or logs.
  • Run the checks that fit your change (see Testing), plus pre-commit run --all-files. CI runs the full suite.
  • Leave "Allow edits by maintainers" on so we can push small fixes and get your PR merged faster.
  • AI-assisted PRs are welcome. No label needed, but you must understand the code you submit and include evidence, like any other PR.

We usually don't accept:

  • Refactor-only PRs, unless a maintainer asked for one.
  • Large features that weren't discussed in an issue first.
  • More than 20 open PRs from one author at a time. Finish some before opening more.

Commit messages

<type>: <short description>

feat new feature · fix bug fix · docs documentation · refactor no behavior change · test tests · chore build, tooling or dependencies


Development setup

The developer handbook is the source of truth: Agent setup for installation and configuration, Development for the source workflow and Architecture for where code lives. The short version (Python 3.11–3.14, Node.js 22 LTS):

git clone https://github.com/<you>/DeepTutor.git && cd DeepTutor
git checkout dev

python -m pip install -r requirements/full.txt
python -m pip install -e . --no-deps
python scripts/install_extras.py dev
(cd web && npm ci --legacy-peer-deps)

pre-commit install

Then branch from dev (git checkout -b fix/short-name). Keep build outputs, runtime data and node_modules out of Git.