Rails Instructions — AI skill for Claude Code
Set of instructions for your favorite AI agent (e.g. Cursor, Copilot, Claude, etc) for a "DHH-driven" Ruby on Rails development philosophy.
How to install Rails Instructions
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open levifig/rails-instructions and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Rails Instructions does
Set of instructions for your favorite AI agent (e.g. Cursor, Copilot, Claude, etc) for a "DHH-driven" Ruby on Rails development philosophy.
Alternatives in AI
- Bmad Method — Breakthrough Method for Agile Ai Driven Development 42712 382 2 42.9k ★
- Claude Task Master — by eyaltoledano - A task management system for AI-driven development with Claude, designed to work seamlessly 26k ★
- Anthropic Quickstarts — by Anthropic - Offers comprehensive development guides for three distinct AI-powered demo projects with standa 15.4k ★
README
Rails AI-Assisted Development Guidelines
A comprehensive set of development guidelines for building Rails 8+ applications with AI agent collaboration, following The Rails Way™ and modern best practices.
Project Overview
This project provides principle-focused development guidelines for Rails 8+ applications designed for:
- Solo developers working with AI agents
- Modern Rails stack using Rails 8 defaults
- Zero-build frontend approach with Hotwire
- Test-driven development with Minitest
- DHH's philosophy and The Rails Way™
Technology Stack
The guidelines are built around the Rails 8+ default stack:
- Framework: Rails 8+ with convention over configuration
- Database: PostgreSQL with Active Record
- Authentication: Rails built-in authentication generator
- Background Jobs: Solid Queue (Rails 8 default)
- Caching: Solid Cache (database-backed, Redis when needed)
- WebSockets: Action Cable with Solid Cable adapter
- Frontend: Hotwire (Turbo + Stimulus) + TailwindCSS
- Assets: Propshaft (no-build approach)
- Testing: Minitest with fixtures (no RSpec, no factories)
- Rich Text: Action Text for content editing
- File Uploads: Active Storage with direct uploads
- Deployment: Kamal with Docker
- Code Quality: StandardRB for linting/formatting
- Development Tools: Bullet gem, Annotate gem
- Error Tracking: Rails built-in error reporter
Architecture
File Structure
AI Agent Instructions
The repository contains specialized instruction files for different AI agents:
- Copilot Instructions: Located in
.github/instructions/with proper frontmatter. - Cursor Rules: Located in
.cursor/rules/rails/with structured metadata.
Basic File Structure
While the filenames will vary based on your ruleset, here are the basic descriptions of each one:
api- API design and versioningbackground-jobs- Background jobs & Solid Queue configurationcontrollers
Related Skills
Rails Rspec Arsenal
Expert Ruby Rails RSpec Skill Files 2026 for AI Coding Agents - Best GitHub About
Rails AI Context
45 MCP tools that give AI coding agents ground truth about your Rails app: schema, models, routes, controllers
AI Assistant Instructions
A comprehensive, vendor-agnostic framework for consistent AI-assisted development workflows - standardized ins
AI Driven Development
AI-Driven Development - Curso completo em português: Claude Code, GitHub Copilot, prompt engineering, agentes
Payo
Generate project-tailored AI assistant rules & skills (CLAUDE.md, .cursorrules, Copilot instructions, AGENTS.m
Obsidian Skills Manager
Obsidian plugin for managing AI agent skills (Claude Code, Cursor, Copilot). Visual GUI for browsing, installi
Related Agents
Dhh Code Reviewer
Use this agent to review ViewComponent code against DHH's standards for elegance, expressiveness, and Rails co
Dhh Rails Reviewer
Use this agent when you need a brutally honest Rails code review from the perspective of David Heinemeier Hans
Ce Dhh Rails Reviewer
Conditional code-review persona, selected when Rails diffs introduce architectural choices, abstractions, or f