gitlab-ci-patterns
Build GitLab CI/CD pipelines with multi-stage workflows, caching, and distributed runners for scalable automation.
Skill by filippolmt
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/filippolmt-gitlab-ci-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, devops, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gitlab-ci-patterns
What's inside
- Skill name
gitlab-ci-patterns- Description
- Build GitLab CI/CD pipelines with multi-stage workflows, caching, and distributed runners for scalable automation. Use when implementing GitLab CI/CD, optimizing pipeline performance, or setting up automated testing and deployment.
- License
- MIT
- Instructions
- 269 lines in SKILL.md · view on GitHub
Files (3)
- LICENSE
- SKILL.md
- SOURCE.md
SKILL.md (first lines)
# GitLab CI Patterns
Comprehensive GitLab CI/CD pipeline patterns for automated testing, building, and deployment.
## Purpose
Create efficient GitLab CI pipelines with proper stage organization, caching, and deployment strategies.
## When to Use
- Automate GitLab-based CI/CD
- Implement multi-stage pipelines
- Configure GitLab Runners
- Deploy to Kubernetes from GitLab
- Implement GitOps workflows
## Basic Pipeline Structure
```yaml
stages:
- build
- test
- deploy
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "/certs"
build:
stage: build
image: node:20
script:
- npm ci
- npm run build
artifacts:
paths:
- dist/
expire_in: 1 hour
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
test:
stage: test
image: node:20
script:
- npm ci
- npm run lint
- npm test
coverage: '/Lines\s*:\s*(\d+\.\d+)%/'
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: coverage/cobertura-coverage.xml
deploy:
stage: deploy
image: bitnami/kubectl:1.31
script:
- kubectl apply -f k8s/
- kubectl rollout status deployment/my-app
only:
- main
environment:
name: production
url: https://app.example.com
```
## Docker Build and Push
```yaml
build-docker:
stage: build
image: docker:24
services:
- docker:24-dind
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA .
- docker build -t $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- docker push $CI_REGISTRY_IMAGE:latest
only:
- main
- tags
```
## Multi-Environment Deployment
Set `KUBE_CA_CERT_FILE` as a GitLab file variable containing the cluster CA certificate,
and provide `KUBE_TOKEN` through a protected, masked CI variable. The file variable
contains a path that kubectl uses to verify the API server certificate. Protect both
`develop` and `main` so the deployment jobs can read the protected token.
```yaml
.deploy_template: &deploy_template
image: bitnami/kubectl:1.31
before_script:
- kubectl config set-cluster k8s --server="$KUBE_URL" --certificate-authority="$KUBE_CA_CERT_FILE" --embed-certs=true
- kubectl config set-credentials admin --token="$KUBE_TOKEN"
- kubectl config set-context default --cluster=k8s --user=admin
- kubectl config use-context default
deploy:staging:
<<: *deploy_template
stage: deploy
script:
- kubectl apply -f k8s/ -n staging
- kubectl rollout status deployment/my-app -n staging
environment:
name: staging
url: https://staging.example.com
only:
- develop
deploy:production:From filippolmt/skills, MIT.
More from filippolmt/skills
- 0.592score
deployment-pipeline-design
filippolmt
Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
cicd-automation-terraform-specialist
filippolmt
Expert Terraform/OpenTofu specialist mastering advanced IaC automation, state management, and enterprise infrastructure patterns.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
secrets-management
filippolmt
Implement secure secrets management for CI/CD pipelines using Vault, AWS Secrets Manager, or native platform solutions.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
api-scaffolding-backend-architect
filippolmt
Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
cicd-automation-deployment-engineer
filippolmt
Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
cicd-automation-kubernetes-architect
filippolmt
Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
cicd-automation-cloud-architect
filippolmt
Expert cloud architect specializing in AWS/Azure/GCP/OCI multi-cloud infrastructure design, advanced IaC (Terraform/OpenTofu/CDK), FinOps cost optimization…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
cicd-automation-devops-troubleshooter
filippolmt
Expert DevOps troubleshooter specializing in rapid incident response, advanced debugging, and modern observability.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
github-actions-templates
filippolmt
Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
api-scaffolding-graphql-architect
filippolmt
Master modern GraphQL with federation, performance optimization, and enterprise security.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
api-scaffolding-fastapi-pro
filippolmt
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
api-scaffolding-django-pro
filippolmt
Master Django 5.x with async views, DRF, Celery, and Django Channels.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 4
- Last commit (this folder)
- Oct 18, 2026 (10 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/filippolmt/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from filippolmt
- 0.592score
deployment-pipeline-design
filippolmt
Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
secrets-management
filippolmt
Implement secure secrets management for CI/CD pipelines using Vault, AWS Secrets Manager, or native platform solutions.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
cicd-automation-cloud-architect
filippolmt
Expert cloud architect specializing in AWS/Azure/GCP/OCI multi-cloud infrastructure design, advanced IaC (Terraform/OpenTofu/CDK), FinOps cost optimization…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
cicd-automation-devops-troubleshooter
filippolmt
Expert DevOps troubleshooter specializing in rapid incident response, advanced debugging, and modern observability.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
github-actions-templates
filippolmt
Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
api-scaffolding-backend-architect
filippolmt
Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
gitlab-ci-patterns skill. Agent Mart. https://agentmart.dev/skills/filippolmt-gitlab-ci-patterns (last updated 2026-10-24)