Skip to content

Updating & Uninstalling

Update the plugin

To pull in the latest version of RailsCTO from the marketplace:

bash
/plugin update rails-cto@rails-cto

This refreshes the plugin and all 16 skills to the latest published version.

Update the companion gem

The companion gem updates like any other Ruby gem. Bump it in your Gemfile.lock:

bash
bundle update rails-cto

Then re-run init to pick up any new or changed config templates:

bash
bundle exec rails-cto init

init skips files that already exist. If you want to force-refresh the templates to match the latest version, pass --force:

bash
bundle exec rails-cto init --force

Run the drift detector afterward to confirm everything is in sync:

bash
bundle exec rails-cto doctor

See rails-cto doctor for what it reports.

Uninstall the plugin

To remove RailsCTO from Claude Code:

bash
/plugin uninstall rails-cto@rails-cto

This removes the skills but leaves your project's Gemfile, config templates, and CLAUDE.md untouched. If you also want to remove the marketplace reference:

bash
/plugin marketplace remove mattsears/rails-cto

Uninstall the companion gem

Remove gem "rails-cto" from your Gemfile and run:

bash
bundle install

You may also want to remove the config templates the gem dropped into your project — .rubocop.yml, .reek.yml, .bundler-audit.yml, config/brakeman.yml, and the .herb/ directory — and revert the SimpleCov patch in test/test_helper.rb. None of these are removed automatically, since they might contain your own customizations.

Released under the MIT License.