agentleFS
Baba01hacker666Baba01hacker666/dummyskills/skills/deployment-checklist-maker/SKILL.md

deployment-checklist-maker

Skill0 starsChanged 2 months agoMITView on GitHub

Prepares an actionable deployment checklist with pre-deploy checks, deploy steps, verification, and rollback plan.

  • Reads credentials

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 9 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 14
  2. Very specific:

    Do not use to draft feature release notes for users.

    line 20
  3. Very specific:

    Do not use to plan local file cleanups.

    line 21
  4. Very specific:

    If deployment_target is unknown: inspect repository for Dockerfile, k8s/, docker-compose.yml, or CI/CD workflow files (.github/workflows/).

    line 29
  5. Distinctive:

    Always mandate an explicit Rollback Procedure.

    line 30
  6. Distinctive:

    If database migrations exist: place migration verification before traffic routing.

    line 31
  7. Distinctive:

    Follow these numbered actions:

    line 34
  8. Distinctive:

    All tests green on main branch.

    line 36
  9. Distinctive:

    Run database migrations (with backward-compatible columns).

    line 40
  10. Very specific:

    Check /healthz or status endpoint.

    line 43
  11. Distinctive:

    Check error rate metrics for 5 minutes.

    line 44
  12. Very specific:

    If database migrations drop columns: flag as High Risk and mandate a 2-phase migration (deprecate first, drop in next release).

    line 51
  13. Distinctive:

    If healthcheck endpoint fails post-deploy: immediately initiate Rollback Procedure.

    line 52
  14. Distinctive:

    Stop and ask the user when:

    line 96

≈ “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 Maker

Generates an operational deployment runbook from actual project configuration. Includes pre-flight checks, atomic deploy steps, health verifications, and an explicit rollback procedure.

1. Purpose

Prevent deployment outages and failed releases. A "Deployment Checklist" is a sequential runbook ensuring migrations, environment variables, dependencies, and rollbacks are verified before touching production.

2. When to Use

Use this skill when:

  • Planning a production or staging release.
  • Verifying database migrations and environment variable changes.
  • User requests: "Create a deployment checklist for this release."

3. When Not to Use

  • Do not use to draft feature release notes for users; use release-notes-drafter.
  • Do not use to plan local file cleanups; use reversible-cleanup-planner.

4. Required Inputs

  • project_type: Framework/runtime (e.g. Next.js, FastAPI, Go).
  • deployment_target: Platform (e.g. AWS ECS, Vercel, Kubernetes, Docker).
  • database_changes: Are migrations included? (Yes / No).

5. Missing-Input Behavior

  1. If deployment_target is unknown: inspect repository for Dockerfile, k8s/, docker-compose.yml, or CI/CD workflow files (.github/workflows/).
  2. Always mandate an explicit Rollback Procedure. Never emit a checklist without rollback steps.
  3. If database migrations exist: place migration verification before traffic routing.

6. Procedure

Follow these numbered actions:

  1. Action 1: Pre-Deployment Verification (Pre-Flight)
    • All tests green on main branch.
    • Clean working tree, tagged release commit.
    • Environment variables configured in target environment.
  2. Action 2: Deployment Actions
    • Run database migrations (with backward-compatible columns).
    • Deploy build artifact or container image.
  3. Action 3: Post-Deployment Smoke Test
    • Check /healthz or status endpoint.
    • Check error rate metrics for 5 minutes.
  4. Action 4: Rollback Trigger & Procedure
    • State exact command to revert artifact and rollback database.
  5. Action 5: Emit Checklist
    • Format per Section 8.

7. Decision Rules

  • If database migrations drop columns: flag as High Risk and mandate a 2-phase migration (deprecate first, drop in next release).
  • If healthcheck endpoint fails post-deploy: immediately initiate Rollback Procedure.

8. Output Format

Emit the checklist using this template:

### Deployment Checklist: [Service Name] -> [Target Environment]

- **Target**: [e.g., Kubernetes Production / us-east-1]
- **Risk Level**: [Low | Medium | High]
- **Estimated Downtime**: [Zero-downtime | N minutes maintenance]

#### 1. Pre-Flight Checks
- [ ] CI pipeline is green on commit `[hash]`.
- [ ] Required environment variables verified in target environment.
- [ ] Database backup snapshot created.

#### 2. Deployment Steps
1. `[Step 1 command or action]`
2. `[Step 2 command or action]`

#### 3. Post-Deployment Verification
- [ ] Healthcheck endpoint `[URL]` returns HTTP 200.
- [ ] Error rate metrics remain below baseline threshold (< 0.1%).

#### 4. Rollback Procedure
If verification fails, execute immediately:
```bash
[Rollback command]

## 9. Verification Checklist
- [ ] Checklist includes Pre-Flight, Deployment, Post-Deploy, and Rollback.
- [ ] Rollback procedure is explicit and actionable.
- [ ] Database migration risks are explicitly flagged.
- [ ] Healthcheck URL or command is concrete.

## 10. Common Failures and Recovery
| Failure Symptom | Cause | Recovery Action |
| :--- | :--- | :--- |
| Missing rollback plan | Assuming deploy will succeed | Add rollback command before marking checklist complete. |
| Incompatible DB migration | Breaking old code during rollouts | Mandate expand-contract migration pattern. |

## 11. Stop or Escalation Conditions
Stop and ask the user when:
- Deployment involves irreversible data destruction without backup capability.

## 12. Examples

### Example 1: Successful Execution
**Input:**
```text
Service: payments-api
Target: Docker Compose on Ubuntu VM
DB: PostgreSQL migration adding index

Output:

### Deployment Checklist: payments-api -> Production

- **Target**: Docker Compose on Ubuntu VM
- **Risk Level**: Low (Zero-downtime index creation)
- **Estimated Downtime**: Zero-downtime

#### 1. Pre-Flight Checks
- [ ] All unit and integration tests green on `main`.
- [ ] PostgreSQL snapshot created before running index migration.
- [ ] Confirmed `.env` contains valid `STRIPE_KEY` on production VM.

#### 2. Deployment Steps
1. SSH to production server: `ssh deploy@payments-prod.internal`.
2. Pull latest container image: `docker compose pull api`.
3. Run database migrations: `docker compose run --rm api npm run db:migrate`.
4. Restart service: `docker compose up -d --no-deps api`.

#### 3. Post-Deployment Verification
- [ ] Check container health: `docker compose ps` shows `healthy`.
- [ ] Verify endpoint: `curl -I https://payments.example.com/healthz` returns HTTP 200.

#### 4. Rollback Procedure
If health check fails:
```bash
docker compose up -d --no-deps api:previous-tag

### Example 2: Ambiguous or Missing Input
**Input:**
```text
Deploy app.

Output:

### Deployment Checklist: Halted - Missing Configuration

- **Status**: Halted

Please provide:
1. The service name or repository.
2. The deployment platform (e.g. AWS ECS, Kubernetes, Vercel, Docker).
3. Whether database migrations or schema updates are involved.

Example 3: Expected Final Output

Output:

### Deployment Checklist: frontend-web -> Vercel Production

- **Target**: Vercel Production
- **Risk Level**: Low
- **Estimated Downtime**: Zero-downtime

#### 1. Pre-Flight Checks
- [ ] `npm run build` succeeds locally without warnings.
- [ ] Preview deployment verified on staging domain.

#### 2. Deployment Steps
1. Promote preview to production via Vercel CLI or GitHub release tag.

#### 3. Post-Deployment Verification
- [ ] Visit home page and verify login modal loads.

#### 4. Rollback Procedure
- Instant rollback in Vercel dashboard to previous deployment ID.

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.