Explanations

Background and design rationale for ai-prepare-commit-msg. These articles answer why the tool works the way it does. For step-by-step instructions, see How-to guides.

Article Covers
How the hook works Git lifecycle integration, LiteLLM abstraction, and prompt strategy
Headroom prompt compression Compression behavior, token-savings metrics, and request limits
Large diff summarization chain Map-reduce summarization, chunk planning, file anchoring, and token budget strategies

Table of contents


This site uses Just the Docs, a documentation theme for Jekyll.