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.
- 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.
Related agent uses
Turn ticketed work into PRs and repair failing checks
Cognition used Devin to turn Slack and Linear requests into pull requests, then keep fixing review and CI issues until checks passed.
Build a WordPress site from a Figma file overnight
A developer let Devin read a Figma design through MCP and had it assemble a WordPress marketing site while they slept.
Rewrite a README after a codebase rearchitecture
A developer had Devin scan a reworked repository and draft a new README with setup and API details in a pull request.
Use Devin for small pull requests
A team handed Devin narrow fixes in their repo, then reviewed the tests and pull requests it produced.
Use Devin to build and then slim down a calculator app
A Scott Logic developer used Devin to create a calculator app, then had it map out a refactor that shrank the codebase by about 60%.
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.