Implementing custom code review rules
Customize Bito’s AI Code Review Agent to enforce your coding practices.
Last updated
Was this helpful?
Customize Bito’s AI Code Review Agent to enforce your coding practices.
Last updated
Was this helpful?
Bito’s AI Code Review Agent offers a flexible solution for teams looking to enforce custom code review rules, standards, and guidelines tailored to their unique development practices. Whether your team follows specific coding conventions or industry best practices, you can customize the Agent to suite your needs.
We support two ways to customize AI Code Review Agent’s suggestions:
Provide feedback on Bito-reported issues in pull requests, and the AI Code Review Agent automatically adapts by creating code review rules to prevent similar suggestions in the future.
Submit your custom code review guidelines to Bito, and we will implement them within your Bito workspace.
AI Code Review Agent refines its suggestions based on your feedback. When you provide negative feedback on Bito-reported issues in pull requests, the Agent automatically adapts by creating custom code review rules to prevent similar suggestions in the future.
Depending on your Git platform, you can provide negative feedback in the following ways:
GitHub: Select the checkbox given in feedback question at the end of each Bito suggestion or leave a negative comment explaining the issue with the suggestion.
GitLab: React with negative emojis (e.g., thumbs down) or leave a negative comment explaining the issue with the suggestion.
Bitbucket: Provide manual review feedback by leaving a negative comment explaining the issue with the suggestion.
The custom code review rules are displayed on the Review Rules dashboard in Bito Cloud.
These rules are applied at the repository level for the specific programming language.
By default, newly generated custom code review rules are disabled. Once negative feedback for a specific rule reaches a threshold of 3, the rule is automatically enabled. You can also manually enable or disable these rules at any time using the toggle button in the Status column.
Note: Providing a positive reaction emoji or comment has no effect and will not generate a new code review rule.
After you provide negative feedback, Bito generates a new code review rule in your workspace. The next time the AI Code Review Agent reviews your pull requests, it will automatically filter out the unwanted suggestions.
We understand that different development teams have unique needs. To accommodate these needs, we offer the ability to implement custom code review rules in Bito’s AI Code Review Agent.
Here’s how the process works:
Email your code review guidelines to support@bito.ai: Provide us with your team’s code review guidelines, standards, or any specific rules you want the AI to enforce.
Implementation: Our team will create a custom prompt based on your guidelines and integrate it into the AI Code Review Agent for your Bito workspace.
By enabling custom code review rules, Bito helps your team maintain consistency and improve code quality. We look forward to partnering with you to enhance your code review experience!
To ensure we provide the best service and support, we have a few eligibility criteria for implementing custom code review guidelines:
Team size: This feature is available for teams with a minimum of 10 developers.
Billing plan requirement: Custom code review guidelines are part of our Team plan, which includes personalized support and advanced customization options. The Team plan comes with custom pricing based on your team’s size and specific requirements. For a detailed quote, please contact us at support@bito.ai
We can implement a wide range of custom code review rules, including:
Style and formatting guidelines
Security best practices
Performance optimization checks
Code complexity and maintainability standards
etc.
Typically, it takes 2-4 days from the time Bito receives your custom code review guidelines.
Yes, this feature is available exclusively on the Team plan and comes with an additional charge. For more details on pricing and implementation, please contact our support team at support@bito.ai.