Payload Upgrade — DevOps skill for Claude Code
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 cifails 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:
- Runs the version check on the current project.
- Reads the Payload release notes between your version and the target.
- Pins
payloadand every@payloadcms/*package to the target, with no^or~. - Reviews
overridesand removes
Related Skills
Upgrade Check
Analyze Terraform provider or module upgrades for breaking changes and risks
Lockdown
Per-repo supply-chain hardening — detects the package managers, Dockerfiles, and CI in use, then guides you th
Harden Config
Deployment hardening step 5 — validate runtime/deploy config per target. Railway: railway.json/toml, healthche
Junctio
Self-hosted MCP gateway: one container, one endpoint per client, upstream OAuth that never goes stale. Aggrega
DevOps Drill
One practical DevOps skill drill — goal, mental model, hands-on lab, verify, common mistake, career upgrade. G
Bedrock Eu Guard
CLI checker that verifies Claude Code on AWS Bedrock stays EU-only (eu-central-1): scans env, Claude Code, Dev
Related Agents
Dependency Update Reviewer
Reviews dependency version bumps for safety across the monorepo. Use when Dependabot PRs arrive, pnpm.override
Knowledge Gardener
Surveys the graph and notes what has gone leggy or stale — never prunes. Use this agent for read-only knowledg
Dep Purist
The relentless auditor of project dependencies. Use this agent to find outdated, vulnerable, duplicate, unused