Skip to main content

ruby

Ruby programming language and Rails framework

Jump to install

Source facts

Repository
NeuralBlitz/Agent-Gateway
Last source activity
April 9, 2026 at 10:58
Detected SKILL.md language
English
Stars
1
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
ruby
description
Ruby programming language and Rails framework
license
MIT
compatibility
opencode
metadata
{"audience":"developers","category":"programming"}
## What I do - Write idiomatic Ruby - Use Rails patterns - Implement metaprogramming - Handle RubyGems - Use RSpec for testing - Implement ActiveRecord - Use Rails routing - Handle background jobs ## When to use me When writing Ruby or Rails code. ## Ruby Patterns ```ruby # Metaprogramming class BaseService def self.inherited(subclass) define_method(subclass.name.underscore) do |**args| klass = Object.const_get(subclass.name) klass.new(**args).execute end end end # Blocks and yield def with_transaction ActiveRecord::Base.transaction do yield rescue => e rollback! raise e end end # Rails patterns class UsersController < ApplicationController before_action :set_user, only: [:show, :update] def index @users = User.all.page(params[:page]) render json: @users end private def set_user @user = User.find(params[:id]) end end ```
View on GitHub