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.

Done with Devin· Advanced

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.