rails-idioms

Community

Enforce idiomatic Rails patterns for clean code.

Authorslbug
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Many Rails projects drift away from best‑practice conventions, leading to hard‑to‑maintain code, hidden bugs, and unnecessary infrastructure complexity. This Skill helps teams stay aligned with Rails idioms and modern Rails 7/8 conventions.

Core Features & Use Cases

  • Iron Laws: Enforces core Rails principles such as controller responsibility, explicit parameter shaping, and boring callbacks.
  • Solid Stack Guidance: Recommends Solid Queue, Solid Cache, and Solid Cable alternatives to Redis for moderate‑throughput workloads.
  • Quick Reference & References: Provides ready‑to‑use code snippets, pattern checklists, and extensive markdown references covering controllers, callbacks, Active Record scopes, async queries, authentication, testing, deployment, and more.
  • Use Case Example: When adding a new controller, run this Skill to verify that callbacks are simple, parameters are strongly permitted, and background jobs use the appropriate queue.

Quick Start

Use the rails-idioms skill to analyze your Rails app and suggest idiomatic improvements.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: rails-idioms
Download link: https://github.com/slbug/claude-ruby-grape-rails/archive/main.zip#rails-idioms

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 471,000+ vetted skills library on demand.