From aj-geddes-useful-ai-prompts-4
Design and implement GitLab CI/CD pipelines with stages, jobs, artifacts, and caching. Configure runners, Docker integration, and deployment strategies.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:gitlab-cicd-pipelineThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Create comprehensive GitLab CI/CD pipelines that automate building, testing, and deployment using GitLab Runner infrastructure and container execution.
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)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Complete Pipeline Configuration | Complete Pipeline Configuration |
| GitLab Runner Configuration | GitLab Runner Configuration |
| Docker Layer Caching Optimization | Docker Layer Caching Optimization |
| Multi-Project Pipeline | Multi-Project Pipeline |
| Kubernetes Deployment | Kubernetes Deployment, Performance Testing Stage, Release Pipeline with Semantic Versioning |
only and exceptneeds: for job dependenciesexpire_inonly: [main] without proper controlsnpx claudepluginhub aj-geddes/useful-ai-promptsBuild GitLab CI/CD pipelines with multi-stage workflows, caching, and distributed runners. Covers Docker builds, multi-environment deployments, and GitOps patterns.
Build GitLab CI/CD pipelines with multi-stage workflows, Docker builds, Kubernetes deployments, and Terraform integration. Use when automating testing, building, and deployment in GitLab.
Provides GitLab CI/CD pipeline patterns for automated testing, building, and deployment, including multi-stage pipelines, Docker builds, and Kubernetes deployments.