gitlab-babysit-mr
Installation
SKILL.md
gitlab-babysit-mr
Nurse a GitLab MR's pipeline to green by classifying failures, retrying flaky/broken jobs, making light-touch auto-fixes, and posting structured reports inside a resolved discussion thread on the MR.
Dependencies
- Bundled scripts —
scripts/directory (pipeline_status.sh, job_log_tail.sh, search_known_issues.sh) - gitlab-pipeline-watch skill — provides
pipeline-watch.pyfor blocking pipeline polling
Main Loop (max 5 action rounds)
The loop caps action rounds (classify + retry/fix), NOT status checks. The babysitter waits as long as the pipeline needs — it only counts a round when it takes action on failures.
Phase 0: Resolve MR URL → PROJECT_PATH, MR_IID, PROJECT_ENCODED