Skip to main content
在 Manus 中运行任何 Skill
一键导入

rails-upgrade

星标0
分支0
更新时间2026年6月13日 06:04

Upgrade an existing (brownfield) Rails app's framework version toward the latest Ruby 4.0.x / Rails 8.1.x. Detects the current Ruby/Rails, plans an incremental one-minor-version-at-a-time path, and drives the per-step loop — bump the Gemfile, bundle update, run bin/rails app:update, reconcile config/initializers/new_framework_defaults_X_Y.rb, flip config.load_defaults, triage deprecations, and keep the test suite green between each step. Then guides the omakase stack modernizations (classic→Zeitwerk, Sprockets→Propshaft, Webpacker→importmaps/jsbundling, Sidekiq+Redis→Solid Queue/Cache/Cable, secrets.yml→encrypted credentials) by routing to the sibling rails-* skills that own each destination state. This skill owns the JOURNEY; siblings own the destination. Apply when upgrading Rails/Ruby versions, running app:update, reconciling framework defaults, migrating the autoloader, or modernizing the omakase stack of an older app.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
6 个文件
SKILL.md
readonly