PreToolUse
01Hook
Runs before the agent uses a tool for tool == "Bash" && tool_input.command matches "(npm run dev, pnpm( run)? dev, yarn dev, bun run dev)", tool == "Bash" && tool_input.command matches "git push", tool == "Bash" && tool_input.command matches "(npm, pnpm, yarn, bun) (install and add)" tool calls, running an inline…