Goal
A language-ruby skill encodes modern Ruby idioms so agents give idiomatic, up-to-date guidance when working in Ruby codebases.
Motivation
Ruby 3.x introduced significant language features (pattern matching, endless methods, hash shorthand, Ractor) that are absent from or outdated in generic LLM guidance. No language skill currently covers Ruby. The skill should be framework-neutral (not Rails-specific) to stay useful across contexts.
Surface
Sketch (optional)
File: skills/language-ruby/SKILL.md
Key topics:
- Modern Ruby 3.x features: pattern matching, endless methods (
def greet = "hi"), hash shorthand
- Idiomatic blocks, procs, and lambdas — and when to prefer each
- Frozen string literals (
# frozen_string_literal: true)
Comparable, Enumerable — extension over raw iteration
- Error handling:
rescue scope discipline, avoid bare rescue
- Rails-adjacent conventions handled framework-neutrally (e.g.,
ActiveSupport::Concern pattern without requiring Rails)
- Testing idioms: RSpec vs minitest philosophy
Acceptance (optional)
Goal
A
language-rubyskill encodes modern Ruby idioms so agents give idiomatic, up-to-date guidance when working in Ruby codebases.Motivation
Ruby 3.x introduced significant language features (pattern matching, endless methods, hash shorthand, Ractor) that are absent from or outdated in generic LLM guidance. No language skill currently covers Ruby. The skill should be framework-neutral (not Rails-specific) to stay useful across contexts.
Surface
language-*Sketch (optional)
File:
skills/language-ruby/SKILL.mdKey topics:
def greet = "hi"), hash shorthand# frozen_string_literal: true)Comparable,Enumerable— extension over raw iterationrescuescope discipline, avoid barerescueActiveSupport::Concernpattern without requiring Rails)Acceptance (optional)
skills/language-ruby/SKILL.mdexists with valid frontmatterscripts/validate.pypasses