/plugin marketplace add betamatt/claude-plugins/plugin install ruby-on-rails@betamatt-claude-pluginsDefined in hooks/hooks.json
{
"SessionStart": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Check if this is a Ruby on Rails project by looking for a Gemfile containing 'rails'. If it is a Rails project, note the Rails version and any key gems (devise, sidekiq, rspec-rails, etc.). Set context that this is a Rails project so Rails-specific agents and skills will activate appropriately. Keep the response brief - just acknowledge Rails detection and version."
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 1
},
"eventStats": {
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}