Curated library of 39 AI agent skills for Ruby on Rails development. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, orchestration, and workflows. Includes 5 callable workflow skills (rails-tdd-loop, rails-review-flow, rails-setup-flow, rails-quality-flow, rails-engines-flow) for complete development cycles. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation.
95
98%
Does it follow best practices?
Impact
95%
1.20xAverage score across 35 eval scenarios
Passed
No known issues
This is not just documentation — it is the operating system behind AI-driven Rails development.
Rails Agent Skills defines how AI agents should think, plan, and execute across the entire software lifecycle — from discovery to PR — with strict workflows and TDD as a non-negotiable quality gate.
Master index for all project documentation.
This documentation is your entry point to understanding and applying that system.
Think of this as a decision map — not just docs. Pick your current stage and follow the workflow.
| If you are... | Go to... |
|---|---|
| New to the project | Quick Start → Workflows Discovery |
| Developer looking for workflow | Workflows Index — All flows by stage |
| Skill contributor | Skill Design Principles |
| Debugging integration | Implementation Guide |
If you're using AI agents in Rails, start here. This gives you the fastest path to the right workflow without guessing.
New to project? → rails-context-engineering
Plan a feature? → create-prd → generate-tasks
Start coding? → rails-tdd-slices → rspec-best-practices
Fix a bug? → rails-bug-triage
Refactor? → refactor-safely
Code review? → rails-code-review
Not sure? → rails-skills-orchestratorflowchart TD
START([What do you need?]) --> DECISION{What stage?}
DECISION -->|Discovery| D00[discovery]
DECISION -->|Planning| D10[planning]
DECISION -->|Setup| D20[setup]
DECISION -->|Develop| D30[development]
DECISION -->|Quality| D40[quality]
DECISION -->|Review| D50[review]
DECISION -->|Engines| D60[engines]
D00 --> NEXT
D10 --> NEXT
D20 --> D30
D30 --> D40
D40 --> D50
D60 --> D50
NEXT{What next?} -->|Implement| D30
NEXT -->|Done| END([PR / Merge])
D50 -->|Feedback| RESPOND[rails-review-response]
RESPOND --> D30
D50 -->|OK| ENDEach workflow is designed to be executed by an AI agent (or human + AI) with clear steps, inputs, and expected outputs.
Step-by-step workflows for each development phase:
| Stage | Document | Description |
|---|---|---|
| Discovery | Discovery & Context | Understand codebase, onboarding |
| Planning | Planning & Design | PRD, tasks, DDD |
| Setup | Setup & Configuration | CI/CD, dev environment |
| Development | Development | TDD, implementation, bug fixes |
| Quality | Code Quality | Conventions, refactoring, docs |
| Review | Review & Validation | Code review, security, architecture |
| Engines | Engines | Rails engines development |
Complete index: workflows/README.md
Complete catalog of 39 skills organized by category:
| Document | Content |
|---|---|
| skill-design-principles.md | 6 skill design principles |
| skill-optimization-guide.md | Eval-driven loop: baseline-vs-context targets, per-skill scoring, what to change when a skill regresses |
| architecture.md | SKILL.md structure, frontmatter, checkpoints |
| skill-template.md | Template for new skills |
In-depth guides by specific topic:
| Guide | Topic |
|---|---|
| implementation-guide.md | Installation on Claude, Cursor, Gemini |
| workflow-guide.md | Narrative companion to workflows/ — full TDD Feature Loop, planning, bug fix, GraphQL, engine, migration, refactor, performance, perf optimization, and external API chains in one file |
| plugin-validation.md | Plugin validation for different IDEs |
| vs-code-setup.md | VS Code specific configuration |
Non-negotiable principle across all workflows:
Write test → Run test → Verify it FAILS → Implement → Verify it PASSESSee details in each specific workflow.
docs/
├── README.md # This file — master index
├── skill-design-principles.md # Design principles
├── skill-template.md # Template for skills
├── architecture.md # SKILL.md conventions
├── implementation-guide.md # IDE installation
├── plugin-validation.md # Plugin validation
├── vs-code-setup.md # VS Code specific
│
├── workflows/ # Workflows by stage
│ ├── README.md
│ ├── discovery.md
│ ├── planning.md
│ ├── setup.md
│ ├── development.md
│ ├── quality.md
│ ├── review.md
│ └── engines.md
│
├── reference/ # Quick reference (new)
│ ├── skill-catalog.md
│ └── integration-matrix.md
│
└── guides/ # Deep guides (future)Note: This documentation is constantly evolving. If you find something confusing or missing, please open an issue in the repository.
docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
mcp_server
skills
api
api-rest-collection
rails-graphql-best-practices
code-quality
rails-architecture-review
rails-code-conventions
rails-code-review
rails-review-response
rails-security-review
rails-stack-conventions
assets
snippets
refactor-safely
context
rails-context-engineering
rails-project-onboarding
ddd
ddd-boundaries-review
ddd-rails-modeling
ddd-ubiquitous-language
engines
rails-engine-compatibility
rails-engine-docs
rails-engine-extraction
rails-engine-installers
rails-engine-release
rails-engine-reviewer
rails-engine-testing
infrastructure
rails-api-versioning
rails-background-jobs
rails-database-seeding
rails-frontend-hotwire
rails-migration-safety
rails-performance-optimization
orchestration
rails-skills-orchestrator
patterns
ruby-service-objects
strategy-factory-null-calculator
yard-documentation
planning
create-prd
generate-tasks
ticket-planning
testing
rails-bug-triage
rails-tdd-slices
rspec-best-practices
rspec-service-testing