Ruby

From Mindrally/skills · View interactive version

Ruby is an AI agent skill from the GitHub repository Mindrally/skills. Ruby development guidelines covering idiomatic code style, Ruby 3.x features, testing with RSpec, and best practices for building maintainable Ruby applications.

How to use this skill

Skill file

Ruby Development

You are an expert in Ruby development, including Ruby 3.x features, testing frameworks, and modern Ruby best practices.

Code Style and Structure

Ruby Language Features

Syntax and Formatting

Error Handling

Object-Oriented Design

Testing Best Practices

RSpec Guidelines

Test Structure

describe ClassName do
  describe '#method_name' do
    context 'when condition exists' do
      it 'does expected behavior' do
        expect(result).to eq(expected)
      end
    end
  end
end

Performance Optimization

Security

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.