rails-patterns

Consolidate Rails 7+ patterns for Hotwire, Turbo, Stimulus, and Active Record.

7|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/skeletorflet/opencode-kit --skill rails-patterns-skeletorflet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rails-patterns
Source: https://github.com/skeletorflet/opencode-kit/tree/main/.opencode/skills/rails-patterns
Command: npx skills add https://github.com/skeletorflet/opencode-kit --skill rails-patterns-skeletorflet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ruby on Rails 7+ patterns and conventions provided here help teams build maintainable, scalable Rails applications by consolidating best practices for Hotwire, Turbo, Stimulus, and Active Record architectures.

Core Features & Use Cases

  • Enforces Fat Model, Skinny Controller to keep business logic centralized in models and services.
  • Applies Convention Over Configuration and Strong Parameters for secure, predictable code.
  • Supports robust architecture guidelines for Rails apps, including Hotwire integration and service objects.
  • Use Case: Start a new Rails 7+ project with a clean architecture, optimized for maintainability and rapid feature delivery.

Quick Start

Create a new Rails 7+ application following the patterns and conventions described in this Skill.

Frequently Asked Questions about rails-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best Rails patterns for building maintainable and scalable applications?

Rails patterns like Fat Model Skinny Controller, Convention Over Configuration, and Strong Parameters centralize business logic and secure data handling to keep applications maintainable and scalable.

How do I structure a new Rails 7+ project for rapid feature delivery?

Structure a new Rails 7+ project using consistent modeling, service objects, and Hotwire integration to enable rapid safe feature delivery while keeping Active Record architectures optimized.

Does this Rails architecture guidance cover Hotwire Turbo and Stimulus integration?

Yes this Rails architecture guidance covers Hotwire Turbo and Stimulus integration providing best practices for modern frontend architectures within Rails 7+ applications.

When do I need service objects in my Rails controllers?

You need service objects in Rails controllers when business logic becomes too complex for models keeping controllers skinny and ensuring business logic stays centralized and maintainable.

Can I use these Rails patterns for refactoring an existing application?

Yes these Rails patterns apply to both new Rails 7+ projects and refactoring existing codebases consolidating architecture guidance and best practices for consistent modeling and data handling.