Skip to content

ReleasedDec 2025

Git Interviewer

A pre-commit hook that interviews you about your code before letting you commit.

Git Interviewer screenshot

01The problem

Most developers commit too quickly, without thinking about design decisions, intent or tradeoffs. Git Interviewer turns every commit into a lightweight technical interview, like having a senior engineer inside your terminal.

02What I built

Pick who's grilling you:

  1. 01

    Nice

    Supportive engineer who wants clarity and understanding.

  2. 02

    Grumpy

    Tired senior dev who has seen too much. Very picky.

  3. 03

    Systems

    Asks about architecture, scaling, risk and tradeoffs.

  4. 04

    Founder

    Focuses on product impact and iteration speed.

03Architecture

Written in Python and wired into Git hooks to intercept the commit. It analyzes the diff of staged files and uses an LLM to generate context-aware questions for the chosen persona.

It runs the interaction loop in the terminal and validates the answers before letting the commit proceed, or rejects it if the explanation is thin. Validating the thought process before code lands means better engineering discipline across a team.

04Challenges & lessons

Built during a snow delay

I got to the airport comically early for a winter-break flight, then it was delayed by heavy snow in Boston. I had time to kill.

Shipping a CLI is easier than it looks

I came out with a much deeper understanding of git and git workflows, and did a lot of reflecting on my own habits. Packaging it for others on PyPI was surprisingly easy. I plan to make it a lot better, and a lot more annoying to use.