Curated library of AI agent skills for Ruby on Rails development. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and workflow automation.
98
99%
Does it follow best practices?
Impact
98%
1.38xAverage score across 26 eval scenarios
Passed
No known issues
{
"context": "Tests whether the agent implements proper error handling in a Ruby service object: rescuing specific exception types, logging errors, returning structured error hashes, validating inputs early, and handling partial failures gracefully.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Early input validation",
"description": "The service raises (or returns an error) before reaching business logic when required input is missing or invalid — validation happens at the start of the `call` method",
"max_score": 12
},
{
"name": "Specific rescue clauses",
"description": "The `call` method rescues at least one specific exception class (e.g. `ActiveRecord::RecordInvalid`, `ArgumentError`) rather than only `StandardError`",
"max_score": 10
},
{
"name": "StandardError rescue",
"description": "A `rescue StandardError` (or equivalent catch-all) is present as a fallback to prevent any exception escaping",
"max_score": 8
},
{
"name": "Error logged",
"description": "Each rescue block calls a logging method (e.g. `log_error`, `Rails.logger.error`, or similar) — NOT just silently rescuing",
"max_score": 10
},
{
"name": "Error hash returned",
"description": "Each rescue block returns a hash with `success: false` (not re-raises the exception)",
"max_score": 12
},
{
"name": "No exception leakage",
"description": "No rescue block calls `raise` or `raise e` — exceptions are fully absorbed and converted to error hashes",
"max_score": 10
},
{
"name": "Partial success response",
"description": "When some items succeed and others fail, the response includes BOTH successful results AND failure details in the same response hash (partial success pattern)",
"max_score": 10
},
{
"name": "Frozen string literal",
"description": "Service file begins with `# frozen_string_literal: true`",
"max_score": 8
},
{
"name": "Response format consistency",
"description": "All return paths (success, partial success, error) use the `{ success: ..., response: { ... } }` structure",
"max_score": 10
},
{
"name": "Backtrace logged for unexpected errors",
"description": "The catch-all `rescue StandardError` logs a backtrace (e.g. passes `include_backtrace: true` or logs `e.backtrace`)",
"max_score": 10
}
]
}api-rest-collection
create-prd
ddd-boundaries-review
ddd-rails-modeling
ddd-ubiquitous-language
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
generate-tasks
mcp_server
rails-architecture-review
rails-background-jobs
rails-bug-triage
rails-code-conventions
rails-code-review
rails-engine-compatibility
rails-engine-docs
rails-engine-extraction
rails-engine-installers
rails-engine-release
rails-engine-reviewer
rails-engine-testing
rails-graphql-best-practices
rails-migration-safety
rails-review-response
rails-security-review
rails-skills-orchestrator
rails-stack-conventions
rails-tdd-slices
refactor-safely
rspec-best-practices
rspec-service-testing
ruby-service-objects
strategy-factory-null-calculator
ticket-planning
yard-documentation