aj-geddes avatar

Gitlab Cicd Pipeline

Builds out complete GitLab CI/CD pipelines with proper stage organization, caching strategies, and Docker integration. You'd reach for this when setting up automated builds, tests, and deployments in GitLab repos, especially if you're dealing with Kubernetes targets or review apps. The reference guides cover the full spectrum from basic pipeline configs to multi-project setups and Docker layer caching optimization. The best practices section is solid on the technical details, like using needs for job dependencies and setting expire_in on artifacts to avoid storage bloat. Good foundation if you're moving beyond simple build scripts and need production-grade pipeline patterns.

skills.sh installs
669
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill gitlab-cicd-pipeline --agent claude-code

Installs into .claude/skills of the current project.

Files

GitLab CI/CD Pipeline

Table of Contents

Overview

Create comprehensive GitLab CI/CD pipelines that automate building, testing, and deployment using GitLab Runner infrastructure and container execution.

When to Use

  • GitLab repository CI/CD setup
  • Multi-stage build pipelines
  • Docker registry integration
  • Kubernetes deployment
  • Review app deployment
  • Cache optimization
  • Dependency management

Quick Start

Minimal working example:

# .gitlab-ci.yml
image: node:18-alpine

variables:
  DOCKER_DRIVER: overlay2
  FF_USE_FASTZIP: "true"

stages:
  - lint
  - test
  - build
  - security
  - deploy-review
  - deploy-prod

cache:
  key: ${CI_COMMIT_REF_SLUG}
  paths:
    - node_modules/
    - .npm/

lint:
  stage: lint
  script:
    - npm install
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
DevOps & CI/CD, Git & Pull Requests, AI & Agent Building, Automation & Workflows, Sales & Marketing, Design & UI/UX
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1kubesphere avatarkubesphere-devops-pipelinekubesphere/kubesphereThis handles CI/CD pipeline operations in KubeSphere's DevOps platform, which wraps Jenkins with Kubernetes custom resources.0skills.sh installs
2elastic avatarobservability-k8s-investigationelastic/agent-skillsInvestigate Kubernetes workload, node, and control-plane issues using OTel telemetry (EDOT). Use when diagnosing pod failures (CrashLoopBackOff, OOMKilled, Erro3.3Kskills.sh installs
3aj-geddes avatarjenkins-pipelineaj-geddes/useful-ai-promptsBuild Jenkins declarative and scripted pipelines with stages, agents, parameters, and plugins. Implement multi-branch pipelines and deployment automation.2.2Kskills.sh installs
4alirezarezvani avatarci-cd-pipeline-builderalirezarezvani/claude-skillsGenerate pragmatic CI/CD pipelines from detected project stack signals — fast baseline generation, repeatable checks, environment-aware deployment stages. Use w702skills.sh installs
5manutej avatarci-cd-pipeline-patternsmanutej/luxor-claude-marketplaceComprehensive CI/CD pipeline patterns skill covering GitHub Actions, workflows, automation, testing, deployment strategies, and release management for modern so538skills.sh installs
6manutej avatarobservability-monitoringmanutej/luxor-claude-marketplaceComprehensive observability and monitoring skill covering Prometheus, Grafana, metrics collection, alerting, exporters, PromQL, and production monitoring patter456skills.sh installs