GitLab CI/CD Pipelines
Build and maintain GitLab CI/CD pipelines with testing, coverage reporting, caching, snapshot builds, and automated releases. Scaffolds .gitlab-ci.yml stages, wires artifacts and caches, and sets up tag-driven release automation.
This skill authors and updates .gitlab-ci.yml pipelines: defining stages for lint/test/build, wiring coverage reports and artifacts, configuring job caching, producing snapshot builds, and automating releases on tags. Use it to bootstrap CI for a repo or harden an existing pipeline.
When to use
Use when writing or updating .gitlab-ci.yml — adding test and coverage stages, configuring caching and artifacts, or setting up automated snapshot and release builds.
Examples
Bootstrap a pipeline
Test + coverage + release
Create a .gitlab-ci.yml with lint, test-with-coverage, and build stages plus an automated release job triggered on version tags
Speed up builds
Add caching
My GitLab CI jobs rebuild dependencies every run — add cache and artifact configuration so the build stage reuses installed packages