Guides major dependency version upgrades with compatibility analysis, staged rollout, testing, and rollback planning.
- What it does
- This skill provides instructions for planning and executing major dependency version upgrades. It covers semantic versioning review, dependency auditing and tree analysis, compatibility matrices, staged incremental upgrades, breaking-change handling with codemods, and testing strategies including unit, integration, visual regression, and E2E tests. It also documents automated update configuration for Renovate and Dependabot, lock file management, peer dependency resolution, workspace upgrades, and rollback procedures.
- When to use it
- Use it when upgrading major framework versions, updating security-vulnerable or legacy dependencies, resolving dependency conflicts, or planning incremental upgrade paths. It is also suited to setting up compatibility testing and automated dependency update workflows.
- Requirements
- No scripts are shipped; it is instructions only. Following the examples assumes a JavaScript/TypeScript project with npm or yarn, and optionally tools such as npm-check-updates, madge, jscodeshift, and test runners. Some examples reference network access to fetch changelogs or codemod transforms.