validating-ci-pipelines-locally
Installation
SKILL.md
Validating CI Pipelines Locally
This skill is the single source of truth for reproducing a GitLab (or GitHub Actions) pipeline locally. The goal is to catch pipeline failures before pushing to the remote — using the same Docker image, the same env vars, and the same service containers as the real runner.
Goal: Run every job from
.gitlab-ci.yml(or.github/workflows/*.yml) on the local machine with results that mirror what the remote runner would produce.
When to Use This Skill
| Caller | Phase | Trigger |
|---|---|---|
/lt-dev:production-ready |
Phase 7 | Hard release gate — must pass before sign-off |
lt-dev:production-readiness-orchestrator |
Phase 7 | Owns the per-job execution + retry loop |
| Manual user invocation | Pre-push | Reproducing a CI failure locally without the round-trip |
Step 1 — Detect the pipeline format
The repo may use GitLab, GitHub Actions, or both. Detect first: