{"slug":"devin-issue-to-pr","title":"Ask Devin for a pull request from a tightly written issue","summary":"Devin picks up one issue and opens a PR. The playbook tells it which repo, which commands, and what not to touch.","agent":"Devin","agentSlug":"devin","category":"Coding","categorySlug":"coding","roles":["Software engineer"],"roleSlugs":["software-engineer"],"industries":["Software"],"industrySlugs":["software"],"jobs":["shipping-code"],"topic":"Dev & Coding","topicSlug":"dev-and-coding","score":22,"difficulty":"hard","estCost":"A Devin plan. Cognition's pricing changes. Check devin.ai rather than trusting a remembered seat price.","costTier":"medium","timeSaved":"A first implementation pass on an issue that already has repro steps. Review time does not go to zero.","prompt":"Work on the issue URL below in the repository I name. Open a pull request when the test command passes.\n\nConstraints:\n- Do not modify CI to weaken a required check.\n- Do not upgrade dependencies unless the issue says to.\n- Explain behavior changes in the PR body with the issue link.\n- If you need a secret that is not already in the environment, stop.\n\nISSUE:\nREPOSITORY:\nTEST COMMAND:","steps":[{"title":"Read Devin's intro and connect the repo","detail":"The getting-started docs cover the first session. Connect only the repository named in the prompt."},{"title":"Rewrite the issue until the test command is real","detail":"Devin cannot honestly finish an issue that does not say how to know it is done."},{"title":"Let it open the PR, then review like any other contributor","detail":"Look at CI changes and lockfiles first. The prompt forbids weakening checks and casual upgrades."},{"title":"Merge yourself","detail":"An agent-opened PR is still a PR. Pair it with the regression-test habit if the issue is a bug."}],"sourceUrl":"https://docs.devin.ai/get-started/devin-intro","sourceNote":"Official documentation URL, checked when this seed was written. The prompt and steps are an original AI Playbook Gems playbook, not a quotation of a customer story, and have not been re-run.","date":"2026-10-09","verified":false,"status":"unverified","sponsorUrl":"","metrics":[{"label":"Hands-on time","value":"A full PR review"},{"label":"You still approve","value":"Merge, secrets, and CI policy"},{"label":"Cost bucket","value":"Medium"}],"faq":[{"question":"Has this Devin playbook been re-run for the catalog?","answer":"No. Status is unverified. Paste the prompt, keep the version that worked, and do not treat the time or cost lines as measurements."},{"question":"Why is there no Windsurf playbook?","answer":"On 15 Oct 2026, windsurf.com and docs.windsurf.com/windsurf/getting-started redirected to Devin Desktop. A separate Windsurf section would be a stale name."}],"url":"https://aiplaybookgems.com/usecases/devin-issue-to-pr","jsonUrl":"https://aiplaybookgems.com/api/usecases/devin-issue-to-pr"}