Overview
Hand a Vue framework upgrade of an Electron desktop app to Devin in small, test-backed sessions, each returning a draft pull request that you review and merge yourself.
Problem or Objective
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Devin · Vue · Electron
- Prerequisites
- Needs Devin access; if your company is already working with Cognition, you can request permissions from your Administrator or Cognition directly and access Devin via the web application. Needs a repository with a working build and tests.
How It Works
Before starting, make sure the app's test suite and build run in CI, because Devin's guidance says tasks with tests or CI checks give the best results. Start a first Devin session that only reads the repository and writes an upgrade plan: the Vue and package versions to move to, the list of components, and an order that keeps the app building after each group. Then run one session per small group of components, asking Devin to upgrade that group, update the affected packages, keep the tests passing and open a draft pull request. Review and merge each pull request yourself before starting the next session. When the last group is merged, build the desktop app on every operating system you ship and try it by hand: windows, menus, file access, saved settings and auto-update, since the cited pages do not cover any of these.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Devin.
- Connect the toolsConnect the tools this workflow relies on: Devin, Vue, Electron.
- Check the prerequisitesNeeds Devin access; if your company is already working with Cognition, you can request permissions from your Administrator or Cognition directly and access Devin via the web application. Needs a repository with a working build and tests.
- Gather your detailsCollect what the prompt asks for: Repository of the desktop app, File with the upgrade plan, Components for this session.
- Run the starter promptPaste the starter prompt below into Devin and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.devin.ai before you rely on it.
Practical Starter Prompt: Upgrade one group of Vue components
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
In [Repository of the desktop app], follow the plan in [File with the upgrade plan] and upgrade only these components to Vue 3: [Components for this session]. Update any packages they need, keep the existing tests passing, and add a test where a component has none. Do not touch other components, release settings or signing files. When the build and tests pass, open a draft pull request describing each change and anything you could not verify, then stop and wait for my review before starting the next group.Run one session per group and review and merge each draft pull request yourself before the next. Build and test the packaged desktop app by hand before releasing it.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Devin's documentation lists framework upgrades under code migrations, refactors and modernization, says it returns draft pull requests for review, and advises splitting very large projects into focused sessions that build on each other. It also notes that good tasks have explicit success criteria such as passing tests. Nothing cited covers Electron specifically, so desktop packaging and native features need your own testing.
Limitations and Considerations
Devin returns draft pull requests; you decide what merges, and nothing should ship to users until you have tested the packaged app. Give Devin access only to the repository it needs and keep secrets such as signing certificates out of its sessions. Devin's docs warn that it may not always work exactly as documented and that documentation may be out of date. Check your Devin plan for how sessions are billed before running many of them. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Introducing Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Code migrations, refactors, and modernization
- Framework upgrades (e.g. Angular 16 -> 18)
- Carving out tasks from your todo list at the start of your day and returning to draft PRs waiting for review.
- In some cases Devin may not function exactly as referenced, or documentation may be out of date.
- When to Use Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- For very large projects, split the work into focused sessions that build on each other.
- Good tasks have a clear start and end, plus explicit success criteria (e.g., passing tests, matching an existing pattern, CI green)