deploy-check
Run a production preflight across release scope, tests, builds, secrets, migrations, dependencies, configuration, observability, and rollback. Use when deploying, pushing, or approving a release.
How do I install this agent skill?
npx skills add https://github.com/tushaarmehtaa/tushar-skills --skill deploy-checkIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a comprehensive pre-deployment checklist. It focuses on repository inspection, running local verification scripts, and identifying potential secret exposures without exfiltrating data or bypassing safety protocols.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerfail
1/1 file flagged
What does this agent skill do?
Deploy check
Assess release readiness without deploying or pushing unless the user separately authorizes that action. A preflight can establish observed checks and unknowns; it cannot guarantee production safety.
Workflow
- Detect repository root, workspaces, package managers, CI config, deploy target, release branch/base, and current worktree state. Do not assume
origin/mainexists. - Determine release scope from the merge base or deployment range. Include committed, staged, unstaged, and untracked files as separate categories. Never overwrite or discard user changes.
- Run the project’s existing verification commands in the same order/configuration as CI where feasible: formatting/lint, type checks, unit/integration tests, build, and relevant smoke tests. Do not use
npxto download an undeclared checker when the project already defines scripts or lockfiles. - Scan staged content and release diff for likely credentials, private keys, tokens, connection strings, and accidentally tracked environment files. Filename matching alone is insufficient. Never print a discovered secret value, even one that looks fake, test-mode, placeholder, or already exposed. Name the file, line, variable, and key type, and show at most the key prefix (for example
sk_test_…). Redact values in quoted code, command output, and build-artifact excerpts too. - Review dependency and lockfile changes, runtime/engine changes, generated artifacts, and known deployment-platform constraints. Report what was inspected; do not imply a vulnerability audit unless one actually ran.
- Review migrations for target, ordering, backward compatibility, lock/rewrite risk, data backfill, expand-contract sequencing, and rollback/roll-forward plan. Never casually instruct the user to run a production migration before compatible code is deployed.
- Diff environment-variable references and deployment config. Classify each value as public/server-secret/build-time/runtime and mark production presence as verified only if the target environment was actually inspected.
- Check user-visible docs/release notes, monitoring/alerts, feature flags, scheduled jobs, queues, and third-party dashboard changes when relevant.
Verdict
Return one of:
READY: all required checks passed and no known blocker remains;BLOCKED: a reproducible release blocker exists;NEEDS CONFIRMATION: automated checks passed but external state or an authorized manual step is unverified.
Output
Report release base/head and scope, commands with exit status, blockers, warnings, migrations and rollout order, config/secrets findings without values, external confirmations, rollback/roll-forward notes, and the evidence behind the verdict. Always include a rollback section: how to return to the previous deploy, and which steps (migrations, data writes, sent messages) a code rollback does not undo. Never say “safe to push” solely because type checking passed.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/tushaarmehtaa/tushar-skills/deploy-check">View deploy-check on skillZs</a>