simplifying-ruby-code
CommunitySimplify Ruby code by preferring Hash/Struct/Data and pure functions over unnecessary classes
Authorbostonaholic
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Identify over-engineering in Ruby code and promote simple data structures and pure functions.
Core Features & Use Cases
- Prefer simple data structures (Hash, Struct, Data) over unnecessary classes.
- Convert command objects or services that have no state into module functions.
- Encourage value objects that wrap data with minimal behavior and enforce Ruby protocols (to_h, to_a, each).
Quick Start
Refactor a small, state-free class into a simple data structure or a pure function and update callers accordingly.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: simplifying-ruby-code Download link: https://github.com/bostonaholic/dotfiles/archive/main.zip#simplifying-ruby-code Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.