rails-stack-conventions

Community

Rails conventions for consistent, scalable code.

Authorigmarin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a unified set of conventions for Rails projects to reduce drift and accelerate onboarding, especially in teams using PostgreSQL, Hotwire, and Tailwind CSS.

Core Features & Use Cases

  • Naming conventions: snake_case for files and methods; CamelCase for classes.
  • MVC structure and ActiveRecord patterns: encourages concerns for complex logic, eager loading, and clear responsibilities.
  • Frontend integration: Hotwire (Turbo + Stimulus) and Tailwind CSS guidelines for components and styling.
  • Security defaults and performance practices: defense-in-depth, proper params, and indexing guidance.
  • Use Case: when starting new controllers, views, or models in a Rails project; this skill should be consulted for consistency, while rails-code-conventions handles per-path architecture rules.

Quick Start

Follow these conventions when creating new controllers, models, or views in a Rails project using PostgreSQL, Hotwire, and Tailwind CSS.

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-stack-conventions
Download link: https://github.com/igmarin/rails-agent-skills/archive/main.zip#rails-stack-conventions

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.