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
When to use: Apply conventions, refactor existing code, or maintain quality during development.
graph TB
subgraph Prepare [🧪 Phase 1: Prepare]
direction TB
A[Refactor needed] --> B[refactor-safely]
B --> C[Characterization tests]
C --> D{Tests pass?}
end
subgraph Refactor [🔧 Phase 2: Refactor]
direction TB
D -- Yes --> E[Extract/refactor]
E --> F{Tests pass?}
F -- No --> G[Revert + fix]
G --> E
end
subgraph Iterate [🔄 Phase 3: Iterate]
direction TB
F -- Yes --> H{More to refactor?}
H -- Yes --> E
end
H -- No --> I[rails-code-review]
%% Styling
style Prepare fill:#f5f5f5,stroke:#333,stroke-dasharray: 5 5
style Refactor fill:#e1f5fe,stroke:#01579b
style Iterate fill:#fff3e0,stroke:#e65100
style D fill:#ffd54f
style F fill:#ffd54f
style H fill:#ffd54fGoal: Change structure without changing behavior.
Key rule: Separate behavior changes from structural changes. Never both.
Goal: Clean code following Rails principles.
| Path | Rules |
|---|---|
app/controllers | Thin controllers, 1 line actions, strong params |
app/models | No complex business logic, scopes for queries |
app/services | .call pattern, response contract, YARD |
app/jobs | Idempotency, retry strategy, log context |
config/routes | Resourceful, shallow nesting |
Goal: Document public API after implementation.
# @param params [Hash] :user_id, :amount
# @return [Hash] { success: Boolean, response: Hash }
# @raise [ArgumentError] when user_id is nilLanguage: All YARD in English unless user requests otherwise.
| Skill | Description | Trigger words |
|---|---|---|
| refactor-safely | Restructure preserving behavior | "refactor", "extract", "restructure" |
| rails-code-conventions | Clean code principles | "code review", "conventions", "DRY", "YAGNI" |
| yard-documentation | Inline API docs | "YARD", "documentation", "@param", "@return" |
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