Devin Review in action
Features
Beta features: Custom reviewers,
Autoapprover, and review-context instructions
are beta features. Availability varies by account, and their behavior and
settings may change. If a feature is missing, contact your Cognition representative
to ask about access.
Smart diff organization
Groups changes logically, putting related edits together instead of
alphabetical order.
Copy and move detection
Detects when code has been copied or moved and displays changes cleanly,
instead of full deletes and inserts.
Bug catcher
Checks for bugs and labels them by confidence level. Severe bugs require
immediate attention.
Security scanning
Detects security vulnerabilities and suggests hardening improvements,
with CWE classification and severity levels.
GitHub compatibility
Leave comments, approve PRs, request changes—all within Devin Review, synced
to GitHub.
Codebase-aware chat
Ask questions about the PR and get answers with relevant context from the
rest of the codebase. You can also ask Devin directly from any comment,
bug, or flag in the diff view.
PR workflow actions
Merge, close, convert to draft, mark ready for review, and toggle auto-merge
directly from Devin Review without leaving the page.
Code changes from chat
Ask the chat agent to make code edits. Review the suggested changes, then
apply them as a commit to the PR branch without leaving Devin Review.
Getting Started
- Devin webapp — Head to app.devin.ai/review to see your open PRs organized by category (assigned to you, authored by you, review requested). When Devin makes PRs, you’ll see an orange “Review” button in the chat.
- PR comment — Comment
/devin reviewon any GitHub PR in a repository your organization has connected, and Devin reviews it on the spot. See Triggering a Review from a PR Comment. - URL shortcut — For any GitHub.com PR link, replace
github.comwithdevinreview.comin the URL. For private PRs, sign in to Devin first. - GitHub Enterprise — Paste the full PR URL into the Devin Review page at app.devin.ai/review. All GitHub offerings (GitHub.com, Enterprise Server, Enterprise Cloud) have the same capabilities.
- Azure DevOps — Paste the full PR URL (for example
https://dev.azure.com/.../pullrequest/..., or your Azure DevOps Server host) into app.devin.ai/review after connecting the repository to Devin.
Supported Git Providers
dev.azure.com) and Azure DevOps Server 2020/2022. Connect through the Azure DevOps integration, a Microsoft Entra service principal, or an Azure DevOps Server collection with a personal access token, then enroll repositories from Settings > Review for auto-review. Devin posts automated findings through the connected service identity. To comment, reply, resolve threads, vote on a PR, or abandon a PR as yourself, link your personal Azure DevOps account to Devin. User-attributed actions require a supported delegated Microsoft identity; a shared server PAT does not supply one. Chat edits can be applied as a single commit, and linked accounts can list their PRs in Review. Merging, draft actions, and auto-merge are not available.
Bitbucket Data Center requires version 8.16 or later, connected through the Bitbucket integration. To comment, add or remove reviewers, approve, or decline a PR from Devin Review, link your Bitbucket account. Merging, labels, assignees, and reactions are not available, and code changes from chat are committed one file at a time.
Bitbucket Cloud (bitbucket.org) is supported through the Bitbucket integration. Connect your workspace with an access token or a dedicated Devin account linked with OAuth that administers the repositories (Devin installs the webhooks auto-review needs itself), then add automatic review rules from Settings > Review. Comments, replies, and declining a PR from Devin Review are posted as you, using your own Bitbucket account. Requesting reviewers, merging, draft actions, auto-merge, labels, assignees, and reactions are not available. Code changes from chat are committed in a single commit.
Perforce Swarm supports review analysis and automated findings through the connection’s service identity. The Devin Review UI is read-only for human comments and approval actions on this provider, and it cannot apply chat edits as commits. Swarm reviews do not appear in the personal PR inbox. Perforce connections are available to selected accounts.
Reading a Review
The analysis starts with a short overview of the PR’s behavior and impact, followed by key changes in bullets when useful. Related edits are grouped into sections with explanations alongside their diffs. On mobile, the review opens on Changes. Switch to Bugs to see bugs, flags, and security findings, or use Description, Discussion, and Commits for the PR’s other details. When a link to a GitHub comment or review opens in Devin Review, it scrolls to and highlights the target. This also works in the review tab inside a Devin session.Navigate Changes and Review History
- Mark files Viewed to track your progress, or mark all files viewed or unviewed from the file list.
- Expand context lines around a change, open the full file, or switch a Markdown file between its rendered diff and source.
- Hide whitespace-only changes to focus on substantive edits.
- Use Review history to inspect an earlier analysis. A link pinned to an older commit does not automatically show the newest results; use Switch to latest or Run analysis on latest when available.
- Check the Checks view for CI status. On providers that support it, manage reviewers, labels, and assignees without leaving Review.
Permissions
Devin Review access is controlled by Devin Review permissions in the role editor. Usage tiers distinguish manual review, review on PR creation, and full automatic review. Configuration requires Manage Review (shown as Manage Devin Review in some role editors). Enterprise admins can use Custom Roles to restrict usage or grant configuration access. Account-level permissions govern account-wide configuration; organization-level Review permissions govern access within enterprise organizations. The scopes you can edit also depend on repository access and enterprise settings. Self-enrollment, where enabled, does not require Manage Review, but the available trigger modes are limited by your usage tier. See Account-level roles for the full list of Devin Review permission tiers and what each one grants.Enterprise accounts: Organization Review managers can configure permitted
scopes without being primary-organization admins. Account-wide controls, such
as posting defaults and review-context instructions, still require account-level
Manage Review. Enterprise policy can prevent organization-level edits.
Governance
Enterprise admins can control who uses Devin Review, what level of automation they have, and how much it costs — all from the Devin webapp.Enterprise organization and consumption controls require a Devin
Enterprise account. Per-PR automatic review spending limits also apply
to quota-based plans. For enterprise plans, contact sales.
Cost control
Devin Review consumes ACUs (Agent Compute Units) from your enterprise’s ACU pool, the same pool used by Devin sessions and other Devin products. Enterprise admins have several tools to monitor and control review costs.Consumption dashboard
The enterprise consumption dashboard at Settings > Consumption breaks down ACU usage by product, including a dedicated Review line in the daily consumption chart. Organization admins can view their org’s review consumption from Settings > Consumption Analytics. The dashboard includes:- Per-user breakdown — See how many review ACUs each user consumed in the current and previous billing cycle.
- Per-repository breakdown — See review ACU consumption, review count, and the number of bugs caught by repository for the current and previous billing cycle, helping identify which repos drive the most review cost and where reviews catch the most issues.
Review size indicator
Each PR in Devin Review displays a consumption pill showing the review’s t-shirt size based on total ACU usage across all review jobs on that PR:
Hover over the size pill to see the exact ACU total, the number of review jobs run, and the cost of the currently viewed review. This helps reviewers understand the cost impact of re-running reviews or enabling auto-review on high-churn PRs.
Per-PR auto-review spend limit
Admins can cap how much Devin Review spends on automatic reviews of a single PR from Settings > Review under Auto-review limits (on the Billing tab in the updated layout). The limit is measured in ACUs on ACU-based plans, or in dollars of on-demand spend on quota-based plans. Leaving the field empty uses the Cognition-managed default shown in settings; it does not mean unlimited. Once a PR’s total review spend across all of its review jobs reaches the limit, auto-review is turned off for that PR and future auto-reviews are skipped. Reaching the limit is a soft block:- Manual reviews still work — the limit only pauses automatic reviews. You can always trigger a review yourself from the PR review page.
- Re-enable per PR — Turning auto-review back on from the PR’s actions menu resumes reviews and adds another budget allowance. Recorded spend is not reset, and automatic reviews can pause again when the new budget is exhausted.
Review Effort and Billing Organization
Review effort in Review settings lets an account Review manager choose the default Normal or Ultra effort. Normal prioritizes price-performance; Ultra performs a more thorough review at a higher cost. Enterprise accounts also have a Default billing organization setting for reviews whose billing organization cannot otherwise be resolved. It requires account-settings permission. Where organization attribution is enabled, the review consumption display can show which organization, or the account itself, was billed for the most recent review.PR Workflow Actions
Devin Review lets you take action on PRs directly from the review page, without switching to GitHub.- Merge — Merge the PR using the repository’s configured merge strategy (merge commit, squash, or rebase). The merge button reflects the PR’s current mergeability status and required checks.
- Close — Close the PR without merging. Available from the dropdown menu next to the merge button.
- Convert to draft — Convert an open PR to draft status. Available from the dropdown menu when the PR is open and not already a draft.
- Mark ready for review — Mark a draft PR as ready for review. A “Ready for review” button appears in the merge bar for draft PRs.
- Auto-merge — Enable or disable GitHub auto-merge from the merge button dropdown. When enabled, the PR will merge automatically once all required checks pass. The merge bar shows the current auto-merge status, including who enabled it.
Stacked PRs
Devin Review treats stacked PRs as first-class. When a PR belongs to a stack, the review page shows the whole series and handles merging correctly:- Stack panel — The PR header shows the stack with every member ordered bottom-to-top, down to the base branch it merges into. Each member links to its own review page, so you can read the stack layer by layer.
- Per-layer readiness — Each member shows a status dot reflecting its true mergeability: green when it can actually merge (accounting for CI, required reviews, and branch protection), red for failing checks or conflicts, and orange for anything else blocking the merge — including when a layer is individually ready but blocked by an unmergeable PR below it. An aggregate indicator summarizes the whole stack.
- Focused diffs — Each PR in a stack is diffed against the layer below it, so every review — including auto-review and the bug catcher — sees only that layer’s change.
- Stack merge — Stacked PRs merge through GitHub’s atomic stack merge: merging a PR also merges every open PR below it in the stack, bottom-up, in a single operation. The merge button shows exactly how many PRs the action will land, and GitHub retargets the remaining PRs onto the base branch afterwards.
Auto-Review
Devin can automatically review PRs without you having to manually trigger it. Configure auto-review in Settings > Review. On eligible connected PRs, the actions menu (three dots in the header) lets users with the appropriate Review permissions toggle auto-review for that PR. Available settings links and controls depend on the PR and your access.When Does Auto-Review Run?
Automatic review uses rules that combine a starting event, a review cadence, and optional PR conditions. Choosing PR is created can include draft PRs; choosing PR is ready waits until the PR is opened ready or marked ready.Trigger Modes
Choose when a rule starts:- PR is created — When the PR is opened, including as a draft.
- PR is ready — When the PR is opened ready or is marked ready.
- Only once — One review when the triggering conditions are met.
- Every push — Review again on subsequent pushes. This requires the full automatic-review usage tier.
Self-Enrollment (All Users)
When personal enrollment is enabled for your account, users with a linked Git provider identity and the appropriate Review usage tier can enroll themselves without admin permissions.- Go to Settings > Preferences.
- Under Devin Review, choose Auto review PRs created or Auto review PRs ready for review.
- Set Review cadence to Only once or Every push, if your permissions allow it.
Review Comment Language
You can choose the language Devin Review uses for its comments and analysis from Settings > Preferences under the Devin Review section.- Use your display language (default) — Review comments follow your display language setting.
- Specific language — Choose from English, Spanish, Portuguese, Japanese, Chinese, Korean, French, German, Russian, Arabic, Hebrew, or Indonesian.
REVIEW.md specifies a language for review comments, Devin will use that language regardless of your personal preference.
Admin Configuration
Review managers configure automatic review rules from Settings > Review. Accounts with the updated tabbed layout find these on the Review tab. Account Review managers can also enable Add “Devin Review” link in PR description (on by default) to add a link and review status to the PR description.Scoped Rules and Exclusions
Add a rule to select a repository or another permitted scope, then narrow it with conditions such as author, label, title, source or target branch, changed files, or diff size. Choose its starting event and cadence. The rule’s Review effort can use the account default or override it with Normal or Ultra. Use exclusions for PRs the feature should not process. Matching exclusions take precedence over its enrollment rules. The Author type condition offers User, Bot, and Devin filters. Automatic review, each custom reviewer, and Autoapprover have separate rules. Enabling ordinary automatic review does not enable every custom reviewer or Autoapprover. An Autoapprover exclusion does not disable ordinary automatic review. Rules replace the earlier repository and personal enrollment lists. Old legacy enrollment entries no longer launch reviews; configure the corresponding rules instead.Posting to GitHub
Account Review managers can configure what Devin posts back to the connected Git provider from Settings > Review. The section is labeled Post findings to your provider, or Post as PR comments in older layouts:- Post CI check (or Post GitHub CI checks in the earlier layout) — When enabled (default), Devin creates a
Devin Reviewcommit status on supported providers for each review. Passing condition chooses when it passes: review completed (default), threads are resolved, or no findings. - Bugs — Post bugs (likely errors or incorrect behavior) as PR comments.
- Security — Post security vulnerabilities and hardening suggestions as PR comments.
- Flags (investigate) — Post investigate flags (potential issues worth a closer look) as PR comments.
- Flags (note) — Post informational flags (observations that may not require action) as PR comments.
Enterprise accounts: Settings apply across all organizations in the
enterprise. Account-wide posting controls require account-level Manage
Review; organization-level rule management does not grant permission to
change these defaults.
Auto-review is not available for public repos that aren’t connected to your
organization.
Bug Catcher
The Bug Catcher automatically analyzes your PR for potential issues and displays findings in the Analysis sidebar or Bugs view. Findings include Bugs, Flags, and Security. Beta custom reviewers have their own attributed findings.Bugs
Bugs are actionable errors that should be fixed in the code. These represent issues the Bug Catcher has high confidence are actual problems. Bugs are displayed with two severity levels:- Severe — High-confidence issues that require immediate attention
- Non-severe — Lower severity issues that should still be reviewed
Flags
Flags are informational code annotations that may or may not require action. They come in two classes:- Investigate — Flags that warrant further investigation. You should review the flagged code yourself and verify whether there is an actual bug or issue.
- Informational — The Bug Catcher has either concluded correctness or is explaining how something works. These help you understand the code changes without requiring action.
Security
Devin Review scans for security vulnerabilities and displays them alongside other findings. Security scanning is part of a full review; use the posting settings to control whether security findings are posted as PR comments. A diff-only analysis, such as when automatic review is paused by a spending limit, is not a completed security review. The scanner checks for the following vulnerability categories:- Injection (SQL, XSS, command, template)
- Auth flaws (missing/broken access control, privilege escalation, auth bypass)
- Secrets exposure (hardcoded keys, tokens in logs, credentials in source)
- SSRF and path traversal
- Insecure deserialization, prototype pollution
- Missing input validation on untrusted data
- Weak cryptography (algorithms, key management)
- Transport/cookie security (missing HTTPS enforcement, permissive CORS, insecure cookie flags)
- Insecure defaults or misconfigurations introduced by the PR
- Critical — High-confidence vulnerabilities that should be fixed before merging
- Warning — Potential security weaknesses worth investigating
REVIEW.md to guide what the scanner looks for.
Resolving Findings
You can mark bugs, flags, and security findings as resolved once you’ve addressed them or determined they don’t require action. Resolved items are dimmed in the sidebar and sorted to the bottom of each section. Use the finding filters to focus on categories or unresolved issues, mark findings read or unread, and quote a finding into chat to ask a follow-up. On subsequent reviews, Devin checks for duplicate and resolved findings rather than treating every result as new.Review Actions
Triggering a Review from a PR Comment
You don’t need to enable auto-review on a repository to get a review. Comment/devin review on any GitHub pull request and Devin reviews that PR, then replies on the PR with a link to the review.
This works on any repository covered by your organization’s GitHub App installation — including repos that aren’t enrolled in auto-review — and is the quickest way to try Devin Review on a one-off PR.
Requirements and behavior:
- Comment exactly
/devin reviewat the start of the comment. The command is case-insensitive, and works in both PR conversation comments and inline review comments. - Write access required — the commenter needs
writeoradminpermission on the repository, and their GitHub account must be linked to their Devin account. Outside contributors can’t trigger reviews. - Open PRs only — comments on closed or merged PRs are ignored.
- GitHub only — including GitHub Enterprise Server and Enterprise Cloud. GitLab supports auto-review but not the comment trigger.
/devin comments (for example /devin fix the failing test) start a regular Devin session on the PR instead of a review. See Start Devin from a PR comment.
Starting a Review
When creating a new inline comment or replying to an existing thread, you can check the Start a review checkbox to batch your comments into a pending review instead of posting them individually. This mirrors the GitHub review workflow, letting you collect all your feedback before submitting. Once a review is in progress, subsequent comments are automatically added to it and the checkbox is hidden.Resolving Comments
You can resolve review threads to indicate they’ve been addressed. When all threads in a bot-authored review are resolved, Devin automatically minimizes that review on GitHub to keep the PR conversation clean. If a thread is later unresolved, the review is automatically unminimized. In the diff view, you can expand or collapse individual comment threads using the caret toggle to focus on outstanding feedback.Code Owner Indicators
When a code owner has been requested as a reviewer, Devin Review displays a shield icon next to their name in the reviewer sidebar with a “Requested as code owner” tooltip. This makes it easy to identify which pending reviewers have code ownership over the changed files.Custom Reviewers (Beta)
Custom reviewers are in Beta and require beta access.
Create a Reviewer
- Open Settings > Review and find Custom reviewers. Some accounts show reviewers as a section rather than a separate tab.
- Select Add reviewer and enter a Name and optional description.
- Under Instructions, choose Plain text and describe what to check and what to ignore, or choose Repository skill or Organization skill (Enterprise skill in an enterprise) to drive from an existing skill.
- Choose Finding urgency: Severe for problems that must be fixed, Moderate for flags worth investigating, or Info for suggestions and context.
- Select Create and enable, or Save as draft to finish later.
- Open the reviewer and add a rule under Rules to select which PRs it checks.
Reuse a Skill
A reviewer created from a Repository skill follows that skill on the repository’s default branch (usuallymain or master): its instructions are read-only in the reviewer and update as new versions of the skill are pushed.
Findings and CI Checks
Findings carry the reviewer’s name and configured urgency. The run history is available for each reviewer with the count of fixed and ignored findings. Newer beta versions also offer a CI check section. If available, choose Part of Devin Review or a Separate check, such asDevin Review / API compatibility. A separate check can pass when:
- Reviewer finishes — completion is enough, even if it found issues.
- All comments are resolved — its posted comments have been resolved.
- There are no open findings — its findings are closed.
Autoapprover (Beta)
Autoapprover is in Beta and requires beta access.
- Intent: Does the change match the PR author’s stated intent?
- Code quality: Does the change keep the codebase maintainable and easy to review?
- Incident risk: Could a problem in the change cause a reliability or security incident?
Set Up Autoapprover
- Open Settings > Review and find Autoapprover.
- Add an Autoapprover rule selecting the repository and PR conditions to evaluate.
- Optionally, add Autoapprover exclusions for PRs you never want it to evaluate.
Optional Custom Instructions
To tailor the default rubric, select Add instructions under Instructions and choose where they apply. Describe what your team is comfortable approving automatically and what always needs a person. For the criteria they address, these instructions take precedence over the default rubric; if instructions conflict, the narrower scope takes precedence. Instructions guide decisions but do not enroll PRs by themselves. For example, after adding a rule limited to a documentation repository, you could optionally add:Understand the Result
The PR’s Autoapprover section shows its result and reasoning:- Autoapproved — Devin approved the PR.
- Not autoapproved — the PR needs human review.
- Approved by a person — a human has supplied an approval.
Auto-Fix
Auto-Fix uses a Devin session to address review findings on a PR. It is different from applying an individual suggested edit or asking the Review chat agent to prepare a commit.How to Enable It
For a PR already owned by a Devin session, there are two ways to enable automatic responses to review feedback:- From the review sidebar — When Enable auto-fix is available on a Devin-owned PR, selecting it allows responses to Devin Review feedback for Devin PRs in that organization. This requires permission to manage the organization’s settings.
- From global Devin settings — Go to Settings > Devin > Pull requests > Responding to bots, then either:
- Set the mode to Selected only and add
devin-ai-integration[bot]to the allowlist, or - Set the mode to All bots.
- Set the mode to Selected only and add
Enabling automatic responses changes the relevant bot allowlist, not just
the current PR. Account-wide sessions use account settings; organization
sessions use their organization’s settings. If you cannot change those
settings, a one-off fix session can still be available without enabling
future automatic responses.
Findings on Devin’s own PRs
For accounts with direct finding triage enabled, an eligible session that opened the PR can address findings before they are posted individually:- The PR shows a Devin is addressing Devin Review findings status.
- If responses to Devin Review are allowed and PR monitoring is active, the session fixes what it can and records its decisions.
- Only the findings Devin could not fix are posted as review comments, and the status lists what was fixed.
Permissions & Constraints
- Changing automatic-response settings requires the relevant organization or account settings permission.
- If the bot mode is set to All bots, Auto-Fix shows as enabled and cannot be changed from the review sidebar. Use Customization settings to modify the bot mode.
- Devin Review’s No Issues Found summary comments are always ignored. Only comments with actual findings trigger Auto-Fix.
If Devin Review feedback is currently ignored in your repository, you’ll see a prompt in the session timeline to enable it.
Commit & Comment Attribution
- Bug findings, flags, and automated annotations always appear as the Devin bot.
- When a user writes a comment or review through Devin Review, it appears under the user’s GitHub identity.
- When a user asks the chat agent to make a code change, the resulting commit is made as the Devin bot.
- GitHub Suggested Changes follow standard GitHub behavior: any reviewer (including Devin) can leave a suggested edit in a review comment. Applying a suggestion is separate from starting an Auto-Fix session.
- Devin will never create commits or comments on behalf of a user without the user explicitly initiating the action.
AGENTS.md / Instruction Files
Devin Review respects instruction files in your repository. If any of these files exist, they’ll be used as context when analyzing your PR:**/REVIEW.md**/AGENTS.md**/CLAUDE.md(case-insensitive)**/CONTRIBUTING.md(case-insensitive).cursorrules.windsurfrules.cursor/rules*.rules*.mdc.coderabbit.yaml/.coderabbit.ymlgreptile.json
.agents/, .devin/, agents/, .cursor/, .github/) are treated as belonging to the parent directory for scoping purposes. For example, src/.agents/REVIEW.md applies to files under src/.
These files can contain coding standards, project conventions, or other guidelines that help provide more relevant feedback.
Custom Review Rules
You can configure additional files to be read as review context from Settings > Review under Context. These file patterns are separate from custom reviewers: they supply background information rather than defining a reviewer that produces its own findings. To add repository files:- Find Context in Review settings (on the Review tab if your account has the tabbed layout).
- Select Add context. This opens Add repository files directly, or offers a menu where you can choose Repository files.
- Enter a file glob pattern, such as
docs/architecture/**/*.md, and add it.
Review-Context Instructions (Beta)
Written review-context instructions are in Beta and require beta access.
Repository instruction files remain available independently.
- Open Settings > Review and find Context.
- Open the add menu and choose Instructions, marked Beta.
- Enter a title and the review guidance.
- Choose All repositories or a narrower repository scope.
- Select Add context.
REVIEW.md
REVIEW.md is a dedicated instruction file for Devin Review. Place it anywhere in your repository to customize how Devin reviews PRs in your project. Devin automatically picks up REVIEW.md files at any directory level (**/REVIEW.md), so you can scope review guidelines to specific subdirectories if needed.
Use REVIEW.md to define review-specific guidelines such as:
- Areas of the codebase that need extra scrutiny
- Common pitfalls or anti-patterns to watch for
- Project-specific conventions that reviewers should enforce
- Files or directories that can be safely ignored during review
- Security or performance considerations unique to your project
REVIEW.md:

