home/categories/architecture-patterns/thibautbaissac-rails-ai-agents-claude-37signals-skills-concern-patterns-skill-md
architecture-patternsdevelopment

concern-patterns

Creates and refactors model and controller concerns for shared behavior. Use when extracting shared code, organizing models with horizontal concerns, DRYing up controllers, or when user mentions concerns, mixins, or modules. WHEN NOT: Logic used by only one model (keep in place), service object extraction (use model-patterns), or job organization (use job-patterns).

ThibautBaissac
maintainer
ThibautBaissac
Updated 3/26/2026
Stars
486
Forks
58
quick start

Installation and usage

Creates and refactors model and controller concerns for shared behavior. Use when extracting shared code, organizing models with horizontal concerns, DRYing up controllers, or when user mentions concerns, mixins, or modules. WHEN NOT: Logic used by only one model (keep in place), service object extraction (use model-patterns), or job organization (use job-patterns).

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use concern-patterns