What You’ll Set Up
By the end of this tutorial, every pull request in your connected repositories will automatically receive AI-powered code review comments — detecting bugs, security vulnerabilities, and best-practice violations before code reaches production.Navigate to Code Review Settings
Go to Settings > Code Review in your CloudThinker workspace.You’ll see options to connect GitHub, GitLab, or Bitbucket repositories.
Connect GitHub
Click Connect GitHub to install the CloudThinker GitHub App.
You need Organization Owner permissions to install the GitHub App. If you don’t have access, ask your org admin to approve the installation.
- Select the GitHub organization
- Choose which repositories to grant access (all or selected)
- Authorize the app
Connect GitLab (Alternative)
For GitLab, you have two authentication options:Option A: OAuth (recommended)
- Click Connect GitLab
- Authorize via OAuth flow
- Select projects to monitor
- Generate a Project Access Token or Group Access Token in GitLab
- Paste it in CloudThinker settings
- Select the projects to monitor
Configure Repositories
After connecting, you’ll see a list of available repositories. Toggle on the ones you want CloudThinker to review.For each repository, you can configure:
- Auto-review: Automatically review every new PR (recommended)
- Review mode: Choose between Fast (single-agent, quicker) or Advanced (multi-specialist deep analysis)
- Pipeline monitoring: Toggle CI/CD failure analysis on or off
- Filters: Include or exclude specific authors or branches from reviews
Open a Pull Request
Create or open a pull request in one of your connected repositories. CloudThinker will automatically:
- Detect the new PR
- Analyze the changed files
- Post inline review comments on specific lines
- Provide a summary comment with overall findings
- Bug detection: Logic errors, null references, race conditions
- Security vulnerabilities: Injection risks, hardcoded secrets, insecure patterns
- Code quality: Naming conventions, complexity, duplication
- Performance: Inefficient queries, unnecessary allocations, N+1 patterns
Review and Act on Feedback
Each review comment includes:
- Severity level: Critical, High, Medium, Low
- Explanation: Why this is an issue
- Suggested fix: Code snippet with the recommended change
How It Works
Track Team Performance with Leaderboard
Once your team has a few reviewed PRs, go to Code Review > Leaderboard to see how everyone is performing. The Leaderboard scores each developer by balancing Quality Score and Impact to produce a Contribution Score — rewarding engineers who ship robust code, not just those who ship the most lines.| Score | Meaning |
|---|---|
| = 1.0 | Exactly at team average |
| > 1.0 | Above average (top performer) |
| < 1.0 | Below team average |
What to Look For
- High Quality + High Impact: Your top performers — ideal mentors and lead reviewers
- High Impact + Low Quality: Possible burnout signal — shipping fast but cutting corners
- High Quality + Low Impact: May be stuck on a hard problem or under-utilized
- Uneven Impact distribution: High “Bus Factor” risk — knowledge concentrated in one person
Leaderboard Scoring Details
Deep dive into the scoring formula, impact calculation, and example calculations
Tips
- Start with a pilot repo: Connect one active repository first to see the review quality before rolling out broadly
- Use Fast mode for small PRs: Switch to Advanced mode for critical repos where deeper specialist analysis is valuable
- Enable pipeline monitoring: Let CloudThinker analyze CI/CD failures and post root-cause suggestions automatically
- Use filters to reduce noise: Exclude bot authors or non-production branches from reviews
- Skip reviews when needed: Add
@cloudthinker:ignorein a PR description to bypass the review - Review the Leaderboard weekly: Track quality trends and workload balance across your team
Next Step
CloudKeepers
Set up autonomous monitoring and compliance scanning