Upgrades ABP solutions through reviewable version hops using the classic CLI and migration guides. Use for planning major/minor upgrades, applying breaking changes, and validating each hop.
Ships in abp-upgrade. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The exact update behavior below is the classic Volo.Abp.Cli implementation. The current CLI documentation describes Volo.Abp.Studio.Cli as the default and says to append --old to invoke the classic CLI.
Version becomes exact; NPM keeps its existing ^/~ range unless you strip it yourself).Record all version sources, not just one PackageReference:
dotnet tool list --global
find . -name '*.csproj' -o -name 'Directory.Packages.props' -o -name 'package.json'
git status --short
Inspect:
Version attributes on Volo.* PackageReference items;Volo.* PackageVersion items in Directory.Packages.props when Central Package Management (CPM) is enabled;@abp/*, @volo/*, and @volosoft/* entries in dependencies, devDependencies, and peerDependencies;Require a clean or explicitly reviewed working tree. Ask before creating a commit or tag. Before any database change, take a restorable backup or snapshot and record how to restore it.
Read every migration guide after the current version through the target version. Do not read only the guide for the final major. The docs include both major guides (for example, a major-version boundary such as N.x to (N+1).0) and adjacent minor guides (each x.y to x.y+1 step).
For example, a <old> to <new> plan that crosses a major boundary and then steps every minor looks like:
x.3 -> (x+1).0 -> (x+1).1 -> ... -> (x+1).y # cross the major, then every minor up to the target
For each hop:
package-version-changes.md entries.Major guides can require a new .NET target framework or third-party major upgrade. Minor guides can still require schema migrations, proxy regeneration, HTTP changes, or dependency alignment; do not collapse them into one unreviewed jump.
update command deliberatelyRun from the solution root. Append --old when the installed abp command defaults to Studio CLI:
abp update -v <target-version> --old
Verified classic options:
| Option | Behavior |
|---|---|
-v, --version <version> | Use an exact ABP target instead of resolving the latest version. |
-lv, --leptonx-version <version> | With --version, override the LeptonX target. |
--nuget | Run only the NuGet updater. |
--npm | Run only the NPM updater. |
-sp, --solution-path <path> | Use a directory other than the current directory. |
-sn, --solution-name <name> | Skip solution auto-discovery and use the given value as the solution-path anchor; it is not combined with -sp into a .sln path. |
--check-all | Resolve each package separately only when no exact --version is supplied. |
Do not use -p / --include-previews for this command. It appears in the classic usage text, but UpdateCommand.ExecuteAsync never reads it. Pin the complete prerelease version instead:
abp update -v <full-prerelease-version> --old
The command performs both NuGet and NPM updates unless one exclusive selector is supplied. If both --nuget and --npm are present, both paths run.
update can and cannot changeFor NuGet, the classic updater scans *.csproj files and selects PackageReference items whose Include starts with Volo..
Version is logged as CPM-managed and skipped (the updater does not check ManagePackageVersionsCentrally or locate Directory.Packages.props — it just skips versionless references). Confirm the project actually uses CPM, find where that package's version is really declared, and update it yourself.--version, Volo.Abp.Studio.* references are skipped with a warning and require separate manual alignment.--leptonx-version value. The NPM updater uses --leptonx-version only together with --version.abp update -v <older-version> is not a downgrade or rollback command.For NPM, the updater scans package.json files for the three ABP scopes in dependencies, dev dependencies, and peer dependencies. When it changes a file, it runs npx yarn --ignore-scripts. It then runs install-libs automatically for non-Angular projects, but not for a directory containing angular.json.
update does not apply migration-guide code edits, create application EF Core migrations for changed entities, regenerate proxies, run the DbMigrator, or validate application behavior.
Implement only applicable guide items. Typical categories are:
package-version-changes.md;Create and review an EF Core migration when the guide or the application's model change requires one. Do not assume the DbMigrator invents that migration. Build immediately after the manual code changes so compiler failures stay attached to one hop.
If update changed a non-Angular package.json, the classic NPM updater already runs Yarn and install-libs. Run abp install-libs explicitly when dependencies were changed outside that path, its automatic execution failed, or wwwroot/libs must be rebuilt:
abp install-libs --working-directory <web-project-directory> --old
install-libs searches the given directory recursively (SearchOption.AllDirectories), so you can run it from the solution root. To rebuild wwwroot/libs it needs a Web/Razor/Blazor *.csproj in range and an abp.resourcemapping.js (also found recursively under the project); it reads that mapping and copies resources from node_modules to wwwroot/libs. For Angular, restore packages and run the Angular build/test workflow instead.
Regenerate only the client types and modules the migration guide or API changes affect. Start the host first because proxy generation reads the live API definition:
abp generate-proxy -t ng -u <host-url> --old
abp generate-proxy -t js -u <host-url> --old
abp generate-proxy -t csharp -u <host-url> --old
Review generated diffs. A migration guide can explicitly require proxy regeneration for upload/content-type changes and recommend regenerating Angular proxies after an Angular major upgrade.
After creating/reviewing required migrations and backing up the database, build and run the solution's DbMigrator:
dotnet build
dotnet run --project <path-to-DbMigrator.csproj>
The application template's DbMigrator calls the schema migrators and then IDataSeeder for the host and tenants. The EF Core schema migrator calls Database.MigrateAsync. Running it applies existing migrations and seed contributors; it is not a substitute for creating the migration your application needs.
Reading each crossed version's migration guide is required (the guides are written per adjacent version). Physically installing and validating every intermediate version, and running a rollback drill per hop, is not mandated by ABP or the CLI — abp update can jump straight to the target. It is a recommended, conservative discipline for large or high-risk upgrades. When you follow it, don't start the next hop until all applicable checks pass:
When a crossed guide flags them, include upload proxy flows, custom background job stores/options, Angular applications on a new Angular major, mixed SPA/MVC antiforgery flows, client-credential token forwarding, and code that treated a missing thread principal as null when those scenarios exist.
Do not use abp update -v <old-version> as rollback; both NuGet and NPM exact-version paths reject a target that is not greater than the current version.
When you choose to run a rollback drill (part of the recommended discipline, not required), do it in a disposable environment:
Never perform a destructive reset, database restore, commit, tag, or deployment without explicit user authorization.
abp update as a migration engine. It updates package declarations and NPM artifacts; migration-guide code, schema, proxy, and behavior changes remain manual work.--version. Exact-version NuGet and NPM updates only move to a greater semantic version.Volo.* references are skipped (the updater doesn't check whether CPM is enabled). Confirm the project actually uses CPM, find where the version is really declared (usually Directory.Packages.props), update it, and verify restore/build output.--check-all with --version. The per-package check-all path is selected only when no exact target is provided.-p for a preview. The execution path does not consume it; pin the full preview/RC version.install-libs to rebuild wwwroot/libs with no eligible project in range. It searches recursively from the given directory, but only a Web/Razor/Blazor *.csproj with an abp.resourcemapping.js triggers the copy.What SKILL.md sets; muted values are Claude Code's defaults
/abp-upgrade:version-upgradefrom abp-upgrade
npx claudepluginhub abpframework/abp-skills --plugin abp-upgradeOther plugins' skills for the same job