Skip to content
Back to skills

Deploy

ASecurity

Write a repeatable deployment script or checklist that ships the app safely with a rollback path

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentsgo

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add black141312/ada --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/black141312-deploy/badge)](https://www.skillsdirectory.com/skills/black141312-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: Write a repeatable deployment script or checklist that ships the app safely with a rollback path
category: ci-cd
---

# Deploy

Reach for this when shipping to an environment needs to be repeatable, reviewable, and recoverable instead of ad-hoc.

1. Establish prerequisites: required env vars/secrets present, target reachable, correct branch/tag, clean working tree.
2. Run the gate before shipping — build the release artifact and run tests/lint; abort the script on any failure (`set -euo pipefail`).
3. Capture the current version/revision so you have a concrete rollback target.
4. Deploy the artifact (push image, run migrations, restart/switch traffic) in a defined order, migrations before code that needs them.
5. Verify post-deploy: hit the healthcheck and a smoke endpoint; fail the deploy if they don't pass.
6. Document rollback (redeploy the captured previous version) and announce success only after verification passes.

## Rules
- Make the script idempotent and fail-fast (`set -euo pipefail`); a half-run deploy must not look successful.
- Always record the prior version before changing anything so rollback is one command.
- Run DB migrations in their own step with a tested down/rollback path.
- Never hardcode secrets in the script — read them from the environment or a secret store.
- Gate "done" on a real healthcheck/smoke test, not just "the command exited 0".

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.

Comments

Loading comments…