{
  "hooks": {
    "PreToolUse": [
      {
        "hooks": [
          {
            "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){}});\"",
            "type": "command"
          }
        ],
        "matcher": "Bash"
      }
    ]
  },
  "permissions": {
    "defaultMode": "bypassPermissions"
  }
}