What problem does it solve?
Upgrading a Ruby on Rails application from version 6.x to 7.x involves high-risk breaking changes including mandatory Zeitwerk autoloader adoption, Webpacker removal, and Hotwire integration that can break existing functionality if handled incorrectly, and this skill eliminates guesswork by providing proven, senior-developer-backed migration guidance.
Core Features & Use Cases
- Staged Version Hop Guidance: Walks through the required 6.0 → 6.1 → 7.0 → 7.1 upgrade sequence to avoid compatibility issues.
- Asset Pipeline Decision Matrix: Helps you choose between importmap-rails, jsbundling-rails, or shakapacker based on your app's JavaScript needs.
- Incremental Hotwire Adoption: Provides guidance for adding Turbo and Stimulus to legacy jQuery apps without a full rewrite.
- Use Case: For a Rails 6.0 e-commerce platform with existing Webpacker and jQuery code, this skill guides you to dual-boot with next_rails, stage the Webpacker migration as a separate project, and incrementally adopt Hotwire on new pages first.
Quick Start
Use the rails-upgrade-6-to-7 skill to create a safe, staged upgrade plan for your Rails 6.0 application to Rails 7.1, including dual-boot setup and Webpacker migration recommendations.