Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By dhruvasagar
Audit Ruby and Rails projects for breaking changes, generate phased upgrade roadmaps, and apply automated fixes with RSpec and RuboCop verification.
npx claudepluginhub dhruvasagar/ruby-upgrade-toolkit --plugin ruby-upgrade-toolkitGenerate a phased Ruby (and optionally Rails) upgrade roadmap for this project. Detects current versions automatically. Usage: /ruby-upgrade-toolkit:plan ruby:X.Y.Z [rails:X.Y]
Manage project-specific custom upgrade rules — gem pins, gem swaps, private-source substitutions (Rails LTS, Sidekiq Pro), verification gates (Brakeman, Reek), policy overrides, and more. Subcommands: init, validate, list, show, add, remove, disable, enable, explain.
Show the current upgrade health dashboard — versions, test suite pass/fail, deprecation count, and overall RED/YELLOW/GREEN readiness. No arguments required.
Full automated Ruby/Rails upgrade pipeline — audit, phased fixes, and verification with a live task list. Pauses on failure so you can investigate before continuing. Usage: /ruby-upgrade-toolkit:upgrade ruby:X.Y.Z [rails:X.Y]
Apply all upgrade fixes — version pins, gem updates, code changes, RSpec fixes, and RuboCop fixes. Usage: /ruby-upgrade-toolkit:fix ruby:X.Y.Z [rails:X.Y] [scope:path]
You are a Ruby and Rails deprecation remediation specialist. You fix deprecated code patterns precisely, verify your changes with tests, and guide users through complex fixes that cannot be automated safely.
You are a Ruby and Rails upgrade specialist. Your job is to perform a comprehensive read-only pre-upgrade audit and produce a clear, prioritized findings report. You never modify files.
Use when the user runs /ruby-upgrade-toolkit:audit or asks to audit their project before an upgrade, find what will break, check gem compatibility, or assess the scope of an upgrade. Read-only — never modifies files. Accepts ruby:X.Y.Z and optional rails:X.Y arguments.
Use when the user runs /ruby-upgrade-toolkit:fix or asks to apply upgrade fixes, bump Ruby/Rails versions, fix deprecations, fix RSpec failures after upgrading, or fix RuboCop issues. Accepts `next` (read target from the task list) OR explicit ruby:X.Y.Z, optional rails:X.Y, and optional scope:path arguments. Applies all changes, iterates until green, verifies, prompts for commit, and ticks off the matching task.
Use when the user runs /ruby-upgrade-toolkit:plan or asks to plan a Ruby or Rails upgrade, generate an upgrade roadmap, or understand what phases are involved in bumping versions. Accepts ruby:X.Y.Z and optional rails:X.Y arguments. Produces a phased, project-specific upgrade plan with estimates AND creates a TodoWrite task list that /fix next and /upgrade consume.
Internal reference skill loaded by audit and fix skills for version-specific Rails breaking changes and fix patterns. Not a user-facing skill — do not activate this directly. Only load it when explicitly referenced by another skill in this plugin.
Use when the user runs /ruby-upgrade-toolkit:rules or asks to add, list, validate, show, remove, disable, enable, or explain project-specific upgrade rules — gem pins, gem swaps, private-source substitutions (Rails LTS, Sidekiq Pro), verification gates (Brakeman, Reek), policy overrides. Reads and writes .ruby-upgrade-toolkit/rules.yml at the project root.
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Plan and execute Rails version upgrades following FastRuby.io methodology
Analyzes Rails applications and generates comprehensive upgrade reports with breaking changes, deprecations, and step-by-step migration guides for Rails 6.0 through 8.1.1
Ruby on Rails development toolkit with skills for Rails, Ruby, RSpec, RuboCop, SimpleCov, Brakeman, and code review with Sandi Metz principles
Align Rails load_defaults across versions with safe, incremental config changes based on FastRuby.io methodology
AI-powered upgrade intelligence platform. Multi-agent council analyzes your codebase across 8 dimensions, produces confidence-scored suggestions with visual impact heatmaps, upgrade roadmaps, framework-specific deep dives, and before/after impact previews. Features innovation radar, tech debt forecasting, and coordinated upgrade bundles.
Comprehensive RuboCop skills for Ruby linting and style enforcement with configuration, cops, and CI integration.
Has parse errors
Some configuration could not be fully parsed
Has parse errors
Some configuration could not be fully parsed
Share bugs, ideas, or general feedback.
A Claude Code plugin for upgrading Ruby projects safely — including Ruby on Rails apps. Supports any Ruby version upgrade (2.7→3.x and beyond) and any Rails version upgrade (5→8), separately or together.
The plugin gives Claude a structured, repeatable methodology for Ruby and Rails upgrades. The six commands compose — use as many or as few as you need. A sixth command — rules — is optional: it manages a project-local policy file (gem pins, gem swaps, Rails LTS / Sidekiq Pro substitutions, extra verification gates like Brakeman) that the other commands pick up automatically.
/ruby-upgrade-toolkit:upgrade ruby:X.Y.Z [rails:X.Y]
One command runs everything: detects versions, validates compatibility, computes the full upgrade path (including intermediate versions), creates a live task list, applies fixes phase by phase, verifies after each phase, and pauses with a recovery menu if anything fails.
Use this when you want to move quickly and trust Claude to sequence and execute the work.
/ruby-upgrade-toolkit:audit ruby:X.Y.Z [rails:X.Y] # understand the scope
/ruby-upgrade-toolkit:plan ruby:X.Y.Z [rails:X.Y] # review the phase sequence
/ruby-upgrade-toolkit:upgrade ruby:X.Y.Z [rails:X.Y] # execute the plan
audit surfaces breaking changes and gives an effort estimate before touching any code. plan shows exactly which phases will run, in what order, and — in its Estimate Summary — the effort, risk, blast radius, and confidence for each phase so you can sanity-check scope and sequencing. Once you're comfortable with the plan, upgrade executes the same sequence automatically — no need to re-specify anything.
Use this when you're doing a major version jump, have a large codebase, or want to understand the scope before committing to execution.
/ruby-upgrade-toolkit:audit ruby:X.Y.Z [rails:X.Y] # read-only scan
/ruby-upgrade-toolkit:plan ruby:X.Y.Z [rails:X.Y] # roadmap + creates a task list
/ruby-upgrade-toolkit:fix next # apply next pending phase; repeat
plan creates a TodoWrite task list (one task per phase); fix next reads the list, picks the first pending task, applies it, verifies, prompts you for commit, and ticks it off. Iterate fix next until the list is empty. You can also pass explicit args to fix to jump to a specific phase — useful when resuming or working out of order.
Use this when you want to inspect and approve changes phase by phase, apply fixes to a specific scope (scope:path), or resume a partially completed upgrade.
Manual and automated share the same machinery. /upgrade is a loop of /fix next calls around the same TodoWrite task list that /plan creates, plus some pre-loop prerequisite checks (branch, Ruby installs) and a post-loop Final infra check (CI/CD, Dockerfiles). If you already ran /plan and did a few /fix next iterations manually, /upgrade reuses that list as-is (target-matching) and picks up where you left off — progress is preserved. If the invocation target differs or no list exists, upgrade regenerates the list via /plan. Either way, the per-phase work is byte-identical.
Why the order matters:
audit is read-only — zero risk, surfaces breaking changes and effort before touching anythingplan sequences work correctly (Ruby phases before Rails phases, intermediate versions in the right order), quantifies each phase (effort, risk, blast radius, confidence), and creates the task list that drives the rest of the workflowfix next consumes the next pending task from the list; on successful commit it ticks the task off. Repeat until the list is empty.status is an on-demand dashboard — useful for a full health snapshot, though fix's built-in verification is what gates the commitAdd the marketplace and install the plugin:
/plugin marketplace add dhruvasagar/ruby-upgrade-toolkit
/plugin install ruby-upgrade-toolkit@dhruvasagar
Or use the interactive UI: run /plugin, go to the Discover tab, search for ruby-upgrade-toolkit, and click Install.
git clone https://github.com/dhruvasagar/ruby-upgrade-toolkit
Then add the cloned directory as a local marketplace and install:
/plugin marketplace add /path/to/ruby-upgrade-toolkit
/plugin install ruby-upgrade-toolkit
/reload-plugins
Uninstall and reinstall to get the latest version:
/plugin uninstall ruby-upgrade-toolkit@dhruvasagar
/plugin install ruby-upgrade-toolkit@dhruvasagar
Then reload without restarting Claude Code:
/reload-plugins