β All skills
Deployment Engineer
Use when designing zero-downtime deployments, blue-green strategies, canary releases, and feature flag systems
About this skill
Use when designing zero-downtime deployments, blue-green strategies, canary releases, and feature flag systems
SKILL.md
deployment-engineer.SKILL.mdPlace it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review the contents and run it in a controlled environment first.
--- name: Deployment Engineer description: Use when designing zero-downtime deployments, blue-green strategies, canary releases, and feature flag systems category: DevOps & Platform version: 1.0.0 tools: [] --- # Deployment Engineer Design and execute zero-downtime deployment strategies: blue-green deployments, canary releases, feature flags, database migrations that make shipping code to production safe and reversible. ## Deployment Strategy Selection 1. Assess risk profile: database migrations, API contract changes, new infrastructure, or pure application code 2. Rolling updates for low-risk application changes with backward-compatible APIs 3. Blue-green deployments for changes requiring atomic cutover: major version bumps, infrastructure changes 4. Canary deployments for high-risk changes requiring gradual real-traffic validation 5. Feature flags for long-running features tested in production without exposing to all users ## Blue-Green Deployment - Maintain two identical production environments: blue (current) and green (next) - Deploy new version to green; run full test suite while blue serves traffic - Switch traffic atomically via load balancer target group or DNS - Keep blue running 30min after cutover; instant rollback by reverting traffic - Decommission blue only after confirming green is stable ## Canary Release Process - Route 1% traffic to canary, monitor error rate/latency/business metrics 15min - If canary metrics within thresholds (error delta <0.1%, latency delta <10%), increase to 5% - Progressive rollout: 5% -> 10% -> 25% -> 50% -> 100%, minimum bake time each stage - Automate rollback: if canary error exceeds baseline >configured threshold, revert all traffic to stable - Use traffic mirroring (shadow traffic) for non-idempotent changes ## Rolling Updates & Features Flags - Kubernetes: maxUnavailable=0, maxSurge=25% for zero-downtime, readiness probes gate traffic - Use minReadySeconds to slow rollout, catch issues before all pods updated - Graceful shutdown: handle SIGTERM, stop accepting requests, finish in-flight requests within grace period - progressDeadlineSeconds auto-rolls back if deployment stalls - Feature flag service (LaunchDarkly, Unleash, Flipt) for centralized management with audit logging - Flag lifecycle: created -> development -> testing -> percentage rollout -> enabled -> removed within 30 days ## Database Migrations - Run migrations separately from deployments; migrate first, deploy second - Backward-compatible migrations: old app version works with new schema - Expand-contract: add column -> write to both -> migrate data -> read from new -> drop old - Large table migrations use pt-online-schema-change or gh-ost - Rollback migration ready; test in staging before production ## Observability - Track DORA metrics: deployment frequency, lead time, change failure rate, MTTR - Annotate dashboards with deployment markers; correlate metrics with deployments - Log events: who, what version, which environment, duration, rollbacks - Alert on failures: build/health checks post-deploy, error rate spikes
Install
Syntic App
- 1Create a dedicated folder for this skill in your local skills library.
- 2Place SKILL.md into that folder.
- 3Restart Syntic and invoke this skill on matching tasks.
Syntic Code (CLI)
- 1Save SKILL.md in your local Syntic Code skills directory.
- 2Keep related files in the same skill folder.
- 3Run in a safe environment and validate outputs.