Learning center

Can I give the AI reviewer different instructions from the coding agent?

Yes, where the tool supports separate instruction audiences. Put feedback about reviewing a change in a review-specific file so it does not become a request to edit every file the coding agent touches.

Keep an investigation request in the review#

“Trace the old client's behavior when a response field disappears” is a useful review task. An authoring agent given the same instruction might start rewriting callers while implementing an unrelated change. Decide which agent needs the instruction and which paths it governs.

GitHub documents the excludeAgent field for path-specific instruction files. Excluding cloud-agent leaves that file available to code review, while excluding code-review directs it away from review. Check the exact supported values against the documentation and keep the path pattern alongside the audience setting. GitHub’s instruction file reference

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading