ruby-on-rails-patterns

Community

Structure Rails apps with scalable design patterns.

AuthorMoneyForest
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rails applications can become hard to maintain when business logic, validations, and API serialization are scattered across controllers and models. This Skill introduces design patterns such as Service Objects, Form Objects, Query Objects, and a layered architecture to separate concerns and improve testability.

Core Features & Use Cases

  • Structured business logic: move complex operations into dedicated services.
  • Clear input handling: use Form Objects for validation and parameter processing.
  • API response shaping: apply Serializers and optional decorators for presentation.
  • Use cases include implementing new business capabilities, complex validations, and clean API design across Rails apps.

Quick Start

Create a new Rails feature following the patterns outlined in this guide to organize services, forms, and serializers.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ruby-on-rails-patterns
Download link: https://github.com/MoneyForest/dotfiles/archive/main.zip#ruby-on-rails-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.