ombulabs

Claude Code Rails Load Defaults Skill — Development skill for Claude Code

Development community

A Claude Code Skill to help upgrade the Rails defaults.

How to install Claude Code Rails Load Defaults Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ombulabs/claude-code_rails-load-defaults-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Rails Load Defaults Skill does

A Claude Code Skill to help upgrade the Rails defaults.

Alternatives in Development

README

Rails load_defaults Upgrade Skill for Claude Code

A [Claude Code](https://claude.ai/claude-code) skill that incrementally upgrades `config.load_defaults` in Rails applications by walking through each framework default config one at a time.

What It Does

This skill automates the process of bringing a Rails app's `load_defaults` configuration up to match its Rails version. It handles:

  • Detection: Identifies the current load_defaults version and Rails version
  • Initializer Generation: Creates the new_framework_defaults_X_Y.rb file from templates
  • Codebase Analysis: Greps the codebase for each config to recommend the right value
  • Iterative Walkthrough: Uncomments one config at a time, waits for you to test/commit
  • Consolidation: Removes the initializer, updates load_defaults, and explicitly sets overrides for configs kept at old values

Installation

**From inside the Claude Code CLI prompt (recommended):**

/plugin marketplace add ombulabs/claude-skills
/plugin install rails-load-defaults@ombulabs-ai

**From your terminal:**

claude plugin marketplace add https://github.com/ombulabs/claude-skills.git
claude plugin install rails-load-defaults@ombulabs-ai

**Manual install:**

git clone https://github.com/ombulabs/claude-code_rails-load-defaults-skill.git
cp -r claude-code_rails-load-defaults-skill/rails-load-defaults ~/.claude/skills/

Installing to `~/.claude/skills/` makes it available across all your projects.

[!NOTE] This skill works standalone, but it is part of the full Rails upgrade toolkit. You may also want to install [dual-boot](https://github.com/ombulabs/claude-code_dual-boot-skill) and [rails-upgrade](https://github.com/ombulabs/claude-code_rails-upgrade-skill).

Usage

Once installed, invoke the skill with:

claude /rails-load-defaults

Or start a conversation about load_defaults and Claude will pick it up automatically:

claude "The app is on Rails 7.2 but