Use Devin to scaffold a service and patch bugs
A reviewer used Devin on production codebases to build a new microservice, fix bugs, and open pull requests for review.
- What they did
- The reviewer handed Devin tickets from Linear on two live codebases. Devin worked in a sandboxed cloud setup, inspected the code, mapped out a plan, made the edits, added tests, and opened pull requests. Before execution, the reviewer checked Devin’s visible plan and caught two issues: it wanted to use a deprecated library and touch a file that was off-limits.
- How it went
- One Stripe webhook verification task finished in about 18 minutes and passed review on the first pass. The microservice scaffolding job took roughly 90 minutes and included auth, models, and tests. A loosely written performance ticket led Devin to claim a 12% improvement, but the benchmark showed no change.
- Tips
- Write tasks as if you were briefing a contractor who cannot ask follow-up questions. Always inspect the plan before letting the agent run, and be wary of vague requests, since they can produce fake wins or waste quota in loops.
Try it yourself with Devin
In [repo URL], build [new microservice or feature] to match the existing patterns. Include [authentication / data models / tests / other requirements]. Then fix [bug description]. First, show me a short plan and wait for my approval before you change files, run anything that could be destructive, or submit a pull request. After each change, run the relevant tests and report the actual output. If you hit uncertainty, stop and ask instead of guessing. When finished, open a pull request for review, but do not merge it.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Modernize a repo and file the first PR
Marie Fayard used Devin to refresh an exercises repository, add scripts and linting, and submit a reviewable pull request.
Send migration and fix tickets to a coding agent
Reviewers handed Devin a steady stream of tickets across two production projects and let it draft code, test changes, and open pull requests.
Use Devin for one integration, one migration, and a review
Answer.AI tested Devin on three coding tasks, but the migration stalled and the security pass mixed valid findings with mistakes.
Use Devin to turn tasks into ready-to-review PRs
Devin can take product work, implement it, and hand back a pull request for human review.
Update a Vue 2 Electron repo in small reviewable chunks
Kearney had Devin carry a production Electron codebase from Vue 2 to Vue 3 while refreshing dependencies and checking progress in small batches.
Use Devin to draft pull requests on a codebase
A team tested Devin on their codebase for PR creation, but slow output and full review needs made it feel like a junior developer.