CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/rails-agent-skills

Curated library of 41 public AI agent skills for Ruby on Rails development. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, and orchestration. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation. Repository workflows remain documented in GitHub but are intentionally excluded from the Tessl tile.

95

1.77x
Quality

93%

Does it follow best practices?

Impact

96%

1.77x

Average score across 41 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

code-quality

README.md

server.json

tile.json