moai-lang-ruby

Provide structured Ruby 3.3+ and Rails 7.2 development patterns and examples.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/binee108/PasteTrader --skill moai-lang-ruby-binee108
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-ruby
Source: https://github.com/binee108/PasteTrader/tree/main/.claude/skills/moai-lang-ruby
Command: npx skills add https://github.com/binee108/PasteTrader --skill moai-lang-ruby-binee108

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides structured Ruby and Rails development guidance, consolidating patterns, configurations, and reference implementations to accelerate modern Ruby-based projects.

Core Features & Use Cases

  • Language features & patterns: YJIT, pattern matching, Data class, endless method
  • Rails 7.2 integration: ActiveRecord patterns, STI, polymorphic associations, concerns and scopes
  • Frontend & testing patterns: Turbo/Streams, Stimulus controllers, RSpec, factory_bot

Quick Start

Generate a Rails 7.2 app skeleton that demonstrates an example Post-Comment model with ActiveRecord associations and Turbo Streams

Frequently Asked Questions about moai-lang-ruby

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

FAQPage Schema
How do I implement Turbo Streams in a Rails 7.2 application?

Turbo Streams in Rails 7.2 are implemented using structured patterns and Stimulus controllers to broadcast real-time page updates. This provides reference implementations for modern Hotwire frontend integration without writing custom JavaScript.

What are the best practices for testing Rails applications with RSpec?

RSpec best practices involve using structured patterns alongside factory_bot to build comprehensive test suites. This provides reliable test coverage for Ruby 3.3+ applications by specifying implementation requirements for service objects and ActiveRecord models.

How do I use pattern matching and Data classes in Ruby 3.3?

Pattern matching and Data classes in Ruby 3.3 are utilized through endless methods and structured reference implementations. This provides expert guidance for applying modern language features to build fast, maintainable web applications.

Does Ruby YJIT work with Rails 7.2 for building fast web services?

Yes, YJIT works with Rails 7.2 to accelerate modern Ruby-based projects. This provides structured configurations and patterns to specify implementation requirements for building fast, optimized web services.

How do I set up ActiveRecord polymorphic associations and STI in Rails?

ActiveRecord polymorphic associations and STI are set up using structured patterns and concerns. This provides practical examples for implementing complex database relationships in Ruby 3.3+ Rails applications.