Overview
Hand Devin bugs raised in a Slack thread or written up as Linear tickets, let it write and test a fix in its own environment, and review the draft pull request it returns before anything merges.
Problem or Objective
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Devin · Slack · Linear
- Prerequisites
- Devin access through your company's administrator or Cognition, a connected code repository with tests or CI checks, and Slack or Linear connected to your Devin workspace (check which integrations are enabled).
How It Works
Get access to Devin through your company's administrator or Cognition and connect the repository. When coworkers discuss a bug in Slack, tag Devin in the thread; for planned work, give Devin the Linear ticket (check in your Devin settings how Linear tickets reach it). Make each task small, with a clear end and a success test: name the failing check, the test that should pass, or the existing pattern to follow. Devin writes and runs the code, can open its own browser to test a web change, and returns a draft pull request. Read the diff, watch the checks, and leave review comments on the pull request for anything that needs another pass. You can also take over in Devin's editor to run commands or change code yourself. A person on the team approves and merges the pull request.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Devin.
- Connect the toolsConnect the tools this workflow relies on: Devin, Slack, Linear.
- Check the prerequisitesDevin access through your company's administrator or Cognition, a connected code repository with tests or CI checks, and Slack or Linear connected to your Devin workspace (check which integrations are enabled).
- Gather your detailsCollect what the prompt asks for: Ticket or thread, Repository, Short description of the problem, How to tell it is done.
- Run the starter promptPaste the starter prompt below into Devin and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.devin.ai before you rely on it.
Practical Starter Prompt: Fix a ticket and open a draft pull request
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Work on [Ticket or thread] in the [Repository] repository. The problem: [Short description of the problem]. Done means: [How to tell it is done]. Follow the existing patterns in the code, add or update tests that prove the fix, and run the test suite and linters before you finish. Open a draft pull request that explains the change and links the ticket. Do not merge, and do not push to the main branch. If review comments arrive on the pull request, address them in new commits and reply to each one.Send this to Devin from the Slack thread or with the ticket. Devin opens a draft pull request only; a team member reads the diff and checks, leaves comments for another pass, and approves and merges it with the repository's normal review rules.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Devin's docs list Linear/Jira tickets and tagging Devin in a Slack or Teams thread among its uses, describe draft pull requests waiting for review, and advise tasks with clear success criteria such as passing tests or green CI. Devin's homepage describes taking a ticket to a tested pull request and seeing it through review. No cited page measures how often its pull requests pass review.
Limitations and Considerations
Devin's docs say it works best on tasks with a clear start, end and success criteria, and that tasks longer than about three hours should be split into smaller sessions. A ticket may leave out rules the team only knows by habit, so add them to the task. Keep branch protection and required reviews on the repository so a person approves every merge. Access for a company goes through an administrator or Cognition; check pricing and which integrations your workspace has enabled. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Introducing Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Devin is an autonomous AI software engineer that can write, run and test code, and can be asked to tackle Linear/Jira tickets.
- Uses include tagging Devin on a Slack or Teams thread about a bug and returning to draft PRs waiting for review.
- Make tasks easy to verify, for example by checking that CI passes.
- You can follow Devin's work in its editor and take over to run commands, make direct code edits or test its code.
- If your company is already working with Cognition, you can request permissions from your Administrator or Cognition directly.
- When to Use Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Good tasks have a clear start and end, plus explicit success criteria such as passing tests or CI green.
- If a task would take three hours or less, Devin can most likely do it; longer tasks should be broken into smaller sessions.
- Devin: the autonomous software engineer (opens in a new tab)
Project documentation · devin.ai · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- Devin runs in the cloud or on your machine and tests in its own browser.
- A Product Engineer takes a ticket or a request all the way to a tested pull request and sees it through review.