ombulabs/claude-code_rails-upgrade-skill / rails-upgrade
rails-upgrade
VerifiedAnalyzes Rails applications and generates comprehensive upgrade reports with breaking changes, deprecations, and step-by-step migration guides for Rails 2.3 through 8.1. Use when upgrading Rails applications, planning multi-hop upgrades, querying version-specific changes, or answering what stands between the app and the next Rails version. Based on FastRuby.io methodology and "The Complete Guide to Upgrade Rails" ebook.
detection-scripts/patterns/rails-50-patterns.expectations.yml
View on GitHub# Fixture expectations for rails-50-patterns.yml.
#
# Keyed by variable_name. See rails-40-patterns.expectations.yml for the format.
# A fixture may span lines (" false\n end"): the pattern is matched against
# the string, the same way scan_patterns.rb matches file content.
#
# Run with:
# bin/test-patterns rails-upgrade/detection-scripts/patterns/rails-50-patterns.yml
CALLBACK_HALT:
match:
- " return false if locked?"
- " return false"
# a bare false as the method's last line
- " false\n end"
- " false\n end\n end"
- " false # stop the save\n end"
# a bare false ending a branch, and a trailing modifier
- " false\n else\n true\n end"
- " false\n elsif draft?"
- " false\n rescue StandardError"
- " false if archived?\n end"
- " false unless valid_state? # halt\n end"
# one-line blocks
- " before_save { false if archived? }"
- " before_destroy(if: :protected?) { false }"
no_match:
- " # return false to stop the save"
- " # false\n end"
- " throw :abort if locked?"
- " self.active = false\n end"
- " false_positive_count\n end"
- " false\n log_it\n end"
- " false if archived?\n log_it\n end"
- " enabled = false"
- " before_save { self.flag = true }"
- " after_save { false }"
- " return falsey_value"
RUBY_VERSION:
# Rails 5.0 requires Ruby >= 2.2.2 (rails gemspec). Lines come from the
# Gemfile, .ruby-version and .tool-versions.
match:
- "ruby \"2.1.10\""
- "ruby '2.2.1'"
- "ruby \"~> 2.1.5\""
- "ruby '~> 1.9'"
- "2.1.10"
- "ruby-2.2.0"
- "ruby 2.0.0"
- "1.9.3"
no_match:
- "ruby \"2.2.2\""
- "ruby \"~> 2.2.1\""
- "ruby \"~> 2.1\""
- "ruby \">= 2.0\""
- "2.2.10"
- "2.3.8"
- "ruby 2.4.10"
- "gem \"rack\", \"2.1.4\""
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |