~/talk

Commit like a Pirate

Talkat ConFoo 2025 · 2025-02-26..02-28· [developer-experience]
slides:none on file

A tool called Captain Hook ships as a PHP and native Go binary, installs local git hook scripts (users must opt in), and enforces Chris Beams commit rules via a built-in message must follow Beams rules validator. Configuration is a JSON file with placeholders for staged files, per-hook action lists, and overridable local settings. It adds virtual hooks like post-change, supports Go async parallel runs, and is used to run pre-push unit tests — annoying to teammates but effective at catching regressions.

AI-written summary · about

  1. 0:00Introduction to GitHooks
  2. 3:08Commit message rules explained
  3. 7:46GitHooks setup challenges
  4. 11:41Introducing Captain Hook
  5. 18:49Virtual hooks and conditions
  6. 23:03Installing Captain Hook
  7. 26:38Placeholders and best practices
  8. 31:03Configuration overrides
  9. 33:12Advanced use cases and examples
  10. 35:04Pre-push hook benefits
  11. 40:00Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.