Originally posted by @nathanjmcdougall in #1532 (comment)
Let's make an agent skill describing how to make bespoke prek hooks for custom checks.
We can write them as .py scripts in a hooks directory.
We should invoke them using uv run similar to some of the other system hooks.
They should never subprocess software, only use basically pure python. They should be performant.