CtrlK
BlogDocsLog inGet started
Tessl Logo

gitlab-ci-patterns

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.

90

1.18x
Quality

82%

Does it follow best practices?

Impact

94%

1.18x

Average score across 6 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Evaluation results

100%

35%

Node.js Application CI/CD Pipeline

Node.js CI with Docker build and coverage

Criteria
Without context
With context

Pinned image tags

100%

100%

DOCKER_DRIVER variable

0%

100%

DOCKER_TLS_CERTDIR variable

50%

100%

npm ci usage

100%

100%

CI_COMMIT_REF_SLUG cache key

0%

100%

Artifacts expire_in set

100%

100%

Coverage regex

60%

100%

Cobertura coverage report

100%

100%

docker:24-dind service

100%

100%

Dual image tags

100%

100%

Cache pull-push policy

0%

100%

Pipeline stages defined

100%

100%

84%

-6%

Multi-Environment Kubernetes Deployment Pipeline

Multi-environment Kubernetes deployment pipeline

Criteria
Without context
With context

YAML anchor for template

100%

100%

bitnami/kubectl image

100%

100%

kubectl rollout status

100%

100%

Production manual gate

100%

100%

Staging environment block

100%

0%

Production environment block

100%

0%

Staging branch restriction

100%

100%

Production branch restriction

0%

100%

kubectl credential setup

100%

100%

Pinned non-kubectl image tags

100%

100%

100%

49%

Infrastructure Pipeline with Terraform and Container Security Scanning

Terraform pipeline with security scanning

Criteria
Without context
With context

SAST template included

0%

100%

Dependency-Scanning template

0%

100%

Container-Scanning template

100%

100%

trivy --exit-code 1

0%

100%

trivy HIGH,CRITICAL severity

0%

100%

aquasec/trivy image

0%

100%

allow_failure on scan job

0%

100%

Terraform stage order

100%

100%

TF_VERSION variable

100%

100%

hashicorp/terraform image

100%

100%

tfplan artifact saved

100%

100%

apply dependencies on plan

100%

100%

terraform fmt -check

0%

100%

TF_ROOT + before_script cd

100%

100%

85%

-5%

Monorepo Dynamic Pipeline Configuration

Dynamic child pipeline generation

Criteria
Without context
With context

Generator job artifact

100%

100%

Trigger artifact reference

100%

100%

strategy: depend

100%

100%

Pinned image tags

100%

50%

Artifact expire_in

0%

0%

Stages defined

100%

100%

Generator job stage

100%

100%

Python script invoked

100%

100%

100%

20%

Full-Stack Project CI Optimization

Per-job cache keys and merge request pipelines

Criteria
Without context
With context

Distinct per-job cache keys

100%

100%

Job-specific cache paths

100%

100%

Global cache with CI_COMMIT_REF_SLUG

0%

100%

Cache pull-push policy

100%

100%

Merge request pipeline support

100%

100%

Pinned image tags

100%

100%

Frontend and backend stages

100%

100%

Artifacts expire_in

0%

100%

Cache design documented

100%

100%

100%

Data Integrity Service CI Pipeline

Pipeline schedules and CI/CD variables for secrets

Criteria
Without context
With context

Schedule-only job rule

100%

100%

No hardcoded credentials

100%

100%

CI/CD variable references for secrets

100%

100%

Merge request pipeline support

100%

100%

Unit tests run on normal pushes

100%

100%

Pinned image tags

100%

100%

Stages defined

100%

100%

pipeline-notes.md documents secrets

100%

100%

Repository
wshobson/agents
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.