Major Framework & Dependency Upgrade Migration
Generate a step-by-step upgrade strategy for major framework shifts (e.g. Next 12 to 15, Spring 2 to 3).
Execute safe, step-by-step framework migrations with AST codemods, breaking change inventories, and stepping-stone upgrade paths.
Execution Workflow Procedure
Ordered steps the coding agent executes when performing this skill.
Breaking Change & Deprecation Audit
Catalog all removed APIs, configuration property renames, and required runtime/JDK bumps.
Execute Automated Codemods
Run automated AST codemod recipes (OpenRewrite, next-codemod) to rewrite 90% of imports and namespace transitions.
Phased Execution & Verification
Execute compiler fixes, update configuration files, and run full test suites across migration milestones.
Agent Safety Guardrails & Anti-Hallucination Rules
- DO NOT skip intermediate LTS versions when upgrading across multiple major versions.
- DO NOT upgrade dependencies without validating compatibility in lockfiles.
Expected Output Format
Phased checklist with codemod commands and compatibility matrices.
Domain Verification Checks
Example Agent Invocations
Install / Configure This Skill
# Place in .cursorrules or create .cursor/rules/major-framework-upgrade-migration.mdc # Trigger: Whenever you perform major framework & dependency upgrade migration --- name: major-framework-upgrade-migration description: Plan and execute major framework upgrades using automated codemods and phased verification. version: 1.0.0 compatibility: [Cursor, Claude Code, Cline, Roo Code, Antigravity] --- # Major Framework & Dependency Upgrade Migration ## Objective Modernize legacy framework versions safely using automated codemods and stepping-stone upgrade paths. ## Workflow 1. **Deprecation Audit**: Inventory all breaking changes and removed APIs between versions. 2. **Automated Codemods**: Run OpenRewrite or next-codemod to automate bulk import and configuration rewrites. 3. **Phased Verification**: Fix compiler errors, update property configs, and verify test suites.
Need a quick one-time prompt for chat?
Try the Deprecated Dependency & Framework Upgrade Migration Plan — a lightweight version designed for 1-click copying directly into Claude, ChatGPT, or Cursor chat.
SprintKit Workflow Integrations
Complementary tools and checklists to pair with this agent workflow.
Related Agent Skills
Explore related procedural workflows in this discipline.
Spring Boot Service & JPA Code Review
Rigorous code review workflow for Spring Boot services examining transactions, JPA queries, concurrency, and validation.
Safe Legacy Code Modernization with Golden Master Tests
Safely modernize fragile legacy codebases using Martin Fowler refactoring patterns and characterization tests.
Next.js App Router & React Server Components Review
Inspect Next.js App Router code for RSC boundaries, data fetching waterfalls, caching, and hydration safety.