Умные проверки перед push в Git

★ 7.5 · devops

distilly-pre-push-checks is a Claude Code skill that runs the smallest possible set of checks before pushing or opening a PR on the distilly branch, targeting only what the outgoing diff can break. It first inspects branch state with `git status` and `git diff --stat origin/dot-skill...HEAD`, then selects checks based on what was touched: changes to `.agents/notes/` or docs trigger `verify_agent_notes.py`; edits to `tools/` or `scripts/` run `compileall` plus the owning unittest file; test-only changes run just that test file. The full unittest suite is intentionally skipped by default — the CI matrix on distilly and dot-skill owns that responsibility. Hooks are never bypassed unless the user explicitly requests it, and force-pushing to dot-skill or main is prohibited.