deployment-strategy
Deployment strategy patterns for zero-downtime releases. Covers blue-green, canary, rolling, and recreate strategies with rollback procedures, health checks, feature flags, progressive delivery, and environment promotion workflows. Use when choosing a deployment strategy, implementing rollback procedures, configuring health checks, setting up environment promotion pipelines, planning progressive delivery with feature flags, or reducing blast radius during releases.
What this skill does
# Deployment Strategy ## Overview Covers deployment strategy selection, rollback safety, and progressive delivery patterns. Focuses on zero-downtime release techniques, blast radius management, and environment promotion workflows from development through production. **When to use:** Choosing between blue-green, canary, or rolling deployments, implementing rollback procedures, configuring health checks and readiness gates, planning environment promotion workflows, integrating feature flags for progressive delivery. **When NOT to use:** CI/CD pipeline mechanics and GitHub Actions workflows (use `ci-cd-architecture` skill), infrastructure provisioning and cloud platform selection (use `ci-cd-architecture` skill), application architecture decisions (use framework-specific skills). ## Quick Reference | Need | Strategy | | --------------------------- | --------------------------------------------------------------- | | Instant rollback | Blue-green (swap traffic back to previous environment) | | Gradual risk validation | Canary (route 1-5% traffic, monitor, then expand) | | Default Kubernetes updates | Rolling (replace pods incrementally with maxSurge/maxUnavail) | | Full environment replace | Recreate (stop all old, start all new; accepts brief downtime) | | Feature-level control | Feature flags (decouple deploy from release) | | Database schema changes | Expand-contract migration (additive first, remove later) | | Multi-environment promotion | dev -> staging -> production with gates between each | | Blast radius reduction | Canary + feature flags + automated rollback triggers | | Health verification | Liveness, readiness, and startup probes at infrastructure level | | Rollback without redeploy | Feature flags to disable problematic code paths | ## Common Mistakes | Mistake | Correct Pattern | | ----------------------------------------------------- | --------------------------------------------------------------------------------------- | | No rollback plan before deploying | Define rollback procedure and verify it works before every production release | | Destructive database migrations alongside app deploy | Use expand-contract: add new columns/tables first, migrate data, remove old later | | Canary without automated health monitoring | Set error rate and latency thresholds that auto-halt rollout when breached | | Blue-green with shared mutable database | Use backward-compatible schema changes so both versions work against the same database | | Feature flags without cleanup lifecycle | Assign an owner and removal date to every flag; treat stale flags as tech debt | | Skipping staging and deploying directly to production | Promote through environments with automated gates between each stage | | Rolling deploy without readiness probes | Configure readiness probes so traffic routes only to healthy instances | | Same environment config across all stages | Use environment-specific configuration with secrets management per environment | | Manual rollback procedures in incident response | Automate rollback triggers based on error rate, latency, and health check thresholds | | Testing only happy paths before release | Include failure scenario testing: rollback drills, chaos testing, degraded mode testing | ## Delegation - **Audit deployment safety of existing infrastructure**: Use `Explore` agent to review deployment configs, health check definitions, and rollback procedures - **Implement a specific deployment strategy**: Use `Task` agent to configure blue-green, canary, or rolling deployment for a target platform - **Plan migration from one deployment strategy to another**: Use `Plan` agent to evaluate current strategy, define migration steps, and identify risks > If the `ci-cd-architecture` skill is available, delegate CI/CD pipeline setup and GitHub Actions workflow configuration to it. > Otherwise, recommend: `npx skills add oakoss/agent-skills --skill ci-cd-architecture` ## References - [Blue-green, canary, rolling, and recreate deployment strategies with configuration examples](references/deployment-patterns.md) - [Rollback procedures, health checks, feature flags, and blast radius management](references/rollback-and-safety.md) - [Environment promotion workflows, configuration management, and secrets handling](references/environment-management.md)
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.