agentleFS
pankaj-mahaurpankaj-mahaur/Agent-Daemon/skills/engineering/production-readiness/SKILL.md

production-readiness

Skill0 starsChanged 7 days agoMITView on GitHub

Audit any web application for production launch and runtime readiness. Use when asked for production readiness, deployment hardening, launch audit, runtime health, environment checks, build readiness, logging, monitoring, rollback, backups, database operations, or background job review.

17 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use observability, testing and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 3 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 4 projects that use this

  • OpenAISkill

    systematic-debugging

    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this for launch-readiness and runtime-hardening work on any web application.

    line 13
  2. Distinctive:

    Verify current health: before deeper work:

    line 24
  3. Distinctive:

    Check recent logs for errors

    line 26

“Common” is measured: kept by at least 6 in 10 of the 17 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

Production Readiness Audit

Use this for launch-readiness and runtime-hardening work on any web application.

Workflow

  1. Read existing docs — check for deployment guides, runbooks, environment docs, and past audit notes.
  2. Check repo structure — identify separate repos, monorepo packages, or service boundaries. Understand the deploy target (Docker, Kubernetes, serverless, PaaS, etc.).
  3. Inspect runtime config without reading secrets:
    • Container/orchestration config (docker-compose, Dockerfile, k8s manifests)
    • Backend entry point and startup scripts
    • Backend settings/config (environment-based switching between dev/prod)
    • Frontend build config and environment variables
  4. Verify current health before deeper work:
    • Are all services running?
    • Check recent logs for errors
    • Hit health endpoints if available
  5. Run through the checklist categories below.
  6. Report blockers first, then risks, then cleanup.

Checklist Categories

Runtime Health

  • All services start and respond (frontend, backend, database, cache, workers)
  • Health check endpoints exist and return meaningful status
  • Graceful shutdown handles in-flight requests
  • Restart policies configured for crash recovery

Environment and Secrets

  • Production environment flag is set (not running in dev mode)
  • All required environment variables are documented
  • Secrets are not hardcoded or committed to source control
  • Sensitive config differs between environments (DB URLs, API keys, domains)

Security Configuration

  • Debug mode disabled in production
  • HTTPS enforced (HSTS headers, secure cookies, redirect HTTP → HTTPS)
  • CORS restricted to known origins
  • Content Security Policy headers set
  • Cookie flags correct (httpOnly, secure, sameSite)
  • Admin/internal endpoints not publicly accessible

Database and Migrations

  • All migrations applied and tested for safety (no data loss, no long locks)
  • Indexes exist for frequently filtered/sorted columns
  • Connection pooling configured
  • Backup strategy documented and tested
  • Rollback procedure for failed migrations documented

Observability and Operations

  • Application logging configured (not just print statements)
  • Error reporting/alerting set up (Sentry, Datadog, etc.)
  • Key metrics monitored (response times, error rates, queue depth)
  • Log rotation or external log shipping configured
  • Rollback/deploy procedure documented

Background Jobs (if applicable)

  • Job scheduler configured with correct timezone
  • Tasks have timeouts, retries, and dead-letter handling
  • Idempotency ensured for retried tasks
  • Duplicate scheduling prevented (beat lock or equivalent)

Frontend Release Gates

  • Type-check passes (tsc --noEmit or equivalent)
  • Lint passes
  • Production build succeeds
  • Bundle size within acceptable limits
  • No development-only code in production bundle

Backend Release Gates

  • Framework deploy/production checks pass
  • Lint and format checks pass
  • Test suite passes (or known failures documented)
  • No pending migrations
  • Dependency audit shows no critical vulnerabilities

Output

Group findings as:

SeverityMeaning
BlockerPrevents reliable verification or safe launch
HighProduction security, data, or runtime risk
MediumOperational weakness or scaling risk
LowDocumentation or polish gap

Each finding needs: files/config involved, what's wrong, concrete fix, and verification step.

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.