# Vibe safe deploy

> Vibe safe deploy is an open-source agent skill for cloud and infrastructure. Guides an agent through pre-flight checks, atomic deploys, health checks and rollback. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ash1794/vibe-engineering/tree/master/plugins/vibe-engineering/skills/vibe-safe-deploy
- **Repository:** https://github.com/ash1794/vibe-engineering
- **GitHub stars:** 163
- **License:** MIT
- **Skill name:** vibe-safe-deploy
- **Collection:** https://github.com/ash1794/vibe-engineering
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill walks an AI coding agent through a deployment to staging, preview or production with a safety-first sequence. Before anything ships, the agent runs a checklist covering tests, linting, a clean working tree, a scan of the diff for leaked secrets, a successful build and reversible database migrations. It then backs up the current release, swaps in the new build with atomic file replacement or a container tag switch, and runs a health check with a 60-second window.

If the health check fails, the skill reverts to the backed-up version and restarts services. It also adds a provenance step: the commit SHA is baked into the build and exposed on a version endpoint, and the agent polls that endpoint until it reports the expected SHA rather than trusting that the deploy job simply finished. The guidance covers separating preview and production paths and using a least-privilege deploy credential.

The skill is written around shell commands such as cp, install and docker tags, and it produces a structured deployment report with status, served SHA, timings and post-deploy checks. The examples are generic templates that must be adapted to the user's own paths, services and endpoints.

## When your agent uses it

> Performs deployment with pre-flight checks, atomic replacement, post-deploy verification, provenance (proving the environment serves the exact commit you pushed), and automatic rollback. Use before any deployment to staging, preview, or production.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-safe-deploy)
- [License: MIT](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-safe-deploy)

## Features

- **Pre-flight checklist:** Checks tests, linting, clean tree, secret scanning, build status and migration reversibility before deploying.
- **Atomic replacement:** Swaps in new binaries or container tags so a deploy does not leave partially written files.
- **Health verification:** Runs a health check with a 60-second timeout covering startup, endpoint response and smoke tests.
- **Automatic rollback:** Restores the backed-up release and restarts services when the health check fails.
- **Commit provenance:** Confirms via a version endpoint that the environment serves the exact commit that was pushed.
- **Deployment report:** Produces a status summary with per-step timings and post-deploy log and endpoint results.

## Good for

- Deploy the latest commit to staging with safety checks
- Roll back production if the health endpoint stops returning 200
- Confirm that the preview environment is serving the pushed commit SHA
- Run a pre-release checklist before shipping a new version
- Verify a container-based deploy swapped the image tag correctly

## Install

### Claude Code

This skill ships in the `vibe-engineering` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ash1794/vibe-engineering
/plugin install vibe-engineering@vibe-plugins
```

Or copy only this skill to `~/.claude/skills/vibe-safe-deploy`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vibe-safe-deploy &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-safe-deploy" ~/.claude/skills/vibe-safe-deploy &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/vibe-safe-deploy` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/vibe-safe-deploy` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vibe-safe-deploy &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-safe-deploy" ~/.agents/skills/vibe-safe-deploy &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/vibe-safe-deploy` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/vibe-safe-deploy` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vibe-safe-deploy &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-safe-deploy" ~/.cursor/skills/vibe-safe-deploy &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/vibe-safe-deploy` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ash1794/vibe-engineering.git --path plugins/vibe-engineering/skills/vibe-safe-deploy
```

Or copy the folder to `~/.gemini/skills/vibe-safe-deploy` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/vibe-safe-deploy`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vibe-safe-deploy &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-safe-deploy" ~/.copilot/skills/vibe-safe-deploy &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/vibe-safe-deploy` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git
```

Then copy `vibe-engineering/plugins/vibe-engineering/skills/vibe-safe-deploy` into your agent's skills folder as `vibe-safe-deploy`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Vibe safe deploy trigger?

It is meant to be used before any deployment to staging, preview or production, and it lists cases where it should not apply, such as local builds, CI/CD that already runs these checks, and documentation-only deploys.

### Does Vibe safe deploy install any tools or scripts?

No scripts are included. It is a single SKILL.md that gives the agent steps and shell command examples to adapt.

### How does Vibe safe deploy confirm what is live?

It bakes the commit SHA into the build, serves it from an endpoint such as /version.txt, and polls that endpoint after deploy until the expected SHA appears.

### Which license applies?

The repository is published under the MIT license.

### How do I install Vibe safe deploy in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vibe-safe-deploy to use it in all your projects, or to .claude/skills/vibe-safe-deploy in one project. Or install the vibe-engineering plugin, which includes it: /plugin marketplace add ash1794/vibe-engineering, then /plugin install vibe-engineering@vibe-plugins.

### Does Vibe safe deploy run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Vibe safe deploy?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Vibe safe deploy?

The closest alternatives to Vibe safe deploy are Deployment patterns, Gem devops guidelines, Devops rollout plan, Shipping and Deployment ops edho ferdian.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Deployment patterns](https://ai-powered.com/skills/deployment-patterns): Deployment patterns is an open-source agent skill for cloud and infrastructure.
- [Gem devops guidelines](https://ai-powered.com/skills/gem-devops-guidelines): Gem devops guidelines is an open-source agent skill for cloud and infrastructure.
- [Devops rollout plan](https://ai-powered.com/skills/devops-rollout-plan): Devops rollout plan is an open-source agent skill for cloud and infrastructure.
- [Shipping](https://ai-powered.com/skills/shipping): Shipping is an open-source agent skill for developer tools.
- [Deployment ops edho ferdian](https://ai-powered.com/skills/deployment-ops-edho-ferdian): Deployment ops edho ferdian is an open-source agent skill for developer tools.
- [Deploy runbook](https://ai-powered.com/skills/deploy-runbook): Deploy runbook is an open-source agent skill for developer tools.
- [Vibe production mindset](https://ai-powered.com/skills/vibe-production-mindset): Vibe production mindset is an open-source agent skill for developer tools.
- [Post deploy watch](https://ai-powered.com/skills/post-deploy-watch): Post deploy watch is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/vibe-safe-deploy
