evilmartians/lefthook ? reverse-engineered prompt

Reverse engineered prompt

Build me a fast Git hooks manager that I can drop into almost any project, like Node, Ruby, Python, or Go.

I want to define hooks in a simple config file, then install them once and have them run automatically on git events like pre commit, pre push, and commit msg. It should support running multiple commands in parallel, only on matching files, and let me control which files each command sees. I also want easy ways to run hooks directly from the command line, plus an option for local overrides so different people on the team can skip or change certain checks.

Make it feel lightweight and dependable, with a single binary I can install easily and use in different environments. If you need to, look up current docs online for any details that help, but keep the result focused on a smooth developer experience and simple setup.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab