Creates Rails concerns for shared behavior across models or controllers with TDD. Use when extracting shared code, creating reusable modules, DRYing up models/controllers, or when user mentions concerns, modules, mixins, or shared behavior. WHEN NOT: Logic used by only one model or controller (keep it in place), complex business logic (use service objects), or query encapsulation (use query objects).
$npx -y skills add thibautbaissac/rails_ai_agents --skill rails-concernInstalls into the current project.
Run `npx skills use "https://github.com/thibautbaissac/rails_ai_agents" --skill "thibautbaissac/rails_ai_agents/rails-concern"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/thibautbaissac/rails_ai_agents" that are relevant to the current task. Run `npx skills add "https://github.com/thibautbaissac/rails_ai_agents"` and select the relevant skills, then follow their instructions.