rails-style

Official

Standardize Rails style for readable code.

Authorrubakas
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rails teams often struggle with inconsistent code style, making it harder to read, review, and maintain large Rails apps. This guide provides opinionated conventions for conditionals, method ordering, visibility, bang methods, and naming to improve readability and maintainability across models, controllers, and concerns.

Core Features & Use Cases

  • Expanded conditionals over guard clauses (except early returns) to improve clarity.
  • Clear method ordering by invocation flow and proper visibility modifiers to reduce cognitive load.
  • Guidelines for bang vs non-bang method usage, intention-revealing names, and resource-oriented controller patterns.
  • Useful during code reviews, onboarding, and refactoring to enforce consistent Rails conventions.

Quick Start

Integrate these conventions into your Rails project by importing the rails-style guide and applying its rules to your models and controllers.

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: rails-style
Download link: https://github.com/rubakas/agent-notes/archive/main.zip#rails-style

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.