What problem does it solve?
This Skill enforces a safe, repeatable workflow to fix GitHub CI failures and prevent accidental commits of temporary or sensitive files, reducing broken builds and failing pull requests.
Core Features & Use Cases
- Pre-push cleanup: Move root-level session markdown and ad-hoc test scripts out of the repository to avoid accidental commits.
- Pre-commit and lint/test orchestration: Install and activate pre-commit hooks, run ruff formatting and checks, and execute pytest locally to reproduce CI failures.
- Git hygiene and push workflow: Stage specific files, rebase onto the latest main, resolve conflicts, and push safely using force-with-lease when appropriate.
- Use Case: A developer receives failing CI on a PR, reproduces the failure locally, applies the pattern-based fixes (e.g., return_message=True, mock fixes, lint fixes), and pushes a clean rebased commit.
Quick Start
Install and activate pre-commit, run the test suite locally to identify failures, move any root temp files into temp_docs_and_tests/, stage only the files you intend to change, rebase onto origin/main, and push with --force-with-lease.