Plan a safe upgrade of a framework or library to a new version, step by step, with checks and a way back.
WHEN TO USE IT
When you need to move a project to a newer version of a framework, language or library.
Formats change. If a field stops working, check it against Anthropic's documentation.
One file. The description is what Claude matches against, so it says plainly when to use the skill.
---
name: upgrade-plan
description: Plan a safe, step-by-step upgrade of a framework, language or library version. Use when the user asks how to upgrade, migrate to a new version or update a dependency safely.
---
Plan a safe version upgrade for the user's project.
1. If the current version, the target version or what the project uses it for
is missing, ask once, in one message, then continue.
2. Before the steps, list what to read first: the official release notes and
migration guide for every version between the two [link to check].
3. Write the plan as numbered phases:
- Prepare: a branch, a backup, and the tests that must pass before starting.
- Upgrade: one version step at a time where the gap is large.
- Fix: breaking changes found, deprecation warnings, related dependencies.
- Verify: tests, a manual check of the key user journeys, performance.
- Release and roll back: how to ship, and exactly how to undo it.
4. Add a table of risks with columns Risk, Sign it has happened, What to do.
Rules:
- Do not state specific breaking changes from memory; tell the user to confirm
them in the official migration guide and mark them [check].
- Prefer small, reversible steps over one big change.
Put the folder in your skills directory. Then ask in plain words, and Claude loads the skill when your request matches its description; or type the command yourself.
# for you, in every project
mkdir -p ~/.claude/skills/upgrade-plan
mv SKILL.md ~/.claude/skills/upgrade-plan/
# then, inside Claude Code, either ask naturally:
# plan an upgrade of our web app from an old framework version to the latest one
# or run it by name:
# /upgrade-plan
MORE SKILLS
The authority
Anthropic's documentation for Skills
This template is a starting point. Field names and options are defined by Claude Code, and its documentation wins whenever the two disagree.
https://code.claude.com/docs/en/skills