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.
- What they did
- Using Devin through Slack, the developer asked it to create a token-generation endpoint for an outside service and plug it into an existing microservice. They pointed Devin to the service docs and asked it to reuse the current CDK secret setup for the API key. Devin shared a plan, then opened a GitHub pull request. The developer reviewed it, left comments, and Devin pushed revisions.
- How it went
- After 2-3 rounds of review, the code was ready to ship, tests passed, and the pull request was merged. The whole job took about an hour, while the manual version would have taken about 15 minutes. The developer spent roughly 5 minutes on review.
- Tips
- Treat the pull request like a junior developer’s work: check key handling, code style, and whether new logic belongs in a shared library. Make the agent stop after opening the PR and wait for approval before any merge or other irreversible step.
Try it yourself with Devin
In [repo], add a backend endpoint for [third-party service] using [docs link] as the source of truth. Wire it into the existing [microservice name], and use the current [CDK secrets/env setup] for the API key. Match the code style and abstractions used in [relevant folder/file], add tests, and open a pull request with a short summary of the changes and any assumptions. Do not merge. Before making any irreversible change such as deleting, submitting, sending, or merging, pause and ask me to approve 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
Use Devin to update a docs list and open a PR
Devin added a new AI coding CLI tool entry to a docs page and opened a pull request in about 5 minutes.
Use Devin to push backlog work into pull requests
Ryan Carson used Devin across several tools to turn backlog items into pull requests faster.
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.
Start in Devin CLI, then hand off to cloud
Use Devin CLI to build context locally, then pass the same session to Devin Cloud so it can keep working without a reset.
Build a page in small Devin sessions
An engineer used Devin to ship a deals page in stages, with each chunk handled in a separate session and PR.
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.