Skip to content
Back to skills

Gitlab Ci Docs

ASecurity

Use when working with GitLab CI/CD docs: .gitlab-ci.yml syntax, jobs, stages, rules, workflow, include, inputs, components, variables, secrets, runners, executors, pipelines, artifacts, cache, environments, deployments, Docker, services, test reports, and pipeline troubleshooting.

  • 10 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
devopsbashexpressdockerkubernetestestingdebugginggitapici/cdsecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add wenerme/ai --skill gitlab-ci-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gitlab Ci Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gitlab Ci Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenerme-gitlab-ci-docs/badge)](https://www.skillsdirectory.com/skills/wenerme-gitlab-ci-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gitlab-ci-docs
description: "Use when working with GitLab CI/CD docs: .gitlab-ci.yml syntax, jobs, stages, rules, workflow, include, inputs, components, variables, secrets, runners, executors, pipelines, artifacts, cache, environments, deployments, Docker, services, test reports, and pipeline troubleshooting."
---

# GitLab CI/CD Docs

Official GitLab CI/CD documentation synced from [`gitlab-org/gitlab/doc/ci`](https://gitlab.com/gitlab-org/gitlab/-/tree/master/doc/ci).

Use this skill for GitLab CI/CD pipeline configuration and behavior. For project/group user workflows use `gitlab-user-docs`; for REST/GraphQL API endpoints use `gitlab-api-docs`; for self-managed instance administration use `gitlab-admin-docs`; for `glab` CLI commands use `glab-docs` / `glab-cli`.

## Scope

References are Markdown files under `references/`:

- `references/_index.md` — GitLab CI/CD overview and getting started.
- `references/yaml/` — `.gitlab-ci.yml` keyword reference, `rules`, `workflow`, `include`, `needs`, `parallel`, matrix, inputs, expressions.
- `references/pipelines/`, `references/jobs/` — pipeline types, DAGs, scheduled/triggered pipelines, job control, job logs, job artifacts.
- `references/runners/` — GitLab Runner usage from GitLab docs, runner creation/registration, hosted runners, runner scopes.
- `references/variables/`, `references/secrets/` — CI/CD variables, masked/protected variables, external secrets, ID tokens.
- `references/components/`, `references/inputs/`, `references/templates/` — reusable CI/CD components, pipeline inputs, templates.
- `references/docker/`, `references/services/`, `references/cloud_deployment/`, `references/environments/` — containerized jobs, service containers, deployments and environments.
- `references/testing/`, `references/caching/`, `references/pipeline_security/`, `references/debugging.md` — test reports, cache, security and troubleshooting.

## Hard Rules

- MUST search `references/` before answering specific GitLab CI/CD behavior or YAML syntax questions.
- MUST check exact keyword docs before giving `.gitlab-ci.yml` syntax, defaults, merge behavior, or version constraints.
- MUST distinguish project/group/instance variables, protected/masked/hidden variables, and file variables when docs require it.
- MUST distinguish GitLab Runner configuration from GitLab CI YAML. If the answer depends on runner internals not covered here, say so.
- NEVER invent predefined variables, YAML keywords, `rules` behavior, or pipeline source names without checking references.

## Fast Lookup

```bash
rg -n "^#|rules:|workflow:|include:|needs:|parallel:|matrix|inputs|extends|default:|spec:" skills/gitlab-ci-docs/references/yaml skills/gitlab-ci-docs/references/inputs
rg -n "predefined variable|CI_PIPELINE_SOURCE|CI_COMMIT|masked|protected|hidden|file variable|dotenv" skills/gitlab-ci-docs/references/variables skills/gitlab-ci-docs/references
rg -n "runner|executor|register|tag|hosted runner|instance runner|group runner|project runner" skills/gitlab-ci-docs/references/runners skills/gitlab-ci-docs/references
rg -n "artifact|cache|dependency|needs|DAG|child pipeline|multi-project|schedule|trigger" skills/gitlab-ci-docs/references
rg -n "Docker|service|image:|services:|Kubernetes|environment|deployment|review app" skills/gitlab-ci-docs/references/docker skills/gitlab-ci-docs/references/services skills/gitlab-ci-docs/references/environments
rg -n "Tier:|Offering:|Status:|Introduced|Deprecated|Removed" skills/gitlab-ci-docs/references
```

## Workflow

1. Identify whether the question is YAML syntax, pipeline behavior, runner usage, variables/secrets, artifacts/cache, deployments, testing, or troubleshooting.
2. Search the narrow subtree first, then broader CI docs for history/tier/offering constraints.
3. Quote exact keyword names, variable names, and examples from the docs.
4. If the question requires REST/GraphQL operations or self-managed admin settings, switch to `gitlab-api-docs` or `gitlab-admin-docs`.

Files in this skill

  • SKILL.md3.9 KB
  • references/_index.md5.6 KB
  • references/caching/_index.md19.7 KB
  • references/caching/examples.md9.8 KB
  • references/chatops/_index.md4.3 KB
  • references/ci_cd_for_external_repos/_index.md4.5 KB
  • references/ci_cd_for_external_repos/bitbucket_integration.md5.6 KB
  • references/ci_cd_for_external_repos/external_commit_statuses.md3.3 KB
  • references/ci_cd_for_external_repos/github_integration.md3.8 KB
  • references/cloud_deployment/_index.md10.6 KB
  • references/cloud_deployment/ecs/deploy_to_aws_ecs.md12.4 KB
  • references/cloud_deployment/heroku.md992 B
  • references/cloud_services/_index.md8.7 KB
  • references/cloud_services/aws/_index.md16 KB
  • references/cloud_services/azure/_index.md10.4 KB
  • references/cloud_services/google_cloud/_index.md9.9 KB
  • references/components/_index.md43.2 KB
  • references/components/examples.md16.5 KB
  • references/debugging.md25.5 KB
  • references/docker/_index.md747 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.