npx skills add sickn33/agentic-awesome-skills --skill ruby --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Ruby: Idiomatic Efficiency Reference ## When to Use - Use this skill when the task matches this description: Language-specific super-code guidelines for ruby. ## Table of Contents 1. [Enumerable & Collections](#enumerable) 2. [Blocks, Procs & Lambdas](#blocks) 3. [String Handling](#strings) 4. [Error Handling](#errors) 5. [Classes & Modules](#classes) 6. [Ruby Idioms](#idioms) 7. [Anti-patterns specific to Ruby](#antipatterns) --- ## 1. Enumerable & Collections {#enumerable} ```ruby # ❌ Manual accumulation result = [] items.each do |item| result << item.name.upcase if item.active? end # ✅ result = items.select(&:active?).map { |i| i.name.upcase } ``` ```ruby # ❌ Manual grouping grouped = {} items.each do |item| grouped[item.category] ||= [] grouped[item.category] << item end # ✅ grouped = items.group_by(&:category) ``` ```ruby # ❌ Manual sum total = 0 orders.each { |o| total += o.amount } # ✅ total = orders.sum(&:amount) ``` ```ruby # ❌ Checking existence then accessing if hash.key?(key) value = hash[key] end # ✅ value = hash[key] # returns nil if missing # or with default: value = hash.fetch(key, default_value) # or raising on missing: value = hash.fetch(key) # raises KeyError `
- When to Use
- Table of Contents
- 1. Enumerable & Collections {#enumerable}
- 2. Blocks, Procs & Lambdas {#blocks}
- 3. String Handling {#strings}
- 4. Error Handling {#errors}
- 5. Classes & Modules {#classes}
- 6. Ruby Idioms {#idioms}
- 7. Anti-patterns specific to Ruby {#antipatterns}
- Limitations
What does the ruby skill do?
Language-specific super-code guidelines for ruby.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill ruby --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.