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
A fintech startup's Rails application needs to integrate with an external payments provider API. The API uses token-based authentication and exposes a JSON query endpoint. The engineering team is concerned about reliability: the payments provider has an SLA of 99.5% but has experienced brief outages in the past. The integration must handle authentication failures, malformed responses, network timeouts, and permanent errors (such as "payment not found") gracefully so that callers always receive structured errors rather than raw HTTP exceptions.
Credentials for the payments provider (API key, secret, account identifier) are already stored in the application's encrypted credentials. The host URL is also stored there. The team has strict security policies: no credentials may appear in source code and the integration must fail fast and loudly if configuration is missing at startup.
Implement the authentication and HTTP client layers for the payments API integration, placed under app/services/payments_provider/. The implementation should handle at minimum: token acquisition and caching, HTTP request execution with proper error handling, timeout configuration, and retry behaviour for transient failures.
Expected output files:
app/services/payments_provider/auth.rbapp/services/payments_provider/client.rbspec/services/payments_provider/client_spec.rb — RSpec spec covering error scenarios (network failure, invalid JSON, missing config)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