What problem does it solve? Existing codebases lack documentation explaining why architectural choices were made, leaving new developers and AI coding agents blind to past decisions. This Skill retroactively reconstructs that context by mining git history and producing MADR-format Architectural Decision Records plus inline code annotations. ## Core Features & Use Cases - Git History Analysis: Detects merge, squash, or rebase workflows, chunks commits into logical decision units, and clusters related changes across PR boundaries. - Deterministic Classification: Scores candidates using diff signals (new files, dependency changes, schema changes) to filter architectural decisions from bug fixes and noise, with a separate record type for workarounds (HACK/shim/polyfill patterns). - Hallucination Guardrails: Requires inline evidence citations for every Considered Option, verified deterministically against git by judge.py, plus syntax checks on all tagged files. - Use Case: Point it at a three-year-old repo and receive docs/decisions/0001-*.md files with linked commits, plus @ADR tags on the affected functions so any agent can grep for decision context. ## Quick Start Ask the agent to run the adr-generator skill on this repository in assisted mode, scoped to a module like src/payments since a specific tag.