Provides templates and best practices for structuring, optimizing, and securing CI/CD pipelines in GitHub Actions.
Install
mkdir -p .claude/skills/ci-cd-pipelines && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17727" && unzip -o skill.zip -d .claude/skills/ci-cd-pipelines && rm skill.zipInstalls to .claude/skills/ci-cd-pipelines
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
When designing GitHub Actions workflows, optimizing pipeline speed, implementing deployment gates.Key capabilities
- →Design GitHub Actions workflows for CI/CD
- →Optimize pipeline speed using caching and parallelization
- →Implement security scanning in CI pipelines
- →Configure deployment gates for staging and production environments
- →Utilize Docker layer caching for faster builds
- →Set up matrix builds for multi-version testing
How it works
It defines structured GitHub Actions workflows for CI (lint, test, build, security scan) and CD (deploy to staging, deploy to production with approval), incorporating optimization techniques.
Inputs & outputs
When to use ci-cd-pipelines
- →Optimizing pipeline speed
- →Setting up deployment approval gates
- →Configuring CI workflow templates
- →Adding security scanning
About this skill
Skill: CI/CD Pipeline Patterns
When to load
When designing GitHub Actions workflows, optimizing pipeline speed, implementing deployment gates.
Pipeline Structure
.github/workflows/
├── ci.yml # Every PR: lint, test, build, security scan
├── deploy-stg.yml # Merge to main: deploy to staging
└── deploy-prd.yml # Release tag: deploy to production (with approval)
CI Template
jobs:
validate:
steps:
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run lint && npm run typecheck && npm test -- --coverage
terraform-validate:
steps:
- uses: hashicorp/setup-terraform@v3
- run: terraform init -backend=false && terraform validate && terraform fmt -check -recursive
working-directory: terraform/
security:
steps:
- uses: aquasecurity/trivy-action@master
with: { scan-type: fs, severity: HIGH,CRITICAL, exit-code: 1 }
Deployment Gate
jobs:
deploy:
environment: production # Requires reviewer approval in GitHub Environments
steps:
- run: kubectl set image deployment/api api=$IMAGE
- run: npm run test:smoke -- --env production
Pipeline Optimization Checklist
- Dependencies cached with hash-based keys
- Independent jobs parallelized (lint + test + security)
- Docker layer caching enabled
- Matrix builds for multi-version testing
- Concurrency groups prevent redundant runs on same branch
Limitations
- →Requires GitHub Actions as the CI/CD platform
- →Deployment gates rely on GitHub Environments for reviewer approval
How it compares
This skill provides specific GitHub Actions YAML templates and optimization strategies, unlike a generic CI/CD setup that might lack caching, parallelization, or explicit deployment gates.
Compared to similar skills
ci-cd-pipelines side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| ci-cd-pipelines (this skill) | 0 | 4mo | No flags | Intermediate |
| deployment-pipeline-design | 6 | 2mo | Review | Advanced |
| cloudflare-deploy | 3 | 5mo | Review | Intermediate |
| deployment-engineer | 4 | 3mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
deployment-pipeline-design
wshobson
Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use when architecting deployment workflows, setting up continuous delivery, or implementing GitOps practices.
cloudflare-deploy
davila7
Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.
deployment-engineer
sickn33
Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization. Use PROACTIVELY for CI/CD design, GitOps implementation, or deployment automation.
managing-deployment-rollbacks
jeremylongshore
Deploy use when you need to work with deployment and CI/CD. This skill provides deployment automation and orchestration with comprehensive guidance and automation. Trigger with phrases like "deploy application", "create pipeline", or "automate deployment".
DevOps / CI-CD Engineer
dr-pabs
Automate build, validation, deployment, and release operations for the project.
deployment-patterns
DekaPrayoga
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications.