deployment-rollback

Automates deployment rollback for Kubernetes, Docker Compose Comppose, databases, and feature flags on failure or manual request.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/turbobeest/dev-system --skill deployment-rollback
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment-rollback
Source: https://github.com/turbobeest/dev-system/tree/main/skills/deployment-rollback
Command: npx skills add https://github.com/turbobeest/dev-system --skill deployment-rollback

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides automated rollback capabilities when deployments fail, ensuring a safe recovery path and clear incident reporting.

Core Features & Use Cases

  • Phased rollback workflow (Assessment, Strategy, Execute, Post-Rollback) and signals.
  • Strategy options: Container rollback, Git-based rollback, Database rollback, Feature flag disable.
  • Integration: Health checks and post-rollback verification.

Quick Start

rollback deployment

Frequently Asked Questions about deployment-rollback

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate rollback of failed Kubernetes deployments?

Deployment rollback automates recovery by reverting to a known-good container state using kubectl commands. The Skill detects deployment failures through health checks and smoke tests, then executes the rollback strategy, verifies the restored state, and notifies stakeholders of the incident and recovery.

Can I rollback deployments across Kubernetes and Docker Compose environments?

Yes, rollback handles both containerized environments. The Skill assesses the deployment type, selects the appropriate strategy—container rollback via kubectl or docker-compose commands—executes the recovery, and runs post-rollback verification to confirm the known-good state is restored.

What happens to database migrations when a deployment rolls back?

Database rollback is a distinct strategy executed during the phased rollback workflow. The Skill can revert database migrations using manage.py or equivalent tools, coordinate with container rollback, and verify data integrity before marking recovery complete.

How do I trigger rollback automatically when deployment health checks fail?

The Skill implements automatic triggers for deployment failures, health check failures, and smoke-test failures. When detected, it assesses the failure, selects a rollback strategy, executes the recovery, and generates incident reports without manual intervention.

Can I disable feature flags as part of a rollback strategy?

Yes, feature flag disable is a rollback strategy option. The Skill coordinates this with container and database rollback strategies, allowing you to mitigate failed features independently of full deployment reversion while maintaining service stability.

What verification steps run after a deployment rollback completes?

Post-rollback verification includes health checks and smoke tests to confirm the restored state is operational. The Skill reports verification results and stakeholder notifications, ensuring visibility into recovery success before marking the incident resolved.