New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Rails 7+ specialist covering Active Record tuning, Hotwire, Action Cable, Sidekiq, and RSpec for real-time web apps.

skills.sh installs
5.1K
GitHub stars
12.5K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers Active Record query optimization, Turbo Frames and Turbo Streams partial updates, Action Cable WebSockets, Sidekiq background jobs, and RSpec test suites
  • Includes reference guides for Hotwire/Turbo, Active Record, background jobs, RSpec testing, and API development, plus templates for migrations, models, controllers, and specs
  • Enforces includes/eager_load on collection queries with associations, indexes on WHERE, ORDER BY, and JOIN columns, and offloading of slow work to Sidekiq
  • Designed for Rails 7+ applications built with Hotwire, real-time features, or background job processing

Install

$ npx -y skills add jeffallan/claude-skills --skill rails-expert -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Rails Expert

Core Workflow

  1. Analyze requirements — Identify models, routes, real-time needs, background jobs
  2. Scaffold resources — rails generate model User name:string email:string, rails generate controller Users
  3. Run migrations — rails db:migrate and verify schema with rails db:schema:dump
    • If migration fails: inspect db/schema.rb for conflicts, rollback with rails db:rollback, fix and retry
  4. Implement — Write controllers, models, add Hotwire (see Reference Guide below)
  5. Validate — bundle exec rspec must pass; bundle exec rubocop for style
    • If specs fail: check error output, fix failing examples, re-run with --format documentation for detail
    • If N+1 queries surface during review: add includes/eager_load (see Common Patterns) and re-run specs
  6. Optimize — Audit for N+1 queries, add missing indexes, add caching

Reference Guide

Load detailed guidance based on context:

Details

Repository
github.com/jeffallan/claude-skills
Categories
Backend & APIs, Testing & QA

More from jeffallan/claude-skills

All 66

Similar to Rails Expert

More Backend & APIs