Custom Reviewers

Custom Reviewer Concept

A custom reviewer is a code review agent that users configure by writing a dedicated reviewer system prompt. This reviewer functions according to the unique configurations set by the user, evolving over time with adjustments. We recommend writing domain & language specific system prompts so Baz will be sure to invoke the correct custom reviewer when your diffs include changes relevant to this review.

Write and run your own custom code reviewers

Steps to Implement

  1. Write System Prompt: Define the criteria and objectives for the review process.

  2. Configure Baz: Set up the tool to invoke the custom reviewer based on your configurations.

  3. Test on CRs: Use the playground to test and refine the reviewer prompt on real change requests (CRs).

By fine-tuning the system prompt and managing configurations, users can continually enhance the effectiveness of their custom reviewer.

Last updated