Windsurf PR Reviews
Windsurf PR Reviews helps teams streamline code reviews with AI-powered feedback on GitHub pull requests. This feature is currently in beta for Teams and Enterprise customers using GitHub Cloud.
How It Works
Once enabled, Windsurf automatically reviews eligible pull requests in selected repositories and provides feedback as GitHub review comments.
Reviews can be manually triggered when you mark a PR as “ready for review” or you type /windsurf-review
in a PR comment.
You can also edit a PR title by typing /windsurf
into the PR title.
Example workflow:
- Developer opens a pull request in an enabled repository
- Developer marks the PR as ready for review or types “@windsurf /review” in a PR comment
- Windsurf reviews the PR and posts feedback as GitHub review comments
- Developer addresses feedback and updates the PR
Setup
An organization admin must connect the Windsurf GitHub bot to your GitHub Cloud organization to enable Windsurf PR Reviews:
- Navigate to the Windsurf Team Settings page and click on Github Integration, or click here
- During installation on the Github side, select which repositories to enable for PR reviews
- Back in the Windsurf settings, configure toggles for allowing reviews/edits, define PR Guidelines for Reviews and Descriptions
- All users in the organization can then receive PR reviews on their pull requests
Disabling PR Reviews
To disable Windsurf PR Reviews, disconnect the Windsurf GitHub bot from your organization or remove it from specific repositories via GitHub settings.
Best Practices
For effective PR reviews:
- Use natural language in PR Guidelines
- Don’t be too vague about the purpose of your changes
- Include detailed examples where helpful