rubylisted
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