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

Guide for building Rails apps covering generators, ActiveRecord, Hotwire, Rails 8 defaults, and testing.

skills.sh installs
901
GitHub stars
313
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers scaffolding with bin/rails generate, ActiveRecord models and migrations, Hotwire/Turbo/Stimulus interactivity, background jobs, caching, and RSpec or Minitest coverage
  • Defaults to Rails 8 built-ins: Solid Queue, Solid Cache, Solid Cable, Propshaft, and Kamal, before adding Redis or other external services
  • Enforces N+1 prevention with eager loading, strong parameters, CSRF protection, and FactoryBot over fixtures in tests
  • Designed for teams building web applications on Ruby 3.x and PostgreSQL who want Rails conventions applied consistently

Install

$ npx -y skills add mindrally/skills --skill ruby-rails -y

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

Files

Ruby on Rails

This skill covers Ruby and Ruby on Rails development, including Rails conventions, ActiveRecord patterns, frontend integration, security, and testing.

Core Principles

  • Write concise, idiomatic Ruby code with accurate examples
  • Adhere to Rails conventions (Convention over Configuration)
  • Follow the Ruby Style Guide for formatting consistency
  • Leverage Ruby 3.x features like pattern matching and endless methods
  • Prefer Rails command-line generators (bin/rails generate ...) over hand-written boilerplate — they keep files consistent with framework conventions and wire up tests/routes automatically
  • Use bin/dev to run the local development server (it boots the web process plus any configured watchers) and check logs after significant changes

Naming Conventions

  • Use snake_case for files, methods, and variables
  • Use CamelCase for classes and modules
  • Follow Rails naming conventions for models, controllers, views

Architecture & Performance

Details

Repository
github.com/mindrally/skills
Categories
Backend & APIs, Testing & QA
First seen
Jun 3, 2026

More from mindrally/skills

All 240

Similar to Ruby Rails

More Backend & APIs