serverpod-upgrading
Skill by serverpod
Upgrades Serverpod projects to a newer minor, patch or major version. It lists the breaking changes for moving from 2.x to 3.0 and from 3.x to 4.0. It is for developers who maintain Serverpod Dart and Flutter projects.
Install serverpod-upgrading
Built from the published package, never by AI.
git clone --depth 1 https://github.com/serverpod/serverpod /tmp/serverpod && mkdir -p ~/.claude/skills && cp -r /tmp/serverpod/packages/serverpod/skills/serverpod-upgrading ~/.claude/skills/serverpod-upgradingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/serverpod/serverpod /tmp/serverpod && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/serverpod/packages/serverpod/skills/serverpod-upgrading ~/.gemini/antigravity-cli/skills/serverpod-upgradingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install serverpod-upgrading in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through upgrading Serverpod projects. It covers minor and patch updates, and major upgrades from 2.x to 3.0 and from 3.x to 4.0. The assistant checks the latest version on pub.dev, verifies the Serverpod CLI version, and updates the pubspec.yaml files in the server, client, flutter and shared packages. It then runs dart pub upgrade, serverpod generate, serverpod create-migration and dart analyze, and restarts the runner.
The skill lists the breaking changes to address for each major version. These include streaming endpoints, future calls, server events, ORM ordering, web server widgets, enum serialization and auth changes. It tells the assistant to stop and ask the user before changing the CLI tooling. It is aimed at developers who maintain Serverpod projects.
Written from the project's SKILL.md and checked against it.
What it can do
- Minor and patch upgradesUpdates Serverpod packages to the latest version, with the same pinned version across all packages.
- CLI version checkRuns serverpod version to confirm the tooling matches the version being installed.
- Dependency updatesUpdates pubspec.yaml files in the server, client, flutter and shared packages and runs dart pub upgrade.
- Generate and migration stepsRuns serverpod generate and serverpod create-migration after the upgrade.
- Analysis and runner restartRuns dart analyze in the project root and restarts the runner with serverpod runner stop and start.
- Serverpod 3.x to 4.0 changesLists breaking changes for streaming, future calls, ORM, endpoints, web server, auth and server setup.
- Serverpod 2.x to 3.0 changesLists breaking changes for the web server, session requests, enum serialization, models and auth.
What you need
- Dart 3.12.2 or newer
- Flutter 3.44.4 or newer
- Serverpod CLI installed at the matching version
Try asking
- Upgrade my Serverpod project to the latest version
- Check which breaking changes apply when moving from Serverpod 3.x to 4.0
- Update all Serverpod packages in my server and client pubspec files
Good to know
- The skill says never to update the CLI tooling and to ask the user to do it instead.
- All Serverpod packages must use the same pinned version.
- On Android, upgrading flutter_secure_storage from 9.x directly to 11.x signs users out, so go through 10.x first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/serverpod/skills/serverpod-upgrading/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to serverpod-upgrading
All alternatives →Diagnoses slow React components and suggests targeted performance fixes. Built for developers who want to reduce re-renders or list lag in React UIs.
Diagnoses slow React components and suggests targeted performance fixes. Built for React developers who need to reduce re-renders, list lag, or expensive render work.
Designs masterclass-style lectures as slide courses with dense pages, long teacher narration and rare quizzes. Built for subjects where understanding matters more than hands-on practice.
Designs hands-on workshop courses in which the learner practises through exercise and quiz pages instead of watching. It suits workshops, bootcamp sessions and skills the learner should leave able to use.
Analyzes competition and develops market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps. Useful for founders and teams evaluating competitors or preparing a startup or investor pitch.
Designs courses whose content depends on current or external facts. It researches the topic first, records each claim with its source, and builds the outline and pages from fetched material. Built for educators teaching time-sensitive subjects.
Compare with react-component-performance, react-component-performance or lecture-style
serverpod-upgrading: common questions
Does this skill update the Serverpod CLI?
No. The source says never to update the CLI tooling. The assistant should stop and ask the user to install the correct version instead.
Which breaking changes does it cover?
It covers changes for 3.x to 4.0, such as streaming, future calls, server events, ORM and auth. It also covers changes for 2.x to 3.0, such as web server widgets, enum serialization and models.
Which Dart and Flutter versions are required?
The source states Dart 3.12.2 or newer and Flutter 3.44.4 or newer for this Serverpod version.
How do I install serverpod-upgrading?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is serverpod-upgrading free?
The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.
Is serverpod-upgrading safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to serverpod-upgrading?
Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.
