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

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

code-quality

README.md

server.json

tile.json