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 implements the Strategy + Factory + Null Object calculator pattern: a frozen SERVICE_MAP dispatch table in the Factory, a NullService that returns safely for all unknown variants, the prescribed file structure, the single-call public API, and concrete services that override the correct methods.",
"type": "weighted_checklist",
"checklist": [
{
"name": "SERVICE_MAP constant",
"description": "The Factory class defines a SERVICE_MAP constant (frozen hash) that maps variant keys to service classes — not a case statement or if/elsif chain",
"max_score": 12
},
{
"name": "Factory NullService fallback",
"description": "The Factory's .for method returns a NullService instance (or NullService.new) when the variant is not found in SERVICE_MAP or when the qualifying context is nil/inactive",
"max_score": 10
},
{
"name": "NullService never raises",
"description": "The NullService class does NOT raise any exception under any input — its calculate (or equivalent public) method returns nil or a safe value for all inputs",
"max_score": 12
},
{
"name": "Correct file structure",
"description": "The module contains at least factory.rb, base_service.rb, null_service.rb, and one concrete service file — all under app/services/<module_name>/",
"max_score": 10
},
{
"name": "Single entry point API",
"description": "The client-facing usage demonstrated (in code, specs, or documentation) is Factory.for(entity).calculate — a single chained method call, not a multi-step instantiation",
"max_score": 8
},
{
"name": "Concrete overrides should_calculate?",
"description": "At least one concrete service class overrides a should_calculate? (or equivalent guard) method that adds a variant-specific check on top of calling super",
"max_score": 8
},
{
"name": "Concrete overrides compute_result",
"description": "At least one concrete service class overrides compute_result (or equivalent calculation) method containing the variant-specific business logic",
"max_score": 8
},
{
"name": "NullService spec context",
"description": "The spec file contains a context or describe block that explicitly tests the NullService path — e.g. unknown variant, nil entity, or inactive qualifier returns the null object",
"max_score": 12
},
{
"name": "Variant spec coverage",
"description": "The spec file includes at least one example per concrete variant (e.g. standard tier, express tier) verifying the factory dispatches to the correct service class",
"max_score": 8
},
{
"name": "Frozen string literal",
"description": "Every Ruby file in the module begins with # frozen_string_literal: true",
"max_score": 6
},
{
"name": "SERVICE_MAP key type consistency",
"description": "The SERVICE_MAP keys are the same type (all strings or all symbols) as what would be retrieved from the entity attribute — not a mix that would cause silent NullService fallbacks",
"max_score": 6
}
]
}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