hk — Git Hook Manager hk by jdx runs linters and formatters as git hooks with built-in parallelism , file locking (no race conditions), and staged-file-only operation (no separate lint-staged needed). Config is in Pkl — Apple's typed configuration language. Mental Model Every hk setup is three steps: detect what the project has → compose steps from tiers → wire the hooks in. Setup Workflow 1. Detect Identify: Language(s) and framework Package manager (pnpm/bun/npm/yarn for JS, cargo, go, pip, etc.) Formatter already configured (prettier, biome, ruff, gofmt…) Linter already configured (eslint,…