deployment-rollback

Roll back failed deployments across environments using SST, AWS CLI, and Git.

21|2|Updated Nov 5, 2023
One-click install
npx skills add https://github.com/sgcarstrends/sgcarstrends --skill deployment-rollback-sgcarstrends
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment-rollback
Source: https://github.com/sgcarstrends/sgcarstrends/tree/main/.claude/skills/deployment-rollback
Command: npx skills add https://github.com/sgcarstrends/sgcarstrends --skill deployment-rollback-sgcarstrends

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you rollback failed deployments, restore previous working versions, and handle deployment emergencies across infrastructure and services.

Core Features & Use Cases

  • Rollback Points: Pre-deployment, during deployment, and post-deployment rollback points.
  • Multi-Channel Rollback: SST rollback, service-specific rollbacks (API/Web), DB migrations, and Lambda version resets.
  • Emergency Procedures: Quick recovery steps and validation checks after rollback.

Quick Start

List versions with sst version list, then rollback to a previous stable version (e.g., sst deploy --to v1.1.0) or revert via git for quick restoration.

Frequently Asked Questions about deployment-rollback

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

FAQPage Schema
How do I rollback a failed deployment to a previous version?

Rollback a failed deployment by listing available versions with `sst version list`, then deploy to a stable prior version using `sst deploy --to v1.1.0` or revert via Git. The Skill handles rollback across Development, Staging, and Production environments for APIs, Web services, Lambda functions, and databases.

Can I automatically rollback deployments based on health checks?

Yes, automated health-check-based rollbacks are supported. The Skill integrates AWS CLI, SST, and CI workflows to trigger versioned rollbacks and execute backup/restore utilities when deployment validation fails across infrastructure and services.

What deployment scenarios does rollback cover?

Rollback covers API services, Web applications, Lambda configurations, Next.js deployments, database migrations, and Git-based revert workflows. It operates across pre-deployment, during-deployment, and post-deployment rollback points with multi-channel support for SST, service-specific, and database-level rollbacks.

Do I need specific tools to execute rollbacks?

Rollback requires SST, AWS CLI, PNPM scripts, database migration tools, and backup/restore utilities. The Skill integrates these tooling dependencies with Read, Edit, Write, and Bash capabilities to execute versioned rollbacks and send notifications.

How do I validate a rollback was successful?

Validation checks and emergency procedures are included after rollback execution. The Skill supports health-check-based confirmation and integrates CI workflows to verify prior production version restoration across all environment layers.