CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/rails-agent-skills

Curated library of 28 public AI agent skills for Ruby on Rails development. Organized by category: testing, code-quality, engines, infrastructure, api, and context. Covers code review, architecture, security, testing (RSpec), engines, Hotwire, and TDD automation. Shared Ruby skills (YARD docs, DDD, service objects) have moved to ruby-core-skills. Repository agents remain documented in GitHub but are intentionally excluded from the Tessl tile.

93

1.78x
Quality

95%

Does it follow best practices?

Impact

93%

1.78x

Average score across 28 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

examples.mdskills/code-quality/refactor-code/assets/

Refactor-safely examples

1) Characterization test for a presenter

RSpec.describe OrderPresenter do
  it 'formats totals as currency' do
    order = build_stubbed(:order, total_cents: 12345)
    expect(OrderPresenter.new(order).formatted_total).to eq('$123.45')
  end
end

2) Safe extract example

Before:

def index
  @rows = expensive_query.map { |r| transform(r) }
end

After (extract):

def index
  @rows = Presentation::RowsBuilder.build(expensive_query)
end

3) Rollback plan

  • If tests fail after refactor, revert commit, examine failing characterization tests, and extract smaller unit of work.

skills

README.md

tile.json