ruby-object-design-expert
Automatically invoked when making decisions about Ruby code structure and organization. Triggers on mentions of "class or module", "should this be a class", "struct vs class", "PORO", "data object", "design pattern", "class vs module", "when to use class", "module vs class", "stateless class", "value object", "data container", "object factory", "extend self", "singleton class". Provides guidance on choosing the right Ruby construct (class, module, Struct, Data, Hash) based on the principle that Ruby is object-oriented, not class-oriented.
Installation and usage
Automatically invoked when making decisions about Ruby code structure and organization. Triggers on mentions of "class or module", "should this be a class", "struct vs class", "PORO", "data object", "design pattern", "class vs module", "when to use class", "module vs class", "stateless class", "value object", "data container", "object factory", "extend self", "singleton class". Provides guidance on choosing the right Ruby construct (class, module, Struct, Data, Hash) based on the principle that Ruby is object-oriented, not class-oriented.
安裝後,您可以透過在終端機執行以下指令來使用此技能:
skills use ruby-object-design-expert