When Enable Automated Code Review is enabled, Kody will automatically review PRs when opened. When disabled, Kody only reviews when you comment @kody start-review.
Choose how Kody should handle follow-up reviews after the initial one:
Review every new pushKody will automatically run a new review whenever changes are pushed to the PR. This ensures continuous feedback on all code changes.Best for:
Active development with frequent updates
Teams that want immediate feedback on changes
Critical projects requiring constant oversight
The initial review when a PR is opened always happens automatically when Automated Code Review is enabled, regardless of the cadence setting.
Security: Detects and prevents vulnerabilities in the code. For example, it can identify and suggest fixes for SQL injection, XSS, and other security threats.
Performance: Optimizes the code for speed and efficiency. For example, it can suggest using caching, reducing database queries, and optimizing loops.
Error Handling: Improves the way the code handles exceptions. For example, it can suggest using try-catch blocks, logging errors, and providing meaningful error messages.
Refactoring: Enhances the structure of the code. For example, it can suggest breaking down large functions into smaller ones, removing duplicate code, and improving naming conventions.
Maintainability: Ensures the code is easy to maintain and understand. For example, it can suggest adding comments, following coding standards, and using design patterns.
Code Style: Enforces consistent coding standards. For example, it can suggest using a consistent indentation style, following naming conventions, and using a consistent variable declaration style.
Documentation: Encourages clear and meaningful comments. For example, it can suggest adding comments to explain complex code, documenting public APIs, and providing examples of usage.
Kody Rules: Allows for the enforcement of custom rules. For example, it can be configured to enforce specific coding standards, naming conventions, or architectural rules.
Potential Issues: Helps prevent bugs and issues. For example, it can detect and suggest fixes for potential null pointer exceptions, resource leaks, and infinite loops.