Skip to content
Back to skills

Deploying

ASecurity

Use when shipping a build to a target such as a test environment, staging, production, a server, or a cluster, when running the deploy stage of a merge train, syncing files to a host (rsync, Ansible), rolling back a failed deploy, or checking that a target runs the version just shipped.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agents

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add wayne930242/anchorloop --skill deploying --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deploying?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deploying
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wayne930242-deploying-anchorloop/badge)](https://www.skillsdirectory.com/skills/wayne930242-deploying-anchorloop)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deploying
description: Use when shipping a build to a target such as a test environment, staging, production, a server, or a cluster, when running the deploy stage of a merge train, syncing files to a host (rsync, Ansible), rolling back a failed deploy, or checking that a target runs the version just shipped.
---

# Deploying

Run the loop in [../anchorloop/SKILL.md](../anchorloop/SKILL.md). The anchor is that each target runs the version that was shipped, read from the target as the project skill's `Deploy verify` shows it, after the tests ran, with each target's approval quoted (or the target marked `auto`).

A deploy ships every car in the train at once, and a target someone depends on takes the change at once. Order, approval, and verification are per target, because one target's success says nothing about the next.

## Seams

All seven seams of [seams](../integrating/references/seams.md) apply with the same defaults and bindings. Each command of deploy, verify, and rollback runs through the Step runner; the owner of a train orders its targets per `Deploy`. A train-less deploy (one change, the session as its own owner) follows the same steps, and the reply carries what the ledger would.

## Rules

- Before an `rsync --delete`, list the runtime files the target holds (`.token-override`, state files, `.env`) and confirm each is excluded, because a delete-sync removes whatever the source does not carry and those files exist only on the target.
- Run the project's test suite before any deploy, because an untested deploy ships unknown behavior to a target in use. Inside a train, `Full gates` on the merged head is that run.
- Run Ansible playbooks with `--check` first on production targets and read the planned changes before the real run; any other tool with a dry run takes the same step on a live target.
- Before a destructive sync, verify the target directory exists and is non-empty, because an empty or missing target is usually a wrong or unmounted path.

## Where the commands come from

The project skill's `## Deploy` and `## Deploy verify` hold them (heading contract in [integrating](../integrating/SKILL.md)). With no project skill, the project's instructions do; with neither, ask the approver for the target's procedure before the first step, because a guessed deploy command is the one that cannot be undone.

## Playbooks

- [deploy](playbooks/deploy.md): per-target order, approval, serialization, dry run, deploy, verify.
- [rollback](playbooks/rollback.md): a failed target, a failed verify, or a revert after landing.

Files in this skill

  • SKILL.md2.5 KB
  • playbooks/deploy.md2 KB
  • playbooks/rollback.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.