Rails Preferences

Community

Align Rails coding with proven best practices.

Authormartinstreicher
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rails codebases often drift, creating inconsistencies and maintenance burdens. This Skill defines a set of conventions to keep models, controllers, and validations organized and readable.

Core Features & Use Cases

  • Alphabetical organization of associations and other sections where applicable.
  • Blank lines after associations and validations to improve readability.
  • Defined order for Rails model components (annotations, includes, constants, delegates, gems/plugins, callbacks, associations, validations, scopes, class methods, instance methods, private methods).
  • Use case: refactoring a large User model to enforce a consistent structure across a project.

Quick Start

Follow these conventions to maintain consistent structure across Rails 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 Preferences
Download link: https://github.com/martinstreicher/claude-skills/archive/main.zip#rails-preferences

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.