Breaking Change Analysis
ruby-git/ruby-git
Assesses what an API change would break before it is made, finds every usage, documents the impact and plans a deprecation or migration path.
Finishes or abandons a dual-boot Rails upgrade by removing NextRails branches and Gemfile.next scaffolding, keeping either the next or the current version.
$ npx skills add ombulabs/claude-code_rails-upgrade-skill --skill upgrade-cleanup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ombulabs/claude-code_rails-upgrade-skill upgrade-cleanup --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ombulabs/claude-code_rails-upgrade-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/upgrade-cleanup/upgrade-cleanup .claude/skills/upgrade-cleanup && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "upgrade-cleanup" agent skill from https://github.com/ombulabs/claude-code_rails-upgrade-skill/tree/main/upgrade-cleanup/upgrade-cleanup into .claude/skills/upgrade-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-cleanup", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ombulabs/claude-code_rails-upgrade-skill/tree/main/upgrade-cleanup/upgrade-cleanupType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ombulabs/claude-code_rails-upgrade-skill --skill upgrade-cleanup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ombulabs/claude-code_rails-upgrade-skill upgrade-cleanup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ombulabs/claude-code_rails-upgrade-skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/upgrade-cleanup/upgrade-cleanup .agents/skills/upgrade-cleanup && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "upgrade-cleanup" agent skill from https://github.com/ombulabs/claude-code_rails-upgrade-skill/tree/main/upgrade-cleanup/upgrade-cleanup into .agents/skills/upgrade-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-cleanup", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ombulabs/claude-code_rails-upgrade-skill --skill upgrade-cleanup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ombulabs/claude-code_rails-upgrade-skill upgrade-cleanup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ombulabs/claude-code_rails-upgrade-skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/upgrade-cleanup/upgrade-cleanup .cursor/skills/upgrade-cleanup && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "upgrade-cleanup" agent skill from https://github.com/ombulabs/claude-code_rails-upgrade-skill/tree/main/upgrade-cleanup/upgrade-cleanup into .cursor/skills/upgrade-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-cleanup", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ombulabs/claude-code_rails-upgrade-skill.git --path upgrade-cleanup/upgrade-cleanup--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ombulabs/claude-code_rails-upgrade-skill --skill upgrade-cleanup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ombulabs/claude-code_rails-upgrade-skill upgrade-cleanup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ombulabs/claude-code_rails-upgrade-skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/upgrade-cleanup/upgrade-cleanup .gemini/skills/upgrade-cleanup && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "upgrade-cleanup" agent skill from https://github.com/ombulabs/claude-code_rails-upgrade-skill/tree/main/upgrade-cleanup/upgrade-cleanup into .gemini/skills/upgrade-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-cleanup", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ombulabs/claude-code_rails-upgrade-skill upgrade-cleanupInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ombulabs/claude-code_rails-upgrade-skill --skill upgrade-cleanup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ombulabs/claude-code_rails-upgrade-skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/upgrade-cleanup/upgrade-cleanup .github/skills/upgrade-cleanup && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "upgrade-cleanup" agent skill from https://github.com/ombulabs/claude-code_rails-upgrade-skill/tree/main/upgrade-cleanup/upgrade-cleanup into .github/skills/upgrade-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-cleanup", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ombulabs/claude-code_rails-upgrade-skill --skill upgrade-cleanup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ombulabs/claude-code_rails-upgrade-skill upgrade-cleanup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ombulabs/claude-code_rails-upgrade-skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/upgrade-cleanup/upgrade-cleanup .opencode/skills/upgrade-cleanup && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "upgrade-cleanup" agent skill from https://github.com/ombulabs/claude-code_rails-upgrade-skill/tree/main/upgrade-cleanup/upgrade-cleanup into .opencode/skills/upgrade-cleanup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-cleanup", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
upgrade-cleanupFinishes or abandons a dual-boot Rails upgrade by removing NextRails branches and Gemfile.next scaffolding, keeping either the next or the current version.
This companion to a rails-upgrade plugin runs the cleanup pass once you decide to end the dual-boot phase. Before deleting anything it asks which side you are keeping: the next version, when the upgrade is done, or the current one, when you are abandoning or pausing the hop. Every later step depends on that answer. It reads the Gemfile and Gemfile.next.lock to find the next version, not Gemfile.lock alone, since that still pins the current version during dual-boot.
The aim is that no NextRails.next? or NextRails.current? branch stays in the tree. The workflow in workflows/upgrade-cleanup-workflow.md covers a pre-flight check, removal of dual-boot scaffolding (Gemfile.next, Gemfile.next.lock and conditional Gemfile groups), retiring old-version code, aligning CI and Ruby pins, final verification and a cleanup pull request. Aligning load_defaults is out of scope and belongs to the rails-upgrade skill. The approach builds on FastRuby.io's Finishing an Upgrade method.
Read from SKILL.md and the folder at commit 8d13113. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
fastruby.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Rails Upgrade Cleanup loads about 826 tokens when it runs. Until then it costs about 158 tokens; SKILL.md has 356 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ombulabs/claude-code_rails-upgrade-skill at commit 8d13113, republished under its MIT licence (© ombulabs). 356 words, ~826 tokens.
.claude/skills/upgrade-cleanup/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Companion to the rails-upgrade plugin. Runs the cleanup pass that removes dual-boot scaffolding and aligns the codebase to the new version baseline.
When activated, follow the workflow in workflows/upgrade-cleanup-workflow.md end-to-end. Before any destructive step, confirm direction with the user (Phase 0 Step 1): are they keeping the next version (finishing the upgrade) or keeping the current version (abandoning or pausing this hop)? Every subsequent step branches on that answer. To detect the next version, read the Gemfile (look for the if NextRails.next? / else block; the next? branch holds the upgraded-to version) or Gemfile.next.lock. Do NOT rely on Gemfile.lock alone, since during dual-boot it still pins the current version.
Run when the user has explicitly decided to end the dual-boot phase in one of two directions:
else / current branches.if NextRails.next? / next branches and Gemfile.next*.Either way the previous parallel branch must no longer be needed (no rollback window). Deployment to production is not a hard prerequisite.
This skill owns the cleanup. Phase 1 below is the step list to follow. The dual-boot skill's workflows/cleanup-workflow.md is older optional reading; if it drifts from this workflow, this workflow wins.
load_defaults alignment: out of scope. The rails-upgrade skill handles this via its rails-load-defaults step before cleanup runs.NextRails.next? or NextRails.current? branches in the tree. That is the failure mode this skill exists to prevent.See workflows/upgrade-cleanup-workflow.md for the full process: a pre-flight check, dual-boot scaffolding removal, old-version code retirement, CI and Ruby pin alignment, final verification, and the cleanup PR.
workflows/upgrade-cleanup-workflow.md, full workflowdual-boot plugin's workflows/cleanup-workflow.md, optional reading for context. This skill's Phase 1 is the step list to follow, do not use dual-boot's version when it conflicts.© ombulabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in upgrade-cleanup/upgrade-cleanup of ombulabs/claude-code_rails-upgrade-skill.
Open the folder on GitHubat commit 8d13113
Rails Upgrade Cleanup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Rails Upgrade Cleanup this skillombulabs/claude-code_rails-upgrade-skill | 389 | — | ~826 | Automated safety check: Pass | MIT | |
| Breaking Change Analysisruby-git/ruby-git | 1.8k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Extract Command from Git::Libruby-git/ruby-git | 1.8k | — | ~4.4k | Automated safety check: Pass | MIT | |
| Legacy ModernizerJeffallan/claude-skills | 12k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Ruby Prodavila7/claude-code-templates | 32k | 8 repos | ~445 | Automated safety check: Pass | MIT | |
| Rubyericrisco/rsc-harness | 174 | — | ~3.2k | Automated safety check: Pass | MIT |
ruby-git/ruby-git
Assesses what an API change would break before it is made, finds every usage, documents the impact and plans a deprecation or migration path.
ruby-git/ruby-git
Migrates a direct command call in Ruby Git's Git::Lib to a Git::Commands class, as part of a Strangler Fig redesign, with a plan, legacy tests and a pull request.
Jeffallan/claude-skills
Plans incremental migrations of aging systems with the strangler fig pattern, using dependency maps, rollback plans, characterization tests and gradual traffic shifts.
davila7/claude-code-templates
Write idiomatic Ruby code with metaprogramming, Rails patterns, and performance optimization.
ericrisco/rsc-harness
A skill your agent uses when writing or refactoring plain Ruby outside Rails — scripts, CLIs, gems, libraries: Enumerable chains and blocks, module mixins and value objects, Bundler/gemspec…
doorkeeper-gem/doorkeeper
Avoid common Ruby and Rails antipatterns that degrade maintainability and performance.
ombulabs/claude-code_rails-upgrade-skill
Analyzes a Rails app and builds an upgrade report with breaking changes, deprecations and step-by-step migration guides, one version at a time from Rails 2.3 through 8.1.
Works with
Categories
Finishes or abandons a dual-boot Rails upgrade by removing NextRails branches and Gemfile.next scaffolding, keeping either the next or the current version. This companion to a rails-upgrade plugin runs the cleanup pass once you decide to end the dual-boot phase. Before deleting anything it asks which side you are keeping: the next version, when the upgrade is done, or the current one, when you are abandoning or pausing the hop.
Rails Upgrade Cleanup fits situations like: finishing a Rails upgrade and removing dual-boot code; dropping NextRails.next? and NextRails.current? branches; abandoning or pausing an upgrade hop and returning to the current Rails version; opening a cleanup pull request after the final upgrade step.
Run `npx skills add ombulabs/claude-code_rails-upgrade-skill --skill upgrade-cleanup -a claude-code`. Or copy the skill folder (upgrade-cleanup/upgrade-cleanup in ombulabs/claude-code_rails-upgrade-skill) into .claude/skills/upgrade-cleanup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ombulabs/claude-code_rails-upgrade-skill --skill upgrade-cleanup -a codex`. Or copy the skill folder (upgrade-cleanup/upgrade-cleanup in ombulabs/claude-code_rails-upgrade-skill) into .agents/skills/upgrade-cleanup in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ombulabs/claude-code_rails-upgrade-skill --skill upgrade-cleanup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/upgrade-cleanup, .gemini/skills/upgrade-cleanup, .github/skills/upgrade-cleanup and .opencode/skills/upgrade-cleanup in your project.
SKILL.md names no scripts, command-line tools or credentials: Rails Upgrade Cleanup is instructions for the agent only. Our summary lists: A Rails app in dual-boot mode with NextRails branches.
SKILL.md names 1 domain. As links in the text: fastruby.io. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Rails Upgrade Cleanup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 826 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Rails Upgrade Cleanup: Breaking Change Analysis (ruby-git/ruby-git, 1.8k stars), Extract Command from Git::Lib (ruby-git/ruby-git, 1.8k stars), Legacy Modernizer (Jeffallan/claude-skills, 12k stars) and Ruby Pro (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ombulabs (a GitHub organization) maintains it in ombulabs/claude-code_rails-upgrade-skill, which has 389 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 1, 2026.
Source: ombulabs/claude-code_rails-upgrade-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.