CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/rails-agent-skills

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

1.20x
Quality

98%

Does it follow best practices?

Impact

95%

1.20x

Average score across 35 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

retry_examples.mdskills/infrastructure/rails-background-jobs/assets/

Retry and discard examples

  1. Idempotent retry example

class FetchDataJob < ApplicationJob retry_on Net::ReadTimeout, attempts: 4, wait: :exponentially_longer discard_on ActiveRecord::RecordNotFound

def perform(resource_id) resource = Resource.find(resource_id) ApiClient.fetch(resource.api_endpoint) end end

  1. Long-running breakdown pattern

Split large export into smaller jobs that write to a shared storage object and then enqueue a finalizer job.

  1. Backoff strategy

Use Sidekiq's built-in exponential backoff for background workers; for ActiveJob, prefer wait: :exponentially_longer.

skills

infrastructure

README.md

tile.json