Setup Verify Hooks

Installs Cursor stop/afterFileEdit verify hooks (format, lint, typecheck) from this skill's scripts/ template. Use when the user asks to add verify hooks or auto-verify on agent stop.

Spencer1O1 Updated

File contents

Setup verify hooks

Copy from scripts/ next to this SKILL.md:

File
hooks.json .cursor/hooks.json (merge if present)
after_file_edit.py / verify_stop.py / verify_lib.py .cursor/hooks/
verify.config.json .cursor/hooks/verify.config.json

Wire verify.config.json to this repo’s real format/lint/typecheck commands and path buckets. chmod +x on Unix. Confirm Hooks UI loads them. Smoke commands resolve — skip a full typecheck storm unless asked.

Behavior: edit → format + dirty flags; stop → checks + follow-up on failure.

Spencer1O1/cursor-skills/tree/main/setup-verify-hooks commit 6d2e65d127

Frequently asked questions

npx skillmds@latest add spencer1o1/setup-verify-hooks