release-engineering
Skill4 starsChanged 12 months agoMITView on GitHub
Comprehensive guide for CI/CD pipelines, deployment strategies, versioning, artifact management, progressive delivery, and release automation. Enable teams to build robust, automated release pipelines that deliver software safely, quickly, and reliably from commit to production. Automatically activates when working on: - CI/CD pipeline configuration - Deployment automation - Release processes - Artifact management - Versioning strategies - Progressive delivery - Rollback procedures When implementing release engineering practices: Rolling Update:
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
When implementing release engineering practices:
- Distinctive: line 260
Run fastest tests first
- Distinctive: line 267
Never rebuild for different environments
- Distinctive: line 268
Use configuration management for environment differences
- Distinctive: line 279
Use rolling updates or blue-green
- Distinctive: line 290
Keep previous version running (blue-green)
- Distinctive: line 293
Test rollback procedures regularly
- Distinctive: line 354
Add automated rollback triggers
- Distinctive: line 362
Create Git tags automatically
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Release Engineering
Comprehensive guide for CI/CD pipelines, deployment strategies, versioning, artifact management, progressive delivery, and release automation.
Purpose
Enable teams to build robust, automated release pipelines that deliver software safely, quickly, and reliably from commit to production.
When to Use This Skill
Automatically activates when working on:
- CI/CD pipeline configuration
- Deployment automation
- Release processes
- Artifact management
- Versioning strategies
- Progressive delivery
- Rollback procedures
Quick Start Checklist
When implementing release engineering practices:
- Design CI/CD pipeline (build, test, deploy stages)
- Choose deployment strategy (blue-green, canary, rolling)
- Implement versioning scheme (semantic versioning, calendar versioning)
- Set up artifact repository (container registry, package registry)
- Configure automated testing gates
- Implement deployment safeguards (smoke tests, health checks)
- Define rollback procedures
- Set up deployment observability
- Document release process
- Establish release calendar/schedule
Core Concepts
CI/CD Pipeline Stages
┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐
│ Build │───▶│ Test │───▶│ Stage │───▶│ Deploy │
│ │ │ │ │ │ │ │
└──────────┘ └──────────┘ └──────────┘ └──────────┘
│ │ │ │
▼ ▼ ▼ ▼
Compile Unit Tests Integration Production
Package Lint UAT Testing Release
Scan Security Performance MonitorDeployment Strategies
Rolling Update:
Old: [V1] [V1] [V1] [V1] [V1] [V1]
[V2] [V1] [V1] [V1] [V1] [V1] ← Replace one at a time
[V2] [V2] [V1] [V1] [V1] [V1]
[V2] [V2] [V2] [V1] [V1] [V1]
[V2] [V2] [V2] [V2] [V1] [V1]
[V2] [V2] [V2] [V2] [V2] [V1]
New: [V2] [V2] [V2] [V2] [V2] [V2]Blue-Green:
Blue (V1): [V1] [V1] [V1] ← All traffic
Green (V2): [V2] [V2] [V2] ← Idle
Switch traffic:
Blue (V1): [V1] [V1] [V1] ← Idle (ready for rollback)
Green (V2): [V2] [V2] [V2] ← All trafficCanary:
V1: [V1] [V1] [V1] [V1] [V1] ← 100% traffic
V2: [V2] ← 10% traffic
Gradually increase:
V1: [V1] [V1] [V1] [V1] ← 80% traffic
V2: [V2] [V2] ← 20% traffic
...eventually:
V1: ← 0% traffic (removed)
V2: [V2] [V2] [V2] [V2] [V2] ← 100% trafficSemantic Versioning
MAJOR.MINOR.PATCH (e.g., 2.3.1)
MAJOR: Breaking changes (API incompatibility)
MINOR: New features (backward compatible)
PATCH: Bug fixes (backward compatible)
Examples:
1.0.0 → Initial release
1.1.0 → Added new feature
1.1.1 → Fixed bug
2.0.0 → Breaking API changeCommon Patterns
Pattern 1: GitHub Actions CI/CD Pipeline
name: CI/CD Pipeline
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Build
run: npm run build
- name: Build Docker image
run: docker build -t myapp:${{ github.sha }} .
- name: Scan image
uses: aquasecurity/trivy-action@master
with:
image-ref: myapp:${{ github.sha }}
severity: CRITICAL,HIGH
exit-code: 1
deploy-staging:
needs: build
if: github.ref == 'refs/heads/develop'
runs-on: ubuntu-latest
steps:
- name: Deploy to staging
run: |
kubectl set image deployment/myapp \
app=myapp:${{ github.sha }} \
--namespace=staging
deploy-production:
needs: build
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment: production
steps:
- name: Deploy to production
run: |
kubectl set image deployment/myapp \
app=myapp:${{ github.sha }} \
--namespace=production
- name: Verify deployment
run: |
kubectl rollout status deployment/myapp \
--namespace=productionPattern 2: Canary Deployment with Flagger
apiVersion: flagger.app/v1beta1
kind: Canary
metadata:
name: myapp
namespace: production
spec:
targetRef:
apiVersion: apps/v1
kind: Deployment
name: myapp
service:
port: 80
analysis:
interval: 1m
threshold: 5
maxWeight: 50
stepWeight: 10
metrics:
- name: request-success-rate
thresholdRange:
min: 99
interval: 1m
- name: request-duration
thresholdRange:
max: 500
interval: 1m
webhooks:
- name: load-test
url: http://flagger-loadtester/
metadata:
cmd: "hey -z 1m -q 10 -c 2 http://myapp-canary/"Pattern 3: Artifact Management
# Publish to registry
docker build -t ghcr.io/myorg/myapp:v1.2.3 .
docker push ghcr.io/myorg/myapp:v1.2.3
# Tag as latest
docker tag ghcr.io/myorg/myapp:v1.2.3 ghcr.io/myorg/myapp:latest
docker push ghcr.io/myorg/myapp:latest
# Promotion strategy
prod: ghcr.io/myorg/myapp:v1.2.3 # Immutable tag
stage: ghcr.io/myorg/myapp:latest # Latest validated build
dev: ghcr.io/myorg/myapp:develop # Latest development buildResource Files
For detailed guidance on specific topics, see:
Core CI/CD
- ci-cd-pipelines.md - Pipeline design, GitHub Actions, GitLab CI, Jenkins patterns
- build-optimization.md - Build caching, parallel builds, incremental builds
- pipeline-security.md - Securing CI/CD, secrets management, artifact signing
Deployment Strategies
- deployment-strategies.md - Blue-green, canary, rolling updates, recreate strategies
- progressive-delivery.md - Feature flags, traffic splitting, gradual rollout
- rollback-strategies.md - Automated rollback, manual rollback, database rollback
Artifacts & Versioning
- artifact-management.md - Container registries, package management, retention policies
- versioning-strategies.md - Semantic versioning, calendar versioning, Git-based versioning
- release-automation.md - Automated releases, changelog generation, release notes
Orchestration
- release-orchestration.md - Multi-service deployments, dependency management, coordination
Best Practices
CI/CD Pipelines
- Fast Feedback:
- Run fastest tests first
- Fail fast on errors
- Parallel execution where possible
- Target < 10 minute pipeline
- Immutable Artifacts:
- Build once, deploy many times
- Never rebuild for different environments
- Use configuration management for environment differences
- Automated Testing:
- Unit tests in CI
- Integration tests in staging
- Smoke tests in production
- Automated rollback on failure
Deployment
- Zero-Downtime:
- Use rolling updates or blue-green
- Health checks before routing traffic
- Graceful shutdown (SIGTERM handling)
- Observability:
- Monitor during deployment
- Automated health checks
- Track deployment metrics
- Alert on deployment failures
- Rollback Ready:
- Keep previous version running (blue-green)
- Automated rollback triggers
- Database migrations backward-compatible
- Test rollback procedures regularly
Release Management
- Version Control:
- Semantic versioning for APIs
- Tag releases in Git
- Maintain changelog
- Document breaking changes
- Release Notes:
- Automated generation from commits
- Highlight breaking changes
- Include upgrade instructions
- Link to documentation
- Release Schedule:
- Regular release cadence (weekly, bi-weekly)
- Hotfix process for critical issues
- Freeze periods for high-traffic events
Anti-Patterns to Avoid
❌ Manual deployments - Error-prone, not reproducible
❌ Building in production - Slow, risky, inconsistent
❌ No rollback plan - Cannot recover from bad deployments
❌ Skipping tests in CI - Broken code reaches production
❌ Mutable tags (latest) - Cannot reproduce deployments
❌ No deployment verification - Silent failures
❌ Direct database changes - Data loss risk
❌ No deployment approvals - Unreviewed changes to production
❌ Ignoring deployment metrics - Miss degradation
❌ Complex manual steps - Slows releases, causes errors
Common Tasks
Task: Set Up CI/CD Pipeline
- Choose CI/CD platform (GitHub Actions, GitLab CI, Jenkins)
- Define pipeline stages (build, test, deploy)
- Configure triggers (push, PR, schedule)
- Add automated tests
- Implement deployment automation
- Set up notifications
- Document pipeline
Task: Implement Canary Deployment
- Install Flagger or similar tool
- Define canary configuration
- Set success metrics (error rate, latency)
- Configure progressive rollout (10%, 25%, 50%, 100%)
- Add automated rollback triggers
- Test deployment process
- Monitor first production canary
Task: Automate Release Process
- Implement semantic versioning
- Automate changelog generation
- Create Git tags automatically
- Generate release notes
- Publish artifacts to registries
- Notify stakeholders
- Update documentation
Integration Points
This skill integrates with:
- platform-engineering: Infrastructure provisioning, Kubernetes deployments
- devsecops: Security scanning, policy enforcement, artifact signing
- sre: Monitoring deployments, SLO tracking, incident response
- cloud-engineering: Cloud-specific deployment services (ECS, Cloud Run, App Engine)
Triggers and Activation
This skill activates when you:
- Work with CI/CD configuration files (.github/workflows/, .gitlab-ci.yml, Jenkinsfile)
- Implement deployment scripts or automation
- Configure container registries or artifact repositories
- Design release processes or strategies
- Set up deployment pipelines
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎯 SKILL ACTIVATED: release-engineering ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Total Resources: 10 detailed guides covering all aspects of release engineering Focus: Automation, safety, speed, reliability Maintained by: Release Engineering team based on production experience
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- magnus919/agent-skills★ 162same name
- mawero83/google-sre-skills★ 18same name
- foreturn/product-studio★ 3same name
- ack-solutions/claude-code-ai-skills★ 1same name
- chenyinrusi/dsh-engineering-skills★ 1same name
- cvsz/zomega★ 1same name
- SwastikPandey1024/agentic-engineering-os★ 1same name
- wrinfotel/verified-android-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- api-engineeringSkill
- backend-dev-guidelinesSkill
- budget-and-cost-managementSkill
- build-engineeringSkill
- cloud-engineeringSkill
- cybersecuritySkill
- database-engineeringSkill
- devsecopsSkill
- documentation-as-codeSkill
- engineering-managementSkill
- engineering-operations-managementSkill
- error-trackingSkill
- frontend-dev-guidelinesSkill
- general-it-engineeringSkill
- infrastructure-architectureSkill
- infrastructure-strategySkill
- network-engineeringSkill
- observability-engineeringSkill
- platform-engineeringSkill
- route-testerSkill
- skill-developerSkill
- sreSkill
- systems-engineeringSkill
- technical-leadershipSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

