Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

gitlab-ci-patterns

Skill by Aletheore

Provides GitLab CI/CD pipeline patterns for testing, building, and deploying. It covers stages, caching, Docker builds, Kubernetes and Terraform pipelines. Aimed at developers setting up or tuning GitLab pipelines.

  • Score 77
  • 772 stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gitlab-ci-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Aletheore/Aletheore /tmp/Aletheore && mkdir -p ~/.claude/skills && cp -r /tmp/Aletheore/src/aletheore/skills/devops/gitlab-ci-patterns ~/.claude/skills/gitlab-ci-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gitlab-ci-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

GitLab CI Patterns is a skill that gives an AI assistant reference pipeline configurations for GitLab CI/CD. The source includes YAML examples for a basic build, test and deploy pipeline, Docker build and push to the GitLab container registry, and multi-environment deployment to Kubernetes with a manual production job. It also covers a Terraform validate, plan and apply pipeline, security scanning templates, caching strategies, and dynamic child pipelines.

The examples use specific image tags, job artifacts, environments, and protected, masked CI variables for Kubernetes credentials. The skill is aimed at developers and DevOps engineers who want to create or optimize GitLab pipelines for automated testing and deployment. It is licensed under MIT and comes from the wshobson/agents repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Basic pipeline structureDefines build, test and deploy stages with artifacts, caching and coverage reporting.
  • Docker build and pushBuilds and pushes images to the GitLab container registry using commit SHA and latest tags.
  • Multi-environment deploymentDeploys to staging and production Kubernetes namespaces, with production set to manual.
  • Terraform pipelineRuns Terraform validate, plan and apply stages with a saved plan artifact.
  • Security scanningIncludes GitLab SAST, dependency and container scanning templates plus a Trivy image scan.
  • Caching strategiesShows global, per-branch and per-job cache configurations for dependencies and build outputs.
  • Dynamic child pipelinesGenerates a pipeline file in one job and triggers it as a child pipeline.
  • Best practices checklistLists ten practices such as pinned image tags, manual production gates and monitoring pipeline performance.

What you need

  • GitLab CI/CD
  • Docker for the image build examples
  • A Kubernetes cluster for the deployment examples
  • Terraform for the Terraform pipeline example

Try asking

  • Write a GitLab CI pipeline that builds, tests and deploys a Node.js app
  • Add Docker build and push steps to my .gitlab-ci.yml
  • Set up a manual production deploy to Kubernetes with staging first

Good to know

  • Example URLs such as app.example.com and staging.example.com are placeholders.
  • Deployment jobs need both develop and main to be protected branches.
  • The examples are reference patterns and are not tied to a specific project.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: src/aletheore/skills/devops/gitlab-ci-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to gitlab-ci-patterns

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

gitlab-ci-patterns: common questions

Does this skill need a Kubernetes cluster?

The deployment examples use kubectl with KUBE_URL, KUBE_CA_CERT_FILE and KUBE_TOKEN, so the deploy jobs need a target cluster.

How does the skill handle secrets?

It recommends CI/CD variables for secrets and says the Kubernetes token should be a protected, masked CI variable.

Which Terraform version does the example use?

The Terraform example sets TF_VERSION to 1.6.0 and uses the hashicorp/terraform image with that tag.

How do I install gitlab-ci-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is gitlab-ci-patterns free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is gitlab-ci-patterns safe to use?

It scores 77 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to gitlab-ci-patterns?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

gitlab-ci-patterns Install

Add to stack

Loading.