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
آخر تحديث 3/26/2026
النجوم
486
التفرعات
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).

التثبيت
$ install --globalskills.sh
الاستخدام

بعد التثبيت، يمكنك استخدام هذه المهارة بتشغيل الأمر التالي في الطرفية:

skills use concern-patterns