FREE HOOKS BUILDER

Valid hooks.json without hand-writing JSON

Pick event + command. Download. Drop into .cursor/hooks.json.

Builder
hooks.json
{
  "version": 1,
  "hooks": {
    "afterFileEdit": [
      {
        "matcher": "*.{ts,tsx}",
        "command": "npx prettier --write $FILE"
      }
    ]
  }
}

[ RUNS IN YOUR BROWSER • DROP A FILE OR TAP GENERATE • NO SIGNUP ]

Go further

Liked the free tool? Get the kits.

Engineering, Marketing, or Both: agents, skills, and slash commands you drop into any Cursor project.