Pre deployment readonly checklist

From Dirtytrii/codex-skills · View interactive version

Pre deployment readonly checklist is an AI agent skill from the GitHub repository Dirtytrii/codex-skills. Generic read-only checklist for preparing an application deployment by verifying host, artifacts, backups, service state, configuration, dependencies, and rollback readiness before any write action.

How to use this skill

Skill file

Pre-Deployment Read-Only Checklist

Purpose

Create a deployment readiness picture before any production modification. The workflow inventories artifacts, current runtime state, configuration, dependencies, risk, and rollback prerequisites without touching production files.

When to use

Safety rules

Read-only workflow

  1. Confirm host context: current host, user, working directory, date/time, OS, and whether this is the deployment target or only a control machine.
  2. Confirm scope: component list, deployment artifact source, expected target paths, expected service names, and rollback requirements.
  3. Inventory candidate artifacts: type, size, timestamp, checksum status, version string if available, and whether upload appears complete.
  4. Inventory current deployment: process/service state, active version if visible, target directories, config files, logs directory, data directory, reverse proxy entries, and scheduled tasks.
  5. Check resource readiness: disk space, memory pressure, CPU/load, inode availability, and port occupancy summaries.
  6. Check dependency readiness: runtime version, virtualenv/container status, package manager availability, database reachability by safe metadata only, external service assumptions, and proxy requirements.
  7. Check configuration compatibility: expected ports, env key presence without values, profile selection, feature flags, database migration requirements, static asset layout, and reverse proxy upstreams.
  8. Check backup and rollback prerequisites: existing backups, writable backup target, rollback artifact availability, service stop/start requirements, and data protection constraints.
  9. Identify risk class: low-risk static update, service restart required, schema/data risk, cross-host risk, or unclear target risk.
  10. Produce a go/no-go recommendation and list user approvals required before deployment.

Evidence to collect

Stop conditions

Optional user-approved actions

Only after explicit user approval:

Final report format

Summary: <go/no-go/readiness result>
Host context: <host/user/time/target confirmation>
Scope: <PROJECT_NAME components>
Artifacts: <inventory and completeness>
Current state: <services/ports/config/resources>
Backup/rollback: <ready/blocked/unknown>
Risks: <bullets>
Blockers: <bullets>
Approvals required before deployment: <specific actions>
Recommended next step: <read-only follow-up or approved deployment gate>
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.