ruby-object-design

Installation
SKILL.md

Ruby Object Design Expert

Ruby is object-oriented, not class-oriented. The class keyword should be reserved for specific use cases, not used as a default container for code.

The Object Factory Rule

Only use class if you are creating an object factory -- a template for generating multiple objects that encapsulate internal state with behaviors operating on that state.

If your code doesn't create multiple instances with distinct state, a class is the wrong construct.

Decision Tree

Installs
2
GitHub Stars
5
First Seen
Jul 7, 2026
ruby-object-design — ag0os/rails-dev-plugin