Upgrade Fix

Automate Ruby and Rails upgrades with audit, plan, fix, and verification workflows.

12|1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/dhruvasagar/ruby-upgrade-toolkit --skill upgrade-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Upgrade Fix
Source: https://github.com/dhruvasagar/ruby-upgrade-toolkit/tree/main/skills/fix
Command: npx skills add https://github.com/dhruvasagar/ruby-upgrade-toolkit --skill upgrade-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates end-to-end Ruby and Rails upgrade work on a codebase, applying pins, fixes, and verification across the upgrade lifecycle.

Core Features & Use Cases

  • Audit, plan, and fix upgrades with version pins, gem compatibility, and code changes.
  • Iteratively verify with RSpec and RuboCop, updating Rails config as needed.
  • Manage upgrade workflows through /audit, /plan, /fix, and /upgrade for controlled, repeatable upgrades.

Quick Start

Run the upgrade workflow with a target ruby and optional rails version.

Frequently Asked Questions about Upgrade Fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate a Ruby on Rails upgrade across my codebase?

Automating a Ruby on Rails upgrade involves running an audit-plan-fix cycle to apply version pins, resolve gem dependencies, update code, and iteratively verify tests. The process uses commands like /audit, /plan, /fix, and /upgrade for controlled execution.

What is the best way to resolve gem compatibility issues during a Rails upgrade?

Resolving gem compatibility issues during a Rails upgrade requires auditing current dependencies, planning version pins, and applying fixes iteratively. The workflow verifies changes using RSpec and RuboCop to ensure gem resolution does not break existing functionality.

Can I use this automated upgrade workflow for both Ruby and Rails version updates?

Yes, this automated upgrade workflow supports both Ruby and Rails version updates. It handles version pins, gem resolution, and code changes simultaneously, allowing you to target explicit Ruby versions and optional Rails versions during the upgrade cycle.

How do I verify code changes when upgrading Rails configuration files?

Verifying code changes when upgrading Rails configuration files is done iteratively using RSpec and RuboCop. The workflow applies fixes and runs these checks repeatedly to ensure the upgraded configuration maintains test compliance and code style standards.

What are the limitations of automating Rails upgrades with a task-list workflow?

Limitations of automating Rails upgrades include relying on iterative test verification to catch issues, meaning broken RSpec or RuboCop checks can stall the process. It requires explicit target versions and cannot resolve unfixable gem conflicts without manual intervention.