agentleFS
wangsy0247wangsy0247/multiagent-studio/skills/builtin/deployment-checklist/SKILL.md

deployment-checklist

Skill2 starsChanged 4 months agoMITView on GitHub

Production deployment safety checklist — pre-flight checks, canary validation, rollback procedures. Use when preparing to deploy, before merging to main, or when asked about deployment safety practices.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before merging a PR to main/master

    line 19
  2. Distinctive:

    Verify CI/CD pipeline: All tests green? Linting passed?

    line 25
  3. Distinctive:

    Load test results: If this is a performance-sensitive change, have you load tested?

    line 29
  4. Very specific:

    Read the deployment script: Check scripts/deploy.sh or equivalent for any hardcoded assumptions

    line 30
  5. Distinctive:

    Deploy to staging first: Verify with production-like data

    line 34
  6. Distinctive:

    Alert silence: No new alerts firing. If alerts fire, assess severity before acknowledging.

    line 43
  7. Distinctive:

    Customer impact: Check support channels for user-reported issues.

    line 44
  8. Distinctive:

    If any Critical or High-severity issue is found:

    line 49
  9. Distinctive:

    Execute rollback: Use the pre-tested rollback procedure.

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deployment Checklist Skill

Purpose

Prevent production incidents by enforcing a systematic pre-deployment verification process. This skill guides you through every safety check before, during, and after a deployment.

When to Use

  • "I'm about to deploy, what should I check?"
  • "Review this deployment for safety"
  • "What's our rollback plan?"
  • Before merging a PR to main/master

Workflow

Phase 1: Pre-Flight (Before Any Changes)

  1. Verify CI/CD pipeline: All tests green? Linting passed? Security scan clean?
  2. Check dependencies: Any deprecated packages? Known CVEs in new dependencies?
  3. Database migrations: Are they backward-compatible? (Never rename a column — add new, migrate data, drop old in separate deploy)
  4. Configuration changes: Any new env vars? Are they set in all environments? Secrets rotated?
  5. Load test results: If this is a performance-sensitive change, have you load tested?
  6. Read the deployment script: Check scripts/deploy.sh or equivalent for any hardcoded assumptions

Phase 2: Canary / Staged Rollout

  1. Deploy to staging first: Verify with production-like data
  2. Smoke tests: Hit critical endpoints. Check response times, error rates.
  3. Canary deployment: 5% → 25% → 50% → 100%, with 5-minute observation windows
  4. Monitor dashboards: Watch RED metrics. Compare to baseline (same time last week).
  5. Check error logs: Any new error patterns? Increased rate of known errors?

Phase 3: Post-Deployment Validation

  1. Business metrics: Are key flows working? Signups, purchases, API calls?
  2. Alert silence: No new alerts firing. If alerts fire, assess severity before acknowledging.
  3. Customer impact: Check support channels for user-reported issues.
  4. Performance baseline: Compare p50/p95/p99 latencies to pre-deployment baseline.

Phase 4: Rollback Decision

If any Critical or High-severity issue is found:

  1. Decide within 5 minutes: Is this a rollback situation? (Yes if: data corruption, security breach, >5% error rate increase, critical user flow broken)
  2. Execute rollback: Use the pre-tested rollback procedure. Never "fix forward" under pressure.
  3. Post-mortem: Within 24 hours, document: what happened, why, how detected, how prevented next time.

Quick Reference Card

BEFORE:
[ ] CI green
[ ] DB migrations backward-compatible
[ ] Secrets/config in place
[ ] Load tested (if perf-sensitive)

DURING:
[ ] Staging verified
[ ] Canary: 5% → 25% → 50% → 100%
[ ] Dashboards monitored
[ ] Error logs watched

AFTER:
[ ] Business metrics normal
[ ] No new alerts
[ ] Latency baseline unchanged

IF ROLLBACK:
[ ] Decide in 5 min
[ ] Execute rollback
[ ] Post-mortem in 24h

References

  • references/rollback_procedures.md — Detailed rollback steps for common deployment patterns
  • scripts/preflight_check.sh — Automated pre-flight verification script

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.