ruby-upgrade
Ruby Upgrade
Overview
This skill upgrades a Ruby application from one major/minor Ruby version to
another — currently targeting the Ruby 3.x → 4.0.x jump. It runs a
breaking-change risk audit against the codebase, writes a stakeholder-ready
analysis, applies the mechanical toolchain edits (.ruby-version, Dockerfile,
CI, RuboCop TargetRubyVersion, Gemfile pins), and verifies via bundle,
RuboCop, type checks, and the test suite.
This is the Ruby-interpreter upgrade. For Rails framework version bumps
(6.x → 7.x → 8.x, config.load_defaults, railsdiff), use the
rubypowers:rails-upgrade skill instead. They are often done together —
run the Rails upgrade's Ruby-compatibility table first to confirm the target
Ruby is supported by the current Rails version.
Announce at start: "I'm using the ruby-upgrade skill to plan this Ruby upgrade."