HBL-LL

Payload Upgrade — DevOps skill for Claude Code

DevOps community

Claude Code skill that upgrades Payload CMS safely: pins payload and every @payloadcms/ package to one exact version, prunes stale overrides, and verifies with the same npm ci / Docker build your dep.

How to install Payload Upgrade

This entry records only its repository, not the path inside it, so there is no exact command to give. Open HBL-LL/payload-upgrade and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Payload Upgrade does

Claude Code skill that upgrades Payload CMS safely: pins payload and every @payloadcms/* package to one exact version, prunes stale overrides, and verifies with the same npm ci / Docker build your deploy runs.

Alternatives in DevOps

  • Docker 71.9k ★
  • Ship Release — Systematic release workflow for RTK: build verification, version bump, changelog update, git tag, and push to 11.9k ★
  • Skill Claw — OpenClaw instance administration — manage hosts across macOS, Ubuntu/Debian, Docker, OCI, and Proxmox 2.8k ★

README

payload-upgrade

A [Claude Code](https://claude.com/claude-code) skill that upgrades [Payload CMS](https://payloadcms.com) without breaking `npm ci` or your Docker build.

It moves `payload` and every `@payloadcms/*` package to one exact version, checks the release notes, cleans up stale `overrides`, regenerates the import map and types, and verifies the result with the same install your deploy runs.

The problem it prevents

Payload plugins declare an exact peer dependency on `payload`. `@payloadcms/email-resend@3.93.0` requires `payload@3.93.0`, not `^3.93.0`.

So a project like this works on your machine and then fails on the server:

"payload": "3.92.0",
"@payloadcms/email-resend": "^3.92.0"

The next time npm re-resolves (a fresh install, `npm audit fix`, a Docker build), the caret pulls `email-resend` 3.93.0, which wants `payload@3.93.0`, and the install stops with `ERESOLVE`. `--force` and `--legacy-peer-deps` make the error go away locally and leave you with a lockfile the deploy may reject.

The fix is to keep every Payload package on the same exact version. This skill does that on every upgrade and checks it before you ship.

Install

Clone into your personal skills folder so Claude Code can load it in every project:

git clone https://github.com/HBL-LL/payload-upgrade.git ~/.claude/skills/payload-upgrade

To share it with a team, clone it into the project instead, at `.claude/skills/payload-upgrade`.

Use

Ask Claude Code in a Payload project:

  • "Upgrade Payload to the latest version"
  • "Bump Payload to 3.93.0"
  • "npm ci fails with ERESOLVE on @payloadcms/storage-s3, fix it"
  • "Clear the npm audit advisories that come from Payload"

Claude loads the skill and works through it:

  1. Runs the version check on the current project.
  2. Reads the Payload release notes between your version and the target.
  3. Pins payload and every @payloadcms/* package to the target, with no ^ or ~.
  4. Reviews overrides and removes