Skip to main content
skill CX Codex

rails-upgrade — Claude Code skill: what it does, how to install

Evaluates Rails version bumps, checks JS assets, and guides selective configuration merging without wiping custom code.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add robzolkos/skill-rails-upgrade --skill rails-upgrade -a claude-code
Open on GitHub

What rails-upgrade does

The skill validates your project by looking for Gemfile, config/application.rb, and config/environment.rb, then extracts the installed version from Gemfile.lock. It queries the Rails repository using GitHub CLI to find the newest release tag and categorizes the jump as patch, minor, or major.

Next, it pulls relevant upgrade guides and fetches boilerplate changes from railsdiff.org. The workflow also audits frontend packages across package.json or config/importmap.rb, targeting libraries like @hotwired/turbo-rails and @rails/actioncable. Without GitHub CLI configured in your shell, fetching remote tags will fail.

Instead of invoking rails app:update blindly, the skill emphasizes careful file updates. This preserves custom initializers and local modifications while bringing default configs and migrations up to date.

What it helps with

  • Assess Rails upgrade difficulty between current and target releases
  • Inspect config differences via railsdiff.org without overwriting customizations
  • Check version alignment for npm and importmap JavaScript dependencies
  • Outline required migrations and deprecation cleanup steps

Example prompts for the agent

  • Check my Rails version and generate an upgrade roadmap to the latest release
  • Inspect package.json and config/importmap.rb for outdated Rails JavaScript packages
  • Show the diff for default Rails configuration files without overwriting local changes

How to install rails-upgrade

1Skills CLI (Vercel)

npx skills add robzolkos/skill-rails-upgrade --skill rails-upgrade -a claude-code

2Manually: put the files in place

~/.claude/skills/rails-upgrade/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/rails-upgrade/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about rails-upgrade

How to install rails-upgrade in Claude Code?

Run npx skills add robzolkos/skill-rails-upgrade --skill rails-upgrade -a claude-code. The skill will be placed in ~/.claude/skills/rails-upgrade/SKILL.md.

What does the rails-upgrade skill do?

It inspects installed gem versions, queries releases, reviews official upgrade guides, and inspects file diffs alongside JavaScript packages.

Why does this skill avoid running rails app:update?

Default app update tasks overwrite customized configuration files, whereas this skill promotes selective merging to preserve project-specific edits.

Similar skills

All skills for Backend and APIs →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor