Rails Best Practices Skill banner
Kavin-Kannan Kavin-Kannan

Rails Best Practices Skill

Development community

Description

A Claude Agent Skill providing comprehensive Rails best practices from rails-bestpractices.com

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Rails Best Practices Skill

A Claude Agent Skill that provides comprehensive Rails best practices sourced from [rails-bestpractices.com](https://rails-bestpractices.com/).

What is This?

This is a **Claude Agent Skill** - a specialized knowledge package that helps Claude review, analyze, and generate Ruby on Rails code following community best practices. **This skill is automatically invoked for both code review and code generation** when Claude is working with Ruby on Rails code.

Quick Start

Install for Claude Code

mkdir -p ~/.claude/skills
cp -r rails_best_practices ~/.claude/skills/rails-best-practices

See [QUICK_START.md](QUICK_START.md) for 3-step installation.

Features

When enabled, Claude will automatically:

  • ✅ Use Time.zone.now instead of Time.now
  • ✅ Check save return values or use save!
  • ✅ Avoid default_scope anti-patterns
  • ✅ Prevent N+1 query problems
  • ✅ Use strong parameters in controllers
  • ✅ Follow Rails conventions
  • ✅ Apply security best practices
  • ✅ Optimize database queries
  • ✅ And much more!

Installation

  • Claude Code: See INSTALL.md
  • Claude Apps: Enable in Settings → Skills
  • API: Include in Messages API requests

Sharing with Community

Want to share this skill with other developers?

**See [HOW_TO_SHARE.md](HOW_TO_SHARE.md) for complete step-by-step instructions!**

Quick version:

  1. Create GitHub repository
  2. Submit to Anthropic Skills Marketplace (when available)
  3. Share with Rails community

Documentation