rails-contexts
CommunityDefine optimal Rails boundaries for business logic
Authorslbug
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Rails projects often struggle to decide the proper layer for business logic, leading to tangled controllers, over‑engineered services, and hidden side‑effects.
Core Features & Use Cases
- Iron Laws: Enforces rules such as keeping controllers thin, avoiding side‑effecting callbacks, and making authorization explicit.
- Guidance: Maps common concerns—controllers, services, forms, queries, policies, serializers, and Grape APIs—to their ideal locations.
- Scenario: When adding a new payment processing feature, the skill recommends whether it belongs in a service object, a policy, or a controller action.
Quick Start
Use the rails-contexts skill to determine the proper placement for a new payment processing feature.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: rails-contexts Download link: https://github.com/slbug/claude-ruby-grape-rails/archive/main.zip#rails-contexts 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.