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
Использование

После установки вы можете использовать этот skill, выполнив следующую команду в терминале:

skills use concern-patterns