sandeepmvl/rails-skills

This repository also configures its own agents. See what rails-skills tells them →

21Stars on the repository
62Mods indexed here, across every type
3mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

sandeepmvl/rails-skills

Skill Claude CodeCodex

Interview the developer about their Ruby on Rails project (app type, database, frontend stack, background jobs, deployment target, traffic profile, compliance, current Rails version) and then route to the right downstream rails-skills. Use at the start of any new Rails work session, when the user says they want to…

not rated 21 3mo ago A 158 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Idiomatic ActiveRecord patterns for Ruby on Rails — associations (belongsto/hasmany/hasone/hasmany :through), countercache, polymorphic, STI vs delegatedtype, scopes vs class methods, callbacks vs aftercommit, find vs findby vs where.first, includes vs preload vs eagerload, pluck vs select, exists? vs any?, batch…

not rated 21 3mo ago A 150 tokens original MIT

n-plus-one-killer

03

sandeepmvl/rails-skills

Skill Claude CodeCodex

Detect, diagnose, and eliminate N+1 queries in Ruby on Rails. Use when the user mentions slow Rails endpoints, slow queries, "N+1", Bullet, prosopite, includes/preload/eagerload, eager loading, query count is high, page is slow to render, or asks why a Rails controller is slow. Also use proactively when reviewing any…

not rated 21 3mo ago A 127 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Decide when Rails logic stays in the model and when it earns a service object. Use when the user asks about service objects, fat models, "where does this logic go", refactoring a controller, extracting business logic, the Result pattern, interactor gem, dry-monads, command objects, or is about to write a class ending…

not rated 21 3mo ago A 113 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

RSpec testing for Ruby on Rails — pyramid shape (lots of model + request specs, fewer system specs), FactoryBot patterns, let vs let! vs before, shared examples, VCR for external HTTP, system specs with Capybara + Cuprite, transactional vs truncation strategy, parallel testing, SimpleCov coverage. Use when writing or…

not rated 21 3mo ago A 149 tokens original MIT

safe-migrations

06

sandeepmvl/rails-skills

Skill Claude CodeCodex

Write zero-downtime database migrations for Ruby on Rails — strongmigrations rules, the add-column / set-default / backfill / enforce-NOT-NULL multi-deploy split, disableddltransaction!, concurrent index creation on PostgreSQL, findeach batching, why changecolumn is dangerous, the deploy/migrate/deploy sequencing. Use…

not rated 21 3mo ago A 133 tokens original MIT

rails-api-design

07

sandeepmvl/rails-skills

Skill Claude CodeCodex

Design REST APIs in Ruby on Rails — URL versioning over Accept-header, jsonapi-serializer / alba / blueprinter, pagy pagination, JWT auth for stateless / session cookies for first-party SPAs, rack-attack rate limiting, structured error responses, OpenAPI/Swagger via rswag, CORS configuration. Use when building or…

not rated 21 3mo ago A 137 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Background job design for Ruby on Rails — when to pick Solid Queue (Rails 8 default, no Redis) vs Sidekiq (existing investment, advanced features), idempotent job patterns, retry / backoff configuration, scheduled jobs via recurring.yml or sidekiq-cron, the decision matrix for "should this even be a background job at…

not rated 21 3mo ago A 140 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Authentication and authorization for Ruby on Rails — Devise + Pundit as the default monolith combo, Rodauth when Devise hits its limits (MFA, WebAuthn, advanced password policies), devise-jwt for API-only apps, Rails 8's built-in bin/rails generate authentication for simple cases, secure defaults checklist…

not rated 21 3mo ago A 161 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex needs its repo

Production Docker and Kamal 2 deployment for Ruby on Rails 8 — multi-stage Dockerfile with build/runtime separation, ruby:3.x-slim over alpine (avoiding musl gotchas with nokogiri/pg/sassc), docker-compose for development with Postgres + Redis, Kamal 2 deploy.yml, zero-downtime via Kamal Proxy and the GET /up health…

not rated 21 3mo ago D 174 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Security baseline for Ruby on Rails 8 apps — strong params (and their common bypass mistakes), CSRF for browser apps, CSRF for SPAs, Brakeman + bundler-audit + Dependabot, Rails credentials per environment, JWT best practices (short-lived + refresh rotation, never put secrets in payload), CORS without wildcards…

not rated 21 3mo ago C 168 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Caching strategy for Ruby on Rails 8 — the cache layer hierarchy (HTTP/CDN → fragment cache → low-level cache → DB query cache), Solid Cache as the Rails 8 default, when Redis still wins (distributed pubsub + Sidekiq co-location), cache key design (versioned, content-addressed), Russian doll caching for nested views…

not rated 21 3mo ago A 178 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Hotwire (Turbo + Stimulus) — the Rails 8 default UI stack. Turbo Drive for navigation, Turbo Frames for lazy HTML islands, Turbo Streams for server-pushed updates over WebSocket or response body, Stimulus controllers for the JS sprinkles layer, morph updates (idiomorph), Action Cable broadcasting from models and jobs.…

not rated 21 3mo ago A 151 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

File uploads in Ruby on Rails 8 with Active Storage — direct uploads to S3/GCS (skip the Rails server for the byte payload), variant configuration with imageprocessing + libvips, content-type and size validation, pre-signed URL safety (short TTLs, no public buckets by default), analyzer / previewer hooks, processing…

not rated 21 3mo ago A 152 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

ActionMailer baseline for Rails 8 — mailer setup, deliverlater by default (never delivernow in the request path), Mailer previews in dev, mailer specs with RSpec, Letter Opener for dev inspection, transactional delivery via Postmark / SendGrid / SES / Mailgun, bounce and complaint handling, idempotent transactional…

not rated 21 3mo ago A 146 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Observability baseline for Rails 8 production apps — lograge for structured single-line logs, request tagging (requestid, userid), error tracking via Sentry / Honeybadger / Rollbar, Rails.error.report (Rails 7.1+) as the standard error-reporting API, PII scrubbing in logs and error reports, what to log vs not (no PII…

not rated 21 3mo ago A 189 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Upgrade a Ruby on Rails app from Rails 7.x to Rails 8.0 — dual-boot via nextrails, the deprecation-fix loop, Solid Queue / Solid Cache / Solid Cable adoption choices, Propshaft over Sprockets, the new authentication generator vs existing Devise, Kamal 2 deployment cutover, gem compatibility matrix, the version hop…

not rated 21 3mo ago C 140 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Upgrade a Ruby on Rails app from 6.x to 7.x — dual-boot via nextrails, the Zeitwerk autoloader transition (was already in 6.0 but became mandatory), Sprockets-to-importmap or jsbundling decision, Hotwire arriving, encrypted attributes via Active Record Encryption (7.0+), the version hop sequence. Use when the user is…

not rated 21 3mo ago A 129 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Upgrade a Ruby on Rails app from 5.x to 6.x — dual-boot via nextrails, Zeitwerk autoloader transition from Classic, Webpacker becoming default, ActionMailbox + ActionText shipping, parallel testing, multi-database support, the version hop sequence. Use when upgrading from Rails 5 to 6, mentions Zeitwerk, autoload…

not rated 21 3mo ago A 103 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Upgrade a Ruby on Rails app from 4.x to 5.x — dual-boot via nextrails, ApplicationRecord introduction, ActionCable arrival, strong parameters becoming mandatory, params no longer hash-like, the version hop sequence, the Rails 5.1 system tests and yarn arrival, the Rails 5.2 ActiveStorage + credentials. Use when…

not rated 21 3mo ago A 127 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Upgrade a Ruby on Rails app from 3.x to 4.x — strong parameters replacing attraccessible / attrprotected, the asset pipeline overhaul, the Turbolinks arrival, Ruby 2.0+ requirement, Bundler-style routes file, the version hop sequence. Use when upgrading legacy Rails 3 apps, the user mentions attraccessible…

not rated 21 3mo ago A 101 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Migrate a Ruby on Rails application's primary database from PostgreSQL to MySQL — schema differences (JSONB to JSON, ARRAY columns, partial indexes, CHECK constraints, sequences), data export/import via pgdump and mysqlimport or pgloader, the dual-write cutover pattern, the gem switch (pg to mysql2 or trilogy)…

not rated 21 3mo ago A 129 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Migrate a Ruby on Rails application's primary database from MySQL to PostgreSQL — schema upgrades (JSON to JSONB for queryability, ENUMs to native types or check constraints, TINYINT to BOOLEAN, case-sensitivity changes), data export/import via pgloader, the dual-write cutover pattern, the gem switch (mysql2/trilogy…

not rated 21 3mo ago A 127 tokens original MIT

sandeepmvl/rails-skills

Skill Claude CodeCodex

Migrate a Ruby on Rails application from Oracle Database to PostgreSQL — schema differences (NUMBER to BIGINT/DECIMAL, VARCHAR2 to VARCHAR, CLOB/BLOB to TEXT/BYTEA, sequences, ROWID, hierarchical queries, PL/SQL packages), Oracle Enhanced adapter to pg gem, data migration via ora2pg, the dual-write cutover. Use when…

not rated 21 3mo ago A 122 tokens original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: