37signals-concerns
CommunityTurn shared Rails code into reusable concerns.
Software Engineering#refactoring#modularity#rails#design-patterns#code-organization#concerns#active_support
Authorjoshyorko
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Creates and refactors model and controller concerns for shared behavior following 37signals patterns. Use when extracting shared code, organizing models with horizontal concerns, DRYing up controllers, or when user mentions concerns, mixins, modules, or shared behavior.
Core Features & Use Cases
- Self-contained concerns that drive horizontal reuse across models and controllers.
- Modular organization: extract repeated behavior into independent concerns for clean composition.
- Example: turning common validation and scope logic into shared Card::Closeable or Card::Assignable patterns.
- Patterns and recommendations for organizing Rails code with ActiveSupport::Concern and concerns.
Quick Start
Identify a duplicated behavior across models and move it into a self-contained concern, then include that concern in the relevant models.
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-concerns Download link: https://github.com/joshyorko/agent-skills/archive/main.zip#37signals-concerns 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.