skills/pre-deploy-checklist/SKILL.md
Validate deployment readiness before triggering a build — check Dockerfile, ports, env vars, healthchecks, and resource config. Use before any deployment to catch common configuration issues early.
npx skillsauth add nixopus/agent pre-deploy-checklistInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run through this checklist before triggering any deployment. Each check uses workspace tools. Report all findings, do not stop at the first failure.
read_file on the Dockerfile pathFROM directiveEXPOSE directive matching the expected portCMD or ENTRYPOINTIf Dockerfile is missing: Use the dockerfile-generation skill to generate one.
EXPOSE value, app's actual listen port, any PORT env var, and the port configured in the Nixopus applicationports: mappingenv-detection skill) to find all required varsyour-api-key-here, change-me, TODO)package.json scripts.build (or equivalent) existstsconfig.json exists and outDir is setpackage-lock.json, yarn.lock, pnpm-lock.yaml, Cargo.lock, poetry.lock, go.sum)npm install instead of npm ci in a Dockerfile without a lockfile leads to inconsistent builds.dockerignore filenode_modules, .git, dist, .env.dockerignore causes bloated build contexts and potential secret leaks/health or /healthz or /api/health endpointHEALTHCHECK, verify the endpoint exists in codeprisma, typeorm, knex, alembic, django migrate, goose)command:, Dockerfile CMD, or Nixopus pre-deploy hook)Report as a table:
| Check | Status | Details | |-------|--------|---------| | Dockerfile | PASS/FAIL/WARN | What was found or missing | | Port match | PASS/FAIL | Expected vs actual | | Env vars | PASS/FAIL | Count of missing vars | | Build command | PASS/FAIL | The command found | | Lockfile | PASS/WARN | Which lockfile, or none | | .dockerignore | PASS/WARN | Present or missing | | Healthcheck | PASS/WARN | Endpoint found or none | | Migrations | PASS/WARN/N/A | Migration tool and command |
Only block deployment (report FAIL) for checks 1-4. Checks 5-8 are warnings that should be reported but don't block.
Report the checklist table, then: Ready: what looks good Warnings: non-critical issues Blockers: must fix before deploy Recommendations: specific fixes with code blocks
tools
Compressed catalog of all Nixopus API operations for the nixopus_api() tool
development
Deploy static file sites — Caddy/nginx serving, Staticfile config, and Dockerfile patterns. Use when deploying a static HTML site with no server-side runtime, or when index.html or a Staticfile is detected at the project root.
devops
Deploy shell script applications — interpreter detection, setup scripts, and Dockerfile patterns. Use when deploying a shell script project, or when start.sh is detected.
development
Self-healing loop for failed deployments — diagnose, fix, redeploy up to 3 attempts, then escalate or rollback. Load when a deployment fails or build errors occur.