← ClaudeAtlas

rubylisted

Core Ruby language best-practices skill (Ruby 3.3/4.0) covering syntax and types, collections/Enumerable, blocks/procs/lambdas, OOP and modules, metaprogramming, Bundler/gems, testing (RSpec/Minitest), style/typing tooling (RuboCop, RBS, Steep, ruby-lsp), and performance/debugging. Use when the user mentions Ruby, gem, Bundler, Gemfile, RSpec, Minitest, RuboCop, irb, pry, blocks, procs, lambdas, mixins, or module/metaprogramming patterns that are not specific to a framework. For Ruby on Rails framework-specific questions (Active Record, routing, Action View, etc.), see the sibling `ruby-on-rails` skill instead.
display-design-studio/skills · ★ 2 · Testing & QA · score 56
Install: claude install-skill display-design-studio/skills
# Ruby Best Practices Core Ruby language guide organized as modular rules, independent of any web framework. Covers syntax and types, collections, blocks/procs/lambdas, OOP/modules, metaprogramming, dependency management, testing, style/typing tooling, and performance/debugging. For Rails-specific concerns (Active Record, controllers, views, jobs, Kamal deployment, etc.), load the sibling `ruby-on-rails` skill instead. ## ROUTING: Which rule file to load **IF working with variables, strings/symbols, numerics, control flow, or pattern matching (`case/in`):** → Read `rules/core-syntax-and-types.md` **IF working with Array, Hash, Struct, Enumerable, or lazy enumerators:** → Read `rules/core-collections-enumerable.md` **IF working with blocks, `yield`, `Proc`, or `lambda`:** → Read `rules/core-blocks-procs-lambdas.md` **IF working with classes, modules, mixins, or inheritance:** → Read `rules/core-oop-modules.md` **IF writing metaprogramming, DSLs, or dynamic method definitions:** → Read `rules/metaprogramming.md` **IF managing dependencies, a Gemfile, or building/publishing a gem:** → Read `rules/gems-and-bundler.md` **IF writing or fixing tests:** → Read `rules/testing-rspec-minitest.md` **IF configuring linting, formatting, or type-checking tooling:** → Read `rules/style-and-typing.md` **IF profiling, debugging, or tuning Ruby performance:** → Read `rules/performance-and-debugging.md` ## Rule index | Topic | Description | File | |-------|-------------|------| | S