upgrade-hugo
Skill by curtiscde
Upgrades a Hugo theme to the latest Hugo release without changing its rendered output. It is for theme maintainers who need to fix deprecations, bump the Netlify pin and open a pull request.
Install upgrade-hugo
Built from the published package, never by AI.
git clone --depth 1 https://github.com/curtiscde/hugo-theme-massively /tmp/hugo-theme-massively && mkdir -p ~/.claude/skills && cp -r /tmp/hugo-theme-massively/.claude/skills/upgrade-hugo ~/.claude/skills/upgrade-hugoRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/curtiscde/hugo-theme-massively /tmp/hugo-theme-massively && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hugo-theme-massively/.claude/skills/upgrade-hugo ~/.gemini/antigravity-cli/skills/upgrade-hugoAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The upgrade-hugo skill brings a Hugo theme up to the latest Hugo release. It reads the release notes between the current Netlify HUGO_VERSION pin and the latest release, then searches layouts, hugo.toml and the example site for deprecations, removals and template-system changes.
The skill downloads Hugo extended binaries for the old and new versions and compares the generated output. It fixes templates and config until the build log is clean and the diff is empty. It raises the minimum Hugo version only when a fix needs a newer API, bumps the pin, runs the end-to-end tests, and prepares a branch and pull request. It is written for maintainers of Hugo themes that use GitHub and Netlify.
Written from the project's SKILL.md and checked against it.
What it can do
- Version checkCompares the latest Hugo release with the current Netlify pin and stops if they match.
- Release notes reviewReads every Hugo release after the current pin for deprecations and removals.
- Binary comparisonBuilds the example site with old and new Hugo binaries and diffs the output.
- Template and config fixesReplaces deprecated names in layouts, hugo.toml and the example site.
- Minimum version decisionRaises the minimum Hugo version only when a fix uses a newer API.
- Pin bumpSets HUGO_VERSION in netlify.toml to the latest release without adding a maximum version.
- End-to-end testsRuns npm run e2e:headless with the new Hugo binary on the PATH.
- Changelog guidanceExplains when to add a CHANGELOG entry and which SemVer level applies.
- Pull requestCreates an upgrade branch, splits commits by concern, and opens a PR after user confirmation.
What you need
- GitHub CLI (gh)
- Hugo extended binaries from gohugoio/hugo releases
- Node.js with npm
- macOS or Linux
Try asking
- Upgrade this theme to the latest Hugo release.
- Check whether this theme is compatible with the newest Hugo.
- Bump Hugo and fix any deprecation warnings in the templates.
Good to know
- If the pin already matches the latest release, the skill stops.
- Releases before about v0.150 may use different download asset names.
- The skill asks for confirmation before pushing the branch.
- Only a change to the Netlify pin needs no CHANGELOG entry.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/upgrade-hugo/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to upgrade-hugo
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
upgrade-hugo: common questions
Does a Hugo upgrade with this skill change the site output?
The skill aims to keep rendered output unchanged and requires the diff between old and new builds to be empty. Any intended difference must be explained in the commit message.
Why does the skill use --logLevel info?
Hugo reports some deprecations at INFO level for several releases before they become WARN, so a default build can hide them.
When does the minimum Hugo version change?
The minimum is raised only when a fix uses an API newer than the current floor. The new minimum must build clean, and the release just below it must fail.
How do I install upgrade-hugo?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is upgrade-hugo free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is upgrade-hugo safe to use?
It scores 68 of 100. Grades: maintenance A, licence F, quality B. 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 upgrade-hugo?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
