FeaturesAuto-fix
Auto-fix
Automated code generation to fix issues identified during review.
Auto-fix is GitSniff's code generation feature that creates ready-to-apply suggestions for issues found during code review.
How it works
When Auto-fix is enabled and GitSniff identifies an issue during review, it generates a code suggestion that can be applied directly from the pull request:
- GitSniff reviews the code and identifies an issue
- Auto-fix generates a corrected version of the code
- The suggestion appears as a GitHub suggestion block in the PR comment
- You can apply the fix with a single click using GitHub's built-in suggestion feature
What Auto-fix can fix
- Bug fixes — Common programming errors and logic issues
- Security patches — Fixes for identified security vulnerabilities
- Performance improvements — Optimized code patterns
- Style corrections — Code formatting and convention fixes
- Best practice updates — Modern API usage and pattern improvements
Configuration
- Organization level: Dashboard > Settings > Auto-fix
- Repository level: Dashboard > Repository > Settings > Auto-fix
Auto-suggest code fixes
When enabled, GitSniff automatically generates fix suggestions during code review. When disabled, fixes are only generated on request through Chat.
Include code examples
Toggle whether code examples are included in review comments even when Auto-fix suggestions are not generated.