/plugin marketplace add synaptiai/synapti-marketplace/plugin install gh-workflow@synapti-marketplaceDefined in ./hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "If this bash command involves git push or gh pr create, verify that the user has been asked for approval via AskUserQuestion before executing. Irreversible actions require explicit user consent.",
"timeout": 10
}
],
"matcher": "Bash"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "If a git commit just succeeded, remind about running project-specific quality checks (lint/test) if they haven't been run yet in this session.",
"timeout": 10
}
],
"matcher": "Bash"
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 2
},
"eventStats": {
"PreToolUse": 1,
"PostToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}