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

examples.mdskills/code-quality/refactor-safely/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

tile.json