Diamond (AI code review)
Setup & configuration
Get started with Diamond in under 5 minutes
Getting started with Diamond
Diamond can be enabled in just a few clicks, with no configuration required to start catching bugs in your pull requests.
Enabling Diamond
- Navigate to the Diamond settings page
- Click “Enable Diamond”
- Select the repositories you want Diamond to analyze
- You can choose specific repositories or enable Diamond across your entire organization
- If you don’t see the repositories you’re looking for, make sure they’re synced with Graphite
- That’s it! Diamond will now automatically review all new pull requests in the selected repositories
What happens next
Once enabled, Diamond:
- Automatically analyzes new pull requests in the selected repositories
- Comments directly on pull requests when it finds potential issues
- Suggests fixes for the problems it identifies
Diamond works behind the scenes, with no changes required to your existing PR workflow. Your team can continue using GitHub just as they do today, with Diamond providing additional feedback alongside human reviewers.
For teams using continuous integration, Diamond works alongside your test suite to catch issues that tests often miss, like logic bugs, edge cases, and security vulnerabilities.
Advanced configuration
While Diamond works great out of the box, you can customize it to better fit your team’s workflow and standards. See our Customization page for details on:
- Setting up filters to ignore specific types of comments
- Creating custom rules that match your team’s coding guidelines
- Excluding files from Diamond’s analysis