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

snippets.mdskills/code-quality/apply-code-conventions/assets/

Code snippets (per-path)

Service object skeleton

# frozen_string_literal: true
class MyService
  def self.call(**kwargs)
    new(**kwargs).call
  end

  def initialize(**kwargs)
    @kwargs = kwargs
  end

  def call
    # return { success: true, response: { data: ... } }
    { success: true, response: {} }
  end
end

Controller thin-action example

class UsersController < ApplicationController
  def create
    result = CreateUserService.call(user_params: user_params)
    if result[:success]
      render json: result[:response], status: :created
    else
      render json: { errors: result[:response][:error] }, status: :unprocessable_entity
    end
  end

  private

  def user_params
    params.require(:user).permit(:name, :email)
  end
end

Model validation example

class User < ApplicationRecord
  validates :email, presence: true, uniqueness: true
end

skills

README.md

tile.json