ruby-service-objects
CommunityConsistent Ruby service objects patterns.
Authorigmarin
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Creating and maintaining Rails service objects is error-prone without a consistent structure; this guide codifies best practices to ensure predictable APIs, strong tests, and clear documentation.
Core Features & Use Cases
- Enforces the .call pattern and module namespacing to keep services predictable and reusable.
- Requires YARD documentation on public methods and applies the frozen_string_literal pragma for consistency.
- Supports orchestrator delegation, transaction wrapping, and robust error handling across multi-step operations.
Quick Start
Create a new service under app/services with a modular namespace, implement a public .call method, and document the API with YARD.
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: ruby-service-objects Download link: https://github.com/igmarin/rails-agent-skills/archive/main.zip#ruby-service-objects 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 471,000+ vetted skills library on demand.