Skip to content

[feat] New skill: language-ruby #96

@lugassawan

Description

@lugassawan

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

  • Skill — language-*

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)

  • skills/language-ruby/SKILL.md exists with valid frontmatter
  • scripts/validate.py passes
  • Skill is framework-neutral (no hard Rails dependency in content)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions