Skip to main content

AI skills for Ruby on Rails

AI Coding Skills for Ruby on Rails

Browse the best AI coding skills for Rails 8 in 2026, Solid Queue / Cache / Cable scaffolding, Hotwire / Turbo views, RSpec tests, ActiveRecord migrations, and Kamal 2 deploys.

Short answer

The best AI coding skills for Rails are skills-hub's `code-review`, `unit-test` (RSpec + Minitest), `api-scaffold` (Rails 8 + Solid stack), `db-schema` (ActiveRecord), `secure` (Brakeman + bundler-audit), and `stripe` for payments. All portable across Claude Code, Cursor, Codex CLI, Copilot, and Cline.

Rails 8 changed the defaults in 2026, Solid Queue / Cache / Cable replace Redis, Kamal 2 replaces complex deploy pipelines, and Hotwire is the assumed frontend. The skills below detect these defaults and emit idiomatic Rails 8 code that doesn't drag in unnecessary dependencies.

Top skills for Ruby on Rails

  1. 01api-review

    10 installs

    Review API design against REST best practices and internal consistency. Audits naming conventions, HTTP method semantics, status code correctness, pagination and filtering patterns, error response format, versioning strategy, rate limiting, idempotency keys, HATEOAS links, and content negotiation. Works with Express, Fastify, Hono, Flask, Django REST, Spring, Rails, Gin, and any HTTP API framework. Use when you need to review an API, audit REST endpoints, check API consistency, fix HTTP status codes, add pagination, or prepare an API for public release.

    Reviewfrom Skills Hub
  2. 02api-docs

    5 installs

    Generate OpenAPI 3.1 documentation from your API codebase. Auto-detects Express, Fastify, NestJS, Django, FastAPI, Flask, Rails, Spring, Go, and more. Extracts routes, request/response schemas, auth requirements, and validation rules. Sets up interactive docs with Swagger UI, Redoc, or Scalar. Use when you need API documentation, OpenAPI spec, Swagger docs, endpoint reference, or REST API docs.

    Docsfrom Skills Hub
  3. 03fix-and-ship

    4 installs

    Emergency fix-and-deploy pipeline — diagnose a bug, apply a minimal fix, verify safety, deploy to production, and confirm the service is healthy. Supports Vercel, AWS, Railway, Fly.io, Heroku, and Kubernetes. Tracks incident timeline and MTTR. Triggered by 'fix and deploy', 'hotfix and ship', 'emergency fix', 'fix this bug and deploy', 'patch and push', 'fix and ship'.

    Combofrom Skills Hub
  4. 04integration-test

    4 installs

    Generate integration tests for APIs, databases, and external services. Auto-detects backend stack (Express, Fastify, NestJS, Django, FastAPI, Rails, Go), ORM (Prisma, TypeORM, SQLAlchemy, GORM), and database (PostgreSQL, MongoDB, Firestore), then creates tests covering endpoint CRUD, auth flows, DB transactions, and external service failures with proper fixtures and mocks. Self-heals failing tests up to 3 iterations. Use when you need to test API endpoints end-to-end, verify database operations, test service interactions, or validate auth and error handling.

    Testfrom Skills Hub
  5. 05api-scaffold

    3 installs

    Scaffold a production-ready backend REST API -- generate a complete server project with routes, controllers, service layer, repository pattern, database models with migrations, JWT authentication with RBAC, request validation, global error handling with custom error classes, structured JSON logging, rate limiting, CORS, health check endpoint, OpenAPI/Swagger documentation, multi-stage Dockerfile, and docker-compose with PostgreSQL and Redis. Supports Fastify 5, NestJS, Express, FastAPI, Django REST, Gin, Chi, Echo, and Rails -- auto-detects framework from context. Build a backend, create an API, generate server, scaffold REST service, new backend project.

    Buildfrom Skills Hub
  6. 06accessibility-lead

    1 installs

    Accessibility team lead and orchestrator. Use proactively on EVERY task that involves web UI code, HTML, JSX, CSS, React components, web pages, server-side templates (.leaf, .ejs, .erb, .hbs), or any user-facing web content. This agent coordinates the accessibility specialist team and ensures no accessibility requirement is missed. Runs the final review before any UI code is considered complete. Applies to any web framework, server-side templating framework (Vapor/Leaf, Rails/ERB, Django/Jinja, Express/EJS), or vanilla HTML/CSS/JS. Works alongside other team leads (e.g., swift-lead) in multi-language projects.

    Buildfrom Accessibility Agents
  7. 07analytics-tracking

    1 installs

    Set up production-ready event tracking with Amplitude, Mixpanel, PostHog, or GA4. Auto-detects your framework (React, Next.js, Vue, Flutter, Angular, Python, Go, Rails), installs the correct SDK, creates a provider-agnostic analytics service wrapper, defines a typed event taxonomy, instruments page views and key user flows, and adds privacy/consent controls. Use when you need analytics, event tracking, user tracking, product analytics, usage metrics, or telemetry.

    Integrationfrom Skills Hub
  8. 08spec-to-repo

    Use when the user says 'build me an app', 'create a project from this spec', 'scaffold a new repo', 'generate a starter', 'turn this idea into code', 'bootstrap a project', 'I have requirements and need a codebase', or provides a natural-language project specification and expects a complete, runnable repository. Stack-agnostic: Next.js, FastAPI, Rails, Go, Rust, Flutter, and more.

    Buildfrom Multi-Domain Skills
  9. 09hunt-ssti

    Hunt server-side template injection (SSTI) across Jinja2 (Flask/Django), Twig (Symfony), Freemarker (Java), ERB (Rails), Spring, Velocity, Mako, Thymeleaf, Smarty. Detection probes use double-curly and dollar-curly math expressions evaluated server-side. Once an engine is fingerprinted, escalate to RCE via the engine-specific class-walker, callback-registrar, or Execute-utility patterns documented in disclosed reports. Detection patterns: error messages reveal engine, blank or numeric eval reveals expression mode. Targets: email templates, PDF/report generators, CMS preview features, error pages with user input. Use when hunting RCE via template rendering, when content shows engine fingerprints, when finding endpoints that compose strings with user input before render.

    Buildfrom Claude-BugHunter
  10. 10ruby-rails

    Expert in Ruby and Rails development with conventions and best practices

    Buildfrom Mindrally Skills
  11. 11sentry-ruby-sdk

    Full Sentry SDK setup for Ruby. Use when asked to add Sentry to Ruby, install sentry-ruby, setup Sentry in Rails/Sinatra/Rack, or configure error monitoring, tracing, logging, metrics, profiling, or crons for Ruby applications. Also handles migration from AppSignal, Honeybadger, Bugsnag, Rollbar, or Airbrake. Supports Rails, Sinatra, Rack, Sidekiq, and Resque.

    Buildfrom Sentry
  12. 12hunt-deserialization

    Hunt Insecure Deserialization — Java gadget chains (ysoserial), PHP object injection (phpggc), Python pickle RCE, .NET BinaryFormatter, Ruby Marshal.load, JNDI/Log4Shell. RCE via deserialization is almost always Critical. Use when target runs Java, PHP serialization, Python pickle, .NET, or Ruby on Rails.

    Buildfrom Claude-BugHunter
  13. 13rspec

    RSpec testing best practices for Ruby and Rails applications, covering test organization, data management, and isolation patterns.

    Buildfrom Mindrally Skills
  14. 14slopmop

    Trigger when you would normally reach for pytest, gh, mypy, black, or other raw repo tooling. Redirect to `sm swab`, `sm scour`, `sm buff`, `sm sail`, `sm refit`, or `sm doctor` so remediation follows the established rails. Also trigger when filing issues about slop-mop friction — use `sm barnacle file` / `/slopmop:sm-barnacle`, never `gh issue create`.

    Buildfrom buildwithclaude
  15. 15nemo-guardrails

    NVIDIA's runtime safety framework for LLM applications. Features jailbreak detection, input/output validation, fact-checking, hallucination detection, PII filtering, toxicity detection. Uses Colang 2.0 DSL for programmable rails. Production-ready, runs on T4 GPU.

    Researchfrom AI Research Skills
  16. 16rails-expert

    Rails 7+ specialist that optimizes Active Record queries with includes/eager_load, implements Turbo Frames and Turbo Streams for partial page updates, configures Action Cable for WebSocket connections, sets up Sidekiq workers for background job processing, and writes comprehensive RSpec test suites. Use when building Rails 7+ web applications with Hotwire, real-time features, or background job processing. Invoke for Active Record optimization, Turbo Frames/Streams, Action Cable, Sidekiq, RSpec Rails.

    Buildfrom Jeffallan Skills
  17. 17tsa-compliance

    Expert TSA cybersecurity compliance advisor for critical infrastructure owners and operators. Use this skill whenever a user asks about TSA Security Directives for pipelines, freight railroads, passenger rail, public transit, or bus operators; the TSA Cyber Risk Management Program (CRMP); Cybersecurity Implementation Plan (CIP); Cybersecurity Operational Implementation Plan (COIP); Cybersecurity Assessment Plan (CAP); incident reporting to CISA; designation of a Cybersecurity Coordinator; Critical Cyber Systems (CCS); OT/IT network segmentation; the TSA November 2024 NPRM; or any directive in the SD Pipeline-2021 series, SD 1580-21-01 (freight rail), or SD 1582-21-01 (public transit/passenger rail). Also trigger for questions like "are we covered by TSA directives?", "what does the TSA require for pipeline cybersecurity?", "how do I build a CIP?", "what must I report to CISA?", or any request involving transportation critical infrastructure cybersecurity compliance.

    Buildfrom Lawvable Legal Skills
  18. 18rails-dev

    Opinionated Rails conventions: rich models, concerns, CRUD-everything, state-as-records, minimal dependencies, Minitest with fixtures. Load this skill BEFORE any code-level thinking, not only before editing a file. It is required the moment a task touches Rails code in ANY way: designing or even just discussing a data model, schema, migration, entity, association, field, validation, class, or method name; writing, planning, reviewing, analyzing, testing, debugging, or refactoring; or proposing any model, table, column, route, or code snippet inline in chat. If you are about to name a model or sketch a column you are already in scope, even in an exploratory back-and-forth where no file is written yet. Do not let a "we're just discussing" framing defer it. Do NOT use for non-Rails backends, NestJS, or general architecture (use nestjs-modular-monolith or coding-guidelines).

    Buildfrom Tech Leads Club

Frequently asked questions

Do AI skills know Rails 8 conventions?

Yes, Solid Queue (instead of Sidekiq), Solid Cache (instead of Redis), Solid Cable (instead of Action Cable's Redis backend), Hotwire-first frontend, Kamal 2 deploys. Skills detect Gemfile + config to choose the right pattern.

Can AI generate Hotwire / Turbo views?

Yes, the design-to-code skill emits Turbo frames + streams with proper turbo_stream.replace / append targets, Stimulus controllers where reactive state is needed, and minimal JavaScript.

What's the best AI tool for Rails?

Cursor (with solargraph + ruby-lsp) gives the best inline experience. Claude Code excels at extracting service objects, fixing N+1 queries across the codebase, and Kamal 2 deploy automation.

Do AI skills handle Kamal 2 deploys?

Yes, the full-deploy skill detects Rails + Kamal 2 and emits the deploy.yml + secrets + container setup. It also generates the Dockerfile that Rails 8 ships by default.

Other languages and frameworks