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.
- What they did
- After a major rearchitecture, the developer handed Devin the repository and a step-by-step set of instructions. Devin reviewed the code and the old README, then suggested a high-level outline before pausing for approval. After being told to treat the project like a fresh developer, it checked its own setup steps, flagged gaps, and opened a pull request from a branch based on develop.
- How it went
- The new README included correct setup instructions, API endpoint descriptions, and examples drawn from the code. It had trouble with the project’s purpose and design reasoning, since those details were not present in the codebase.
- Tips
- If you want better coverage of architecture decisions, give the agent internal docs or diagrams along with the code. Ask it to mark anything uncertain so you can review it before merge.
Try it yourself with Devin
I need to update the README for [repo path] after a major rearchitecture. First, scan the codebase and the current README, then draft an outline for a revised README with setup, configuration, and API sections. Pause and wait for my confirmation before making any changes. After I reply "CONFIRMED, PROCEED", recheck the repository as if you were a new developer, verify each setup command against the code, and note any missing details or unclear parts. Write the updated README in [file path], keep placeholders where design rationale or project purpose cannot be verified from the code, and show me the diff on a new branch before opening a 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
Have Devin add a third-party token endpoint in your repo
A developer had Devin build a backend token endpoint from docs, then cleaned up the pull request through a few review cycles.
Have Devin click through and verify its own app work
Use Devin to build or run an app, then test it by navigating the interface itself and marking what passes.
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.
Record a feature walkthrough, fix issues, and land the PR
Ryan Carson used Devin to click through a feature, find bugs, repair them, and merge the pull request with a command.
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%.