{ "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{try{const i=JSON.parse(d);const cmd=(i.tool_input||{}).command||'';if(cmd.includes('git commit')){process.stderr.write('\\nπŸ“‹ 提亀前检ζŸ₯清单:\\n complexity S β†’ /code-review\\n complexity M β†’ /Dev-edge-case β†’ /code-review\\n\\n');}}catch(e){}});\"" } ] } ] } }