agentleFS
hamzaciftcihamzaciftci/coding-orchestra/skills/deployment-readiness/SKILL.md

deployment-readiness

Skill0 starsChanged 38 days agoMITView on GitHub

Checks whether a web project is ready to ship and closes the gaps, covering the build gate, environment variables, Vercel, serverless and edge runtime fit, database connections and migrations, cron and webhooks, monitoring, a release checklist and a post-deploy smoke test. Use when the user wants to deploy, go live, launch or prepare a release, when a production build or deployment is failing, or when a finished deployment needs verifying.

3 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

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 3

    Distinctive

    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:

    Never print, log or copy secret values.

    line 18
  2. Very specific:

    Do not get a green build by hiding errors: no ignoreBuildErrors, no ignoreDuringBuilds, no blanket @ts-ignore, no skipped tests.

    line 19
  3. Distinctive:

    Check production fit: Read references/production-pitfalls.md and look for each failure mode in the code.

    line 31
  4. Distinctive:

    Always include the rollback path.

    line 47

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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 readiness

The deliverable is a go / no-go verdict the user can trust, with the evidence behind it, plus fixes for whatever blocks a release. "It builds on my machine" and "it works in production" are separated by a known set of differences; most of this skill is about those.

Boundaries

  • Prepare the release; do not perform it unless the user explicitly asks in this conversation. Deploying, running migrations against a production database and changing platform environment variables affect live users, so present the exact commands and a rollback path and let the user decide.
  • Never print, log or copy secret values. Variable names and "set / missing" are all a report needs. Do not open real env files; the inventory script below works from source code and the example file.
  • Do not get a green build by hiding errors: no ignoreBuildErrors, no ignoreDuringBuilds, no blanket @ts-ignore, no skipped tests. If one of these is already in the project, that is a finding.

Approach

  1. Run the project's own gates in the order it defines them (typically install, typecheck, lint, test, build) and record real output. Fix root causes of failures.
  2. Inventory configuration. From this skill's directory:

    node scripts/env-inventory.mjs <project-dir>

    It reports variables the code reads but the example file does not document, public-prefixed names that look like secrets, env files tracked by git, and whether startup validation exists.

  3. Check production fit. Read references/production-pitfalls.md and look for each failure mode in the code. These are the things that pass local development and break on the platform: runtime mismatches, connection exhaustion, in-memory state, cron paths, caching defaults, migration commands.
  4. Work through references/release-checklist.md. Every item gets a status and the evidence for it.
  5. After a deployment exists (preview or production), verify it:

    node scripts/smoke.mjs https://<deployment-url> / /login /api/health

    GET requests only. It reports status, timing and which security headers are present. Follow it with the critical user flow by hand or with the project's end-to-end tests.

Giving the verdict

State one of Ready, Ready with conditions or Not ready, then the reasons.

Much of production readiness cannot be seen from a repository: whether variables are set on the platform, whether cron actually fires, whether error tracking receives events, whether the database has backups. List these as items for the user to confirm, with where to look. Do not tick them on assumption, and do not call a release verified when the smoke test was not run against the real deployment.

Always include the rollback path. On most platforms rolling back the code is instant and rolling back the database is not, so say which migrations in this release are not backward compatible with the previous code.

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.