mirror of
https://github.com/n8n-io/skills.git
synced 2026-09-19 09:03:42 +08:00
83 lines
1.9 KiB
JSON
83 lines
1.9 KiB
JSON
{
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "startup|resume|clear|compact",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "^mcp__.*__validate_workflow$",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-tool-use/validate-workflow.sh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "^mcp__.*__create_workflow_from_code$",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-tool-use/create-workflow.sh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "^mcp__.*__update_workflow$",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-tool-use/update-workflow.sh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "^mcp__.*__get_node_types$",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-tool-use/get-node.sh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "^mcp__.*__execute_workflow$",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-tool-use/execute-workflow.sh"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "^mcp__.*__test_workflow$",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-tool-use/test-workflow.sh"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "^mcp__.*__validate_workflow$",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/post-tool-use/validate-workflow.sh"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|