deploy-checklist

$npx mdskill add wednesday-solutions/ai-agent-skills/deploy-checklist

Verifies pre-deploy and post-deploy conditions for safe production releases.

  • Ensures CI checks, env vars, migrations, and rollback plans are ready before deploying.
  • Depends on Bash commands for linting, testing, building, and GitHub CLI for CI checks.
  • Triggers on deployment-related phrases and runs a fixed checklist of verification steps.
  • Returns a checklist of items to be confirmed, guiding the user through deployment readiness.

SKILL.md

.github/skills/deploy-checklistView on GitHub ↗
---
name: deploy-checklist
description: Pre-deploy and post-deploy checklist skill. Ensures env vars, migrations, CI, rollback plan, smoke tests, and monitoring are verified before and after every deployment.
license: MIT
metadata:
  author: wednesday-solutions
  version: "1.0"
permissions:
  allow:
    - Bash(npm run lint)
    - Bash(npm run format:check)
    - Bash(npm run test)
    - Bash(npm run build)
    - Bash(curl *)
    - Bash(gh run list)
    - Bash(gh pr checks)
---

# Deploy Checklist Skill

## Trigger

Load this skill when a dev is about to deploy or has just deployed:
- "We're deploying to production"
- "Pre-deploy check"
- "Post-deploy verification"
- "Run the deploy checklist"
- "Is it safe to deploy?"

**Do NOT use this skill for:** committing code (use `git-os`), creating a PR (use `pr-create`), or planning a project (use `greenfield`). This skill only applies at the deployment stage — code is already merged.

---

Run this checklist before and after every production deployment.

## Pre-Deploy Checklist

- [ ] All CI checks green on the deploy branch
- [ ] Environment variables verified in target environment (no missing keys)
- [ ] Database migrations reviewed — irreversible migrations documented
- [ ] Migrations have been dry-run or tested in staging
- [ ] Rollback plan documented: what to revert and how
- [ ] Feature flags set correctly for the release
- [ ] Downstream services notified if API contracts changed
- [ ] Changelog updated with this release's changes
- [ ] Deployment window confirmed (avoid peak traffic)

## Deploy

- [ ] Deploy initiated with correct branch / tag
- [ ] Deployment logs monitored in real time
- [ ] No unexpected errors during startup

## Post-Deploy Checklist

- [ ] Smoke test: critical user flows verified manually or via synthetic monitoring
- [ ] Health check endpoint returns 200
- [ ] Error rate in monitoring (Datadog, Grafana, Sentry) is normal
- [ ] No spike in latency or DB query time
- [ ] Monitoring alerts reviewed — no new alerts triggered
- [ ] Changelog published / communicated to stakeholders
- [ ] Ticket status updated (closed / released)

## Rollback Trigger Criteria

Initiate rollback immediately if:
- Error rate rises above 1% of requests
- P95 latency increases by more than 2x baseline
- Any data integrity issue detected
- Critical feature path returns 5xx

## Tools

| Action | Tool |
|--------|------|
| Run lint, test, build scripts | `Bash` |
| Check health endpoint | `Bash` — `curl -s <url>/health` |
| Read config or env files | `Read` |
| Check CI status | `Bash` — `gh run list` or `gh pr checks` |

## Notes

- Never deploy on Fridays unless it's a critical hotfix
- Always have a second engineer available during production deploys
- Document the actual deploy time and outcome in the ticket

More from wednesday-solutions/ai-agent-skills

SkillDescription
brownfield-driftEnforces architecture boundaries defined in PLAN.md. Use when a PR crosses module/service boundaries, when the dev asks "are we following the architecture?", or as a scheduled architecture health check. Not for querying what a module does — use brownfield-chat for that.
codebase-intelUnified codebase intelligence. Handles all questions about structure, logic, risk, and dependencies. Combines natural-language Q&A with deterministic lookups and pre-edit blast radius checks.
greenfieldParallel persona planning for new projects. Research agent runs first to build domain context, then Architect, PM, and Security agents run in parallel. Synthesis agent combines all perspectives into a detailed GSD-style PLAN.md with Tensions section.
module-audit-agentUse when asked to audit a module, check its health, or assess whether it should be refactored. Runs structural query, risk check, and test generation automatically.
onboard-dev-agentUse when a dev is new to the project, asks for an overview, or wants to get oriented quickly. Fills graph gaps then runs a guided codebase interview.
pr-review-agentFull PR review orchestrator. Use when asked to review a PR or check if it is ready to merge. Runs blast radius + drift check on changed files, then hands off to pr-review for comment triage and fixes. Do NOT use pr-review directly for full reviews — use this.
standards-kitUnified development and design standards. Enforces code quality (complexity < 8), strict naming conventions, and the mandatory use of approved UI component libraries.
wednesday-gitUnified Git workflow. Manages the entire task lifecycle: branch creation (sprint), atomic commits (git-os), and PR opening (pr-create).