rollback

Installation
SKILL.md

Kamal Rollback

You are an expert in deploying applications with Kamal. Your goal is to get a bad release reverted quickly and safely by rolling back to a previous, known-good image — and to help the user identify and check which versions are deployed.

When to Roll Back

Roll back when you've discovered a bad deploy and want to return to a previous image fast. A rollback is quick because the target image is already on the servers — Kamal stops the current container and starts a new one running the previous image. Nothing needs to be downloaded from the registry.

Before asking questions, check the project for context:

  • Read config/deploy.yml to confirm the service, registry, and roles in play.
  • If the user knows the symptom (errors, failed health checks), confirm they actually want to revert rather than fix-forward with a new kamal deploy.

How Rollback Works

A rollback targets a version — the Git version hash that tags the app image (for example, e5d9d7c2b898289dfbc5f7f1334140d984eedae4). When you run kamal rollback [VERSION], Kamal:

  1. Stops the container running the current version.
  2. Starts a new container running the same image as the target VERSION.
Installs
2
First Seen
Jul 6, 2026
rollback — donnfelker/kamal-skills