Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Routes GitLab CI/CD questions, .gitlab-ci.yml authoring, review, optimization, and debugging to curated GitLab 18 pipeline guidance.
Use this skill ↓77% 82%+5 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 17 of 22 without it.
Our CI job script for database migrations is growing large. Please extract the inline multiline script from our GitLab CI stage into a standalone bash script. We want standard strict error settings enabled.
The bash script includes set -Eeuo pipefail.
3 of 3 safety checks passed
Curated GitLab CI/CD guidance, verified against GitLab 18.x. This file is a router. Select the task bundle first and read every required reference before acting. Then add topic references for the configuration under review. When a reference points to another file for a safety or correctness constraint, read that file too. Do not load unrelated files.
File names in this table live under references/.
| Task | Read before acting |
|---|---|
| Focused question or explanation | The matching topic owner from Routing, plus every safety or correctness reference it names |
| Create a complete pipeline | pipeline-structure.md, pipeline-selection.md, data-flow.md, execution-environment.md, bash-in-ci.md, security.md |
| Add or modify a job | pipeline-selection.md, then every topic owner from Routing that matches the changed keywords; read bash-in-ci.md when adding or changing commands |
| Full review or audit | pipeline-structure.md, pipeline-selection.md, data-flow.md, execution-environment.md, security.md, bash-in-ci.md, and the validation section in orchestration.md; add readability.md, informative-logging.md, developer-experience.md, and pipeline-ui.md when reviewing maintainability, diagnostics, or graph navigability |
| Pipeline or job missing | debugging.md, pipeline-selection.md, and the validation section in orchestration.md |
| Runner, image, service, or pre-script failure | debugging.md, execution-environment.md; add security.md for authentication, protected resources, or runner trust |
| Script failure | debugging.md, bash-in-ci.md; add data-flow.md for cache, artifact, report, or dependency-transfer failures |
| Optimize a pipeline | data-flow.md, execution-environment.md, orchestration.md, pipeline-selection.md |
| Pipeline graph or UI is too large | pipeline-ui.md, readability.md; add orchestration.md for child pipelines or matrices, pipeline-selection.md when reducing conditional topology, and data-flow.md before changing needs |
| Deploy or environment work | execution-environment.md, pipeline-selection.md, security.md |
| Components or includes | pipeline-structure.md, security.md, and the validation section in orchestration.md |
| Downstream, child, or matrix pipeline | orchestration.md, data-flow.md, pipeline-selection.md |
| Read | When the task involves |
|---|---|
references/pipeline-structure.md | Creating or restructuring .gitlab-ci.yml; refactoring an oversized pipeline file safely; splitting config with include; CI/CD components (include:component), authoring and consuming them; extends vs anchors vs !reference; default: and hidden .base jobs; spec:inputs; repo layout for CI files; config merge/override questions |
Next to this one in the catalogue, plus more from the same author.