rails-upgrade-latest
Installation
SKILL.md
Rails Upgrade Latest
Use this skill to execute Rails upgrades with predictable checkpoints and minimal downtime risk.
Workflow
- Confirm baseline and target:
- Detect current Rails/Ruby versions from
Gemfile.lock,ruby -v, andbin/rails -v. - Determine the latest stable Rails target and required Ruby version.
- If the jump spans multiple versions, upgrade one minor/major step at a time.
- Read the upgrade references:
- Open
references/upgrade-workflow.mdand follow the sequence. - For each version jump, read that version's release notes before changing code.
- Prepare safety rails:
- Ensure branch isolation and clean git status.
- Ensure strong test coverage for core user flows before version changes.
- Remove or update unsupported/deprecated gems first.