Include repository guidelines in code reviews

Let the reviewer read the repository's own guidance at the reviewed commit. Use this setting when conventions live in files alongside the code.

Read repository guidelines#

In Settings → Review policy → Code review, select Read repository guideline files to include agent rules in automatic pull request reviews.

To include other files:

  1. Open Repositories and select the repository.
  2. Open Settings → Guidance.
  3. Enter repository-relative file paths in Additional paths, one per line.
  4. Select Save review settings.

For example, add docs/review.md. Proofline reads guideline files at the merge base. A pull request's guideline edits apply after merge.

Clearing the organization setting stops guideline reads, including additional paths. Additional review guidance remains a separate setting on the repository's Settings → Review rules.

Search help

Tab to a result. Enter to open. Escape to close.