Agent skill · software engineering · aiskillstore

skill-rails-upgrade

Analyze Rails apps and provide upgrade assessments

Why this skill is useful

Adds specific commands and procedures for analyzing and upgrading Rails applications that the AI wouldn't reliably generate on its own.

What it needs

Requires gh, webfetch installed locally. About 7k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

When to Use This Skill Analyze Rails apps and provide upgrade assessments Use this skill when working with analyze rails apps and provide upgrade assessments. Rails Upgrade Analyzer Analyze the current Rails application and provide a comprehensive upgrade assessment with selective file merging. Step 1: Verify Rails Application Check that we're in a Rails application by looking for these files: Gemfile (must exist and contain 'rails') config/application.rb (Rails application config) config/environment.rb (Rails environment) If any of these are missing or don't indicate a Rails app, stop and inform the user this doesn't appear to be a Rails application. Step 2: Get Current Rails Version Extract the current Rails version from: 1. First, check Gemfile.lock for the exact installed version (look for rails (x.y.z)) 2. If not found, check Gemfile for the version constraint Report the exact current version (e.g., 7.1.3). Step 3: Find Latest Rails Version Use the GitHub CLI to fetch the latest Rails release: This returns the latest stable version tag (e.g., v8.0.1). Strip the 'v' prefix for comparison. Also check recent tags to understand the release landscape: Step 4: Determine Upgrade Type Compare current and latest versions to classify the upgrade: Patch upgrade: Same major.minor, different patch (e.g., 7.1.3 → 7.1.5) Minor upgrade: Same major, different minor (e.g., 7.1.3 → 7.2.0) Major upgrade: Different major version (e.g., 7.1.3 → 8.0.0) Step 5: Fetch Upgrade Guide Use WebFetch to get the official Rails upgrade guide: URL: https://guides.rubyonrails.org/upgradingrubyonrails.html Look for sections relevant to the version jump. The guide is organized by target version with sections like: "Upgrading from Rails X.Y to Rails X.Z" Breaking changes Deprecation warnings Configuration changes Required migrations Extract and summarize the relevant sections for the user's specific upgrade path. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/skill-rails-upgrade

View the source on GitHub

Browse the @skills marketplace