External Publication
Visit Post

Agentic Gatekeeper: An autonomous pre-commit hook powered by OpenAI

OpenAI Developer Community February 22, 2026
Source
I wanted a way to automatically enforce complex project rules (like folder structures and business logic) that standard linters can’t catch. I built an extension that wires directly into the VS Code Source Control panel. You stage your files, hit the button, and it spins up an OpenAI agent in the background. It reads your local markdown rules, evaluates the staged diffs, and seamlessly auto-patches the files to enforce your logic. Check out the demo video below.

Discussion in the ATmosphere

Loading comments...