Open source

Free AI Coding Skills for Rails

Rules and conventions that teach your AI coding agent how to write Rails the way senior developers actually write it. Battle-tested patterns, not generic suggestions. Install in your terminal, no signup required.

npx skills add julianrubisch/skills

Works with Claude Code, Cursor, Windsurf, and any agent that supports skills.

Install

Pick your method

Via the skills CLI

Run this in your terminal. All three skills install at once.

npx skills add julianrubisch/skills

Or from the Claude Code plugin marketplace

Inside a Claude Code session, run these two commands:

/plugin marketplace add julianrubisch/skills
/plugin install jr-rails-classic@julianrubisch-skills

No CLI? Download manually.

Go to the GitHub repo, click Code → Download ZIP, and extract the skill folders into .claude/skills/ inside your project directory. That's it — your agent will pick them up automatically.

The skills

Three skills. One opinionated Rails stack.

jr-rails-classic

Teaches your AI to write Rails the way 37signals does — the team behind Basecamp and HEY.

  • Rich models, thin controllers
  • CRUD controllers with concerns
  • Minitest with fixtures
  • No service objects

What this means for you: Your AI writes less custom code — which means fewer bugs, lower maintenance costs, and less time fixing things that shouldn’t have been built from scratch.

jr-rails-new

Walks your AI through setting up a new Rails app with a proven, production-ready stack.

  • Interactive interview before scaffolding
  • Full post-scaffold configuration
  • Phlex or ERB — your choice
  • Pundit, Solid Queue, AASM
  • Production-ready from the start

What this means for you: Your next app starts on solid ground. No expensive rework when you need to scale or hand it off to a new team.

jr-rails-phlex

Guides your AI to build UI components that are fast, testable, and follow a clear hierarchy.

  • Component hierarchy and slots
  • Stimulus and Turbo integration
  • Custom elements and helpers
  • Fragment caching patterns
  • Rails scaffold generator

What this means for you: Your interface stays consistent as your app grows. Updates happen in one place instead of hunting through every page.

Before & after

What changes when your AI has these skills

Left to its own devices, your AI writes more code than it needs to — and more code means more cost, more bugs, and more things that break as you grow. These skills teach it to use what Rails already provides.

Login security
Without skills

Your AI builds a custom login system from scratch — 200+ lines of code reinventing what the framework already provides. Looks fine until someone finds the security hole.

With skills

Uses the login system Rails already ships with. Three commands instead of hundreds of lines. Battle-tested by thousands of apps.

Wasted code
Without skills

Your AI adds extra tools and writes custom solutions for problems Rails already solves. More code means more things that can break — and more hours you pay for.

With skills

Uses what’s already built into Rails. Less code, fewer dependencies, fewer surprises when you scale.

Tracking status
Without skills

Order status, subscription state, approval workflows — your AI scatters the logic across the app with no record of what changed or when. Bugs are hard to trace.

With skills

Every status change is explicit, guarded, and timestamped. You can see exactly what happened and when — no detective work.

Page structure
Without skills

Your AI copies and pastes the same chunks of interface code across pages. When you change one, the others don’t follow. Small updates turn into whack-a-mole.

With skills

Builds reusable interface components. Change it once, it updates everywhere. Your app stays consistent as it grows.

What's inside

Deep reference material your AI reads when it needs it

Architecture & patterns

Guides your AI to organize code so it's easy to change, test, and hand off to new developers.

  • Layered architecture guide
  • 7 design patterns (decorator, presenter, form object…)
  • 9 refactoring recipes
  • Anti-pattern catalog

Domain guides

Covers the building blocks most apps need — so your AI doesn't reinvent them from scratch.

  • Hotwire integration patterns
  • Testing strategy and fixtures
  • Security and authorization
  • Background jobs and queues
  • State machines with AASM
  • Notifications with Noticed

Your agent pulls in only what it needs for the task at hand — so it stays focused and doesn't get overwhelmed by irrelevant information.

Like what you see? I also review codebases.

These skills encode the same standards I use when auditing Rails apps. If you want a human to apply them to your codebase, let's talk.

Get notified when new skills drop

No spam. One email per release.