Skip to content
Back to skills

Deploy

ASecurity

Deploy a Fly.io-hosted app safely and verify the rollout. Trigger on "deploy", "ship it to prod", or after merging work that must go live. Covers the push-to-main pipeline, the local flyctl fallback, the release_command gotcha, and post-deploy verification.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsgobash

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add kulykivska/claude-plugins --skill deploy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deploy?

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

Security grade badge for Deploy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kulykivska-deploy/badge)](https://www.skillsdirectory.com/skills/kulykivska-deploy)

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: deploy
description: >-
  Deploy a Fly.io-hosted app safely and verify the rollout. Trigger on
  "deploy", "ship it to prod", or after merging work that must go
  live. Covers the push-to-main pipeline, the local flyctl fallback, the
  release_command gotcha, and post-deploy verification.
---

# Deploy (Fly.io)

## Default path: push to main

For apps wired to CI (deploy = push to main), the deploy IS the
push. Run the pre-push-review gate first, push, then watch CI through to the
Fly release.

## Manual path: local flyctl

```bash
fly deploy -a <app> --remote-only
fly status -a <app>          # all machines should reach `started`
```

**Known gotcha**: machines can get stuck in state `created` when the app has
a `release_command`. Fix: deploy via local flyctl without
the release_command (comment it out of fly.toml for the deploy, run the
migration manually), then restore.

## Post-deploy verification (always)

1. `fly status -a <app>`: every machine `started`, latest version.
2. `fly logs -a <app>` for the first minute: no crash loops, no tracebacks.
3. Curl the health endpoint AND one real feature endpoint; check the JSON,
   not just 200.
4. If the deploy included a model/artifact change: confirm the served model
   version/registry entry, and refreeze snapshots if serving behavior
   changed.

## Rollback

- Code: `fly releases -a <app>` then `fly deploy --image <previous-image>`.
- Models: use the model-registry restore flow (R2 models/archive/<version>/ +
  restore workflow) instead of redeploying code.

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.