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
{
"context": "Tests whether the agent follows rails-engine-author conventions: using isolate_namespace, providing a configure block with a Configuration class, defining the host-app contract, providing copy generators for migrations (not silent apply), referencing host models via configurable class names, and using a minimal lib/engine.rb structure.",
"type": "weighted_checklist",
"checklist": [
{
"name": "isolate_namespace used",
"description": "lib/audit_trail/engine.rb calls isolate_namespace AuditTrail inside the Engine class",
"max_score": 12
},
{
"name": "configure block pattern",
"description": "lib/audit_trail.rb defines a self.configure method that yields a Configuration instance (the standard configure do |config| pattern)",
"max_score": 10
},
{
"name": "Configuration class",
"description": "lib/audit_trail/configuration.rb defines an AuditTrail::Configuration class with at least one attr_accessor for the host user class or equivalent",
"max_score": 8
},
{
"name": "Configurable user class",
"description": "The Configuration class has an attribute for the host app's user class name (e.g. user_class or actor_class) defaulting to a string (e.g. 'User'), NOT a hard-coded constant",
"max_score": 12
},
{
"name": "No hard-coded host constant",
"description": "The engine code does NOT reference ::User, ::Employee, or any other host app constant directly — uses the configurable class name or constantize pattern instead",
"max_score": 10
},
{
"name": "Migrations not auto-applied",
"description": "lib/audit_trail/engine.rb does NOT call initializer or config block that runs migrations automatically — no db:migrate call in engine code",
"max_score": 10
},
{
"name": "Host contract documented",
"description": "host_contract.md exists and describes at minimum: (1) what the host must configure, and (2) what the engine exposes",
"max_score": 10
},
{
"name": "lib/audit_trail.rb minimal",
"description": "lib/audit_trail.rb requires version, configuration, and engine — does not contain business logic",
"max_score": 8
},
{
"name": "Dummy app routes mount engine",
"description": "spec/dummy/config/routes.rb mounts AuditTrail::Engine at some path",
"max_score": 8
},
{
"name": "Model namespaced",
"description": "app/models/audit_trail/audit_event.rb defines AuditTrail::AuditEvent (namespace matches engine isolation)",
"max_score": 8
},
{
"name": "Engine type justified",
"description": "host_contract.md or engine.rb comments state the engine type chosen (mountable/full/plain) — OR the engine class correctly inherits from ::Rails::Engine",
"max_score": 4
}
]
}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