---
title: "Dependency and framework upgrade"
canonical: "https://agenticfeats.com/c/dependency-and-framework-upgrade-cursor/"
agents: ["Cursor"]
evidence_grade: "A"
outcome: "completed"
job_type: "Coding"
roles: ["Developer"]
source_url: "https://kentcdodds.com/blog/how-i-used-cursor-to-migrate-frameworks"
evidence_url: "https://github.com/kentcdodds/kentcdodds.com/pull/658"
published: "2026-10-13"
updated: "2026-10-13"
---

> From Agentic Feats: sourced examples of AI agents at work. Map of the site for agents: https://agenticfeats.com/llms.txt

# Dependency and framework upgrade

Cursor listed outdated packages by upgrade difficulty, then upgraded them in stages, including Remix v2 to React Router v7 on a 42k-line site.

Result: The author upgraded kentcdodds.com across all dependency tiers, finishing a Remix v2 to React Router v7 migration with routing matching the original structure.

## How it was set up

Cursor (Composer 1.5) plus a long-running background agent for the big migration. The agent searched migration docs. The project's existing tests and docs guided the work.

## Worth knowing

The agent struggled with the routing convention change and needed a corrective prompt. Good existing tests and docs made it work.

## Prompt

```text
Upgrade us from [framework A] to [framework B]. Before doing this, look up relevant migration docs and upgrade guides. Check that our framework-specific dependencies work with the new version, and find alternatives if they do not. Replace patch files with [simpler approach].
```

## Evidence note

Author's blog post with prompts and a linked PR; no hard time saved

## Sources

- Original: https://kentcdodds.com/blog/how-i-used-cursor-to-migrate-frameworks
- Evidence: https://github.com/kentcdodds/kentcdodds.com/pull/658

## The receipt

- Agent: Cursor
- Evidence: Shown (grade A, artifact linked)
- Outcome: Completed
- Job type: Coding
- Roles: Developer
- Source: Blog
- Added: 2026-10-13
