37signals-model
CommunityBuilds rich Rails models with business logic.
Authorjoshyorko
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Rails apps often end up with anemic models and scattered business logic in controllers or services. This skill guides building fat domain models that encapsulate business logic, validations, and domain behavior, organized with concerns for horizontal reuse.
Core Features & Use Cases
- Fat models with business logic, validations, scopes, callbacks, and concerns to share behavior across models.
- Clear patterns for associations, defaults via lambdas, and using Current for request-context data to support multi-tenant or per-user scenarios.
- Practical structure and examples for typical domain modeling in Rails, including how to place logic where it belongs.
Quick Start
Create a new model that includes rich business logic, uses concerns to organize behavior, and defines validations, scopes, and callbacks.
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: 37signals-model Download link: https://github.com/joshyorko/agent-skills/archive/main.zip#37signals-model 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.