I was tired of Cursor breaking my project rules, so I built an AI pre-commit hook to auto-patch staged code

Cursor generated code is fast, but I noticed it constantly drifts from my `AGENTS.md` and `CONTRIBUTING.md` rules when working on larger features.
I built a completely headless pre-commit hook directly into the VS Code Source Control panel to fix this.

It runs in the background when you stage files, reads your local markdown rules, evaluates your diffs, and seamlessly auto-patches the files to enforce your logic using DeepSeek/Claude before a bad commit can happen.

I just open-sourced it. Here is a video of it dynamically patching a component based on a markdown rule:

demo