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
Mis à jour 3/26/2026
Étoiles
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
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use concern-patterns