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.

Done with Devin· Intermediate

What they did
Marie Fayard gave Devin access to only her fp-ts-exercises repository. Using Devin’s Analyze prompt feature, she asked it to refresh dependencies, switch tests from Mocha to Vitest, and prepare a pull request. Devin drafted a plan for her to approve, then later added lint and TypeScript-check commands before sending the PR.
How it went
The pull request showed up within minutes and described the changes correctly. Devin also ran extra exercise checks, but the new lint and compile commands failed because package.json did not include type:module. Marie fixed that problem herself in about 7 minutes. The run used 1.7 ACUs, which came to about $3.83.
Tips
Limit access to the one repository you want changed so the agent cannot wander. If the agent adds scripts that depend on module settings, verify package.json before assuming they will work.

Try it yourself with Devin

Take [repo URL] and bring it up to date: refresh outdated dependencies, add linting plus useful npm or build scripts, and move the test setup from [old test runner] to [new test runner]. Start by scanning the repository and proposing a short plan, then stop and ask me to approve it before editing anything. Once I approve, make the changes, run the relevant checks, and create a single pull request that explains what changed and how to run the project. Do not merge, and pause for confirmation before any action that would be hard to undo, such as deleting files or submitting the pull request.

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.