/plugin marketplace add Kaakati/rails-enterprise-dev/plugin install reactree-ios-dev@manifest-marketplaceDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"env": {
"FILE_PATH": "${args.file_path}",
"NEW_CONTENT": "${args.new_string}"
},
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre-edit-validation.sh",
"timeout": 10,
"description": "Pre-edit Swift file validation: syntax check before edits"
}
],
"matcher": "tool:Edit && args.file_path:*.swift"
}
],
"PostToolUse": [
{
"hooks": [
{
"env": {
"FILE_PATH": "${args.file_path}"
},
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/post-write-validation.sh",
"timeout": 15,
"description": "Post-write Swift file validation: syntax, SwiftLint checks"
}
],
"matcher": "tool:Write && args.file_path:*.swift"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/discover-skills.sh",
"timeout": 10,
"description": "Discover available skills and initialize working memory"
}
],
"matcher": "*"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/detect-intent.sh",
"timeout": 5,
"description": "Smart detection: analyze prompt intent and suggest appropriate ReAcTree workflow or utility agent"
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 4
},
"eventStats": {
"PreToolUse": 1,
"PostToolUse": 1,
"SessionStart": 1,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 4,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}