What problem does it solve?
Pushing code that fails the full CI matrix on deterministic issues like formatting, lint errors, broken lockfiles, OpenAPI drift, or migration conflicts wastes expensive CI runs. This Skill runs hogli ci:preflight to catch those failures locally before pushing.
Core Features & Use Cases
- Scoped pre-push checks: Maps checks to the files your branch touched, covering formatting, lint, lockfiles, OpenAPI drift, migration conflicts, and branch staleness.
- Auto-fix loop:
--fix formats, lints, and auto-fixes what is safe, then reports pass/fail/warning/advisory per check.
- Branch freshness detection: Uses
git merge-tree to detect textual merge conflicts, dual-side migration additions, and stale branches without touching the working tree.
- Use Case: Before reporting a task done or when the pre-push hook blocks your push, run the preflight loop to resolve every failure and advisory, then push a clean branch.
Quick Start
Run hogli ci:preflight --fix and resolve every reported failure and advisory before pushing my branch.