gitlab-ci

Create and debug GitLab CI/CD pipeline configurations with stages, rules, and Docker jobs.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/bswrundquist/devtools --skill gitlab-ci-bswrundquist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitlab-ci
Source: https://github.com/bswrundquist/devtools/tree/main/src/devtools/templates/claude/user/.claude/skills/gitlab-ci
Command: npx skills add https://github.com/bswrundquist/devtools --skill gitlab-ci-bswrundquist

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you write, debug, and optimize your GitLab CI/CD pipelines, ensuring efficient and reliable automated workflows for your software development lifecycle.

Core Features & Use Cases

  • Pipeline Structure: Define stages, jobs, and their execution order.
  • Configuration: Manage variables, caching, artifacts, and environments.
  • Advanced Features: Implement rules, needs for DAGs, Docker integration, and reusable templates.
  • Use Case: You need to set up a CI/CD pipeline that lints your code, runs tests, builds a Docker image, and deploys to staging on every commit to the main branch, and to production only on tagged releases.

Quick Start

Use the gitlab-ci skill to generate a basic .gitlab-ci.yml file for a Python project with lint, test, build, and deploy stages.

Frequently Asked Questions about gitlab-ci

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitLab CI/CD pipeline for automated build, test, and deployment?

To create a GitLab CI/CD pipeline, you define a .gitlab-ci.yml file configuring stages, jobs, and execution rules to orchestrate automated workflows for software delivery. This structure enables reliable builds, tests, and deployments within your GitLab projects.

How do I set up GitLab CI rules and needs for directed acyclic graphs?

GitLab CI rules and needs keywords configure directed acyclic graphs by defining job execution conditions and dependencies. This allows jobs to run out of order based on specific triggers, optimizing pipeline speed and resource efficiency for complex workflows.

How does caching and artifacts work in GitLab CI pipelines?

GitLab CI caching stores dependencies between pipeline runs, while artifacts pass compiled build outputs between jobs. Defining these in your configuration ensures faster subsequent executions and seamless data transfer across different pipeline stages.

Can I use Docker-based jobs in GitLab CI for containerized testing and deployment?

Yes, GitLab CI supports Docker-based jobs to execute tasks within containerized environments. By configuring Docker integration in your pipeline, you standardize your build and test processes across isolated containers for consistent software delivery.

How do I configure GitLab CI to deploy to staging on commit and production on tags?

Configuring GitLab CI to deploy to staging on main branch commits and production on tagged releases requires defining specific rules and environments. This setup isolates deployment workflows based on Git triggers, ensuring stable automated releases.