Files

9.9 KiB

name, description
name description
production-readiness-review Audit a web application for concrete production-readiness risks across security, auth, secrets, data/migrations, logging, backups, deployment, recovery, dependencies, privacy/legal obligations, testing, and operations. Use repository evidence, distinguish verified gaps from assumptions, rank findings by severity/release impact, and do not turn findings into accepted work without user approval.

Production Readiness Review

Version: 2.0.

Use this skill when the user asks whether a web application is ready for production, wants a launch audit, pre-deployment review, go-live checklist, operational risk assessment, or professionalisation review.

Repository workflow

In a BortStack project, use bortstack-context with the applicable repository AGENTS.md before task work. They govern scope and authorisation, branch/worktree policy, lifecycle, manual acceptance, and handoff. Find the maintained overview, current state, decisions, task and handoff records through repository instructions and layout. Use the paths and task IDs the project already uses. Follow context's canonical discussion, mission and lifecycle guidance when interpreting authority or changing task status. If a required BortStack skill is unavailable, report the dependency. If an installed skill lacks a required reference, use the reference from a verified Forge package with a matching manifest. If the required guidance is unavailable, pause the affected action.

For edits, inspect Git status and worktrees, confirm authorised scope and the source candidate, and follow the current branch policy. Use direct integration-branch work where authorised and a dedicated branch/worktree where required. Preserve unrelated work. Read-only specialist work does not require a new worktree. When acting as an authorised contributor, use bortstack-contributor for contributor permissions, finalisation and submission. For ordinary specialist work, use the project's normal authority.

When manual testing is relevant, discover the documented commands, configuration and hooks in the target repository. Use its supported workflow, including an existing testtask wrapper and its project-specific config or hook where documented. Preserve a working adapter and its supported invocation. Before use, inspect its supported arguments, candidate handling, runtime and cleanup behavior. If no adapter is required, use the established development environment. Record candidate identity, actual checks, limitations and pending human acceptance in the project's handoff. Refresh stale candidates after edits and make fixes in the authoritative source. A source snapshot, wrapper, automated check or startup alone does not establish a manual pass. Follow context and repository rules for task transitions and closure.

Outside BortStack, follow the repository's own scope, branch, test and reporting conventions and proceed with the specialist workflow. BortStack skills and records are optional there.

Review findings and release evidence

Report findings first. Distinguish fresh observations of the exact candidate from historical documentation and unverified infrastructure. Read the project's release authority rules. Record verified durable facts or create follow-up tasks only when authorised, using the project's lifecycle and records.

Core principle

A production-readiness review is evidence-based and release-oriented.

Do not ask "could this be improved?" Ask:

  • Can this fail, leak, corrupt, lock out, expose, or become unrecoverable in production?
  • Is the risk real in the current code/configuration/deployment path?
  • Is there evidence that the control exists and works?
  • Would this block launch, require mitigation before launch, or be acceptable follow-up?

Do not manufacture findings to fill categories.

Review workflow

1. Establish scope and deployment model

Read repository context and inspect the actual repository. Determine, where evidence permits:

  • frontend/backend/database architecture;
  • authentication and authorization model;
  • deployment topology;
  • reverse proxy/TLS setup;
  • secrets/configuration mechanism;
  • migrations/data lifecycle;
  • email or third-party integrations;
  • CI/CD and release process;
  • backup/restore approach;
  • logging/monitoring/alerting;
  • user-data/privacy/legal surface;
  • supported runtimes/dependencies.

If production infrastructure is external and not available, distinguish repository evidence from unverified production state.

2. Inspect concrete evidence

Prioritize evidence such as:

  • app configuration and example env files;
  • auth decorators/middleware/routes;
  • models and migrations;
  • error handlers;
  • Docker/Compose/Nginx/SWAG/proxy config;
  • CI workflows;
  • dependency manifests and lockfiles;
  • tests;
  • operational docs/runbooks;
  • backup scripts/config;
  • health checks;
  • log configuration;
  • legal/privacy pages and data-handling code where relevant.

Do not rely on README claims when code/config says otherwise.

3. Evaluate the review domains

Use references/readiness-checklist.md as a coverage guide. Skip irrelevant domains. Use references/finding-quality.md to check evidence and severity.

Important domains include:

  • authentication and authorization;
  • session/token lifecycle;
  • input validation and output handling;
  • secrets and environment configuration;
  • database constraints/migrations/data integrity;
  • backup and restore;
  • error handling and information exposure;
  • logging, monitoring, alerting, and health;
  • rate limits/abuse controls when the app exposes abuse-prone endpoints;
  • dependency/runtime support and pinning;
  • container/reverse-proxy/TLS hardening;
  • CI/CD and rollback/recovery;
  • email/webhook/third-party failure handling;
  • privacy, retention, consent, legal pages, and data deletion where the product requires them;
  • test coverage for critical flows;
  • operational ownership/runbooks.

4. Prove findings

Every finding must include a concrete evidence path.

Good finding:

Password-reset tokens remain valid after use because the reset route verifies the token but never revokes or rotates the associated reset state; the same token can therefore be replayed until expiry.

Weak finding:

Consider improving password reset security.

Do not report the weak form.

5. Rank findings

Use these severities:

  • Critical — immediate compromise, destructive data-loss path, or release-blocking defect with severe impact and realistic exploit/failure path.
  • High — serious security/reliability/data-integrity/operational risk that should normally block production launch until fixed or explicitly mitigated.
  • Medium — meaningful production risk that should be addressed soon but may be acceptable for launch with conscious mitigation/monitoring.
  • Low — real but limited operational or maintainability risk; useful follow-up, not launch-blocking by itself.

Also assign a release disposition when useful:

  • Block launch
  • Fix before launch
  • Mitigate/monitor for launch
  • Post-launch follow-up

Do not automatically translate these into repository P0/P1 task priorities.

6. Validate where practical

Run non-destructive checks that materially improve confidence, such as:

  • backend/frontend test suites;
  • lint/build;
  • migration validation on a disposable database;
  • config syntax checks;
  • Docker Compose validation;
  • dependency metadata checks available locally;
  • health/smoke checks against a local environment;
  • backup/restore test only when safe and supported.

Do not mutate production, rotate secrets, run destructive migrations, purge data, or alter infrastructure without explicit authorization.

If validation is blocked, say exactly why and reduce confidence accordingly.

7. Produce a release-oriented verdict

Use one of:

  • Ready — no material launch blockers found in reviewed scope.
  • Ready with conditions — launch may proceed only with explicit mitigations/known follow-up.
  • Not ready — one or more launch-blocking risks remain.
  • Review incomplete — evidence/runtime access is insufficient for a defensible readiness verdict.

Do not say "Ready" if critical production surfaces were unavailable and unverified.

Output format

Start with the verdict and one concise explanation.

Then list only substantiated findings, highest severity first. For each include:

  • Severity
  • Release disposition
  • Location/domain
  • Risk
  • Evidence / execution path
  • Recommended remediation
  • Validation that should prove remediation

Then include:

  • Scope/evidence inspected
  • Validation run and exact results
  • Areas reviewed with no material findings
  • Unverified production assumptions / remaining uncertainties
  • Suggested next actions
  • Context/task updates made, if any

If there are no findings in a domain, do not invent one.

Safety and scope rules

  • Review is read-only by default.
  • Do not commit, push, deploy, rotate credentials, change DNS/TLS, or modify production infrastructure unless explicitly asked.
  • Do not expose secret values in the report. If secrets are committed, identify locations/types without reproducing the secret.
  • Do not weaken security to make tests pass.
  • Do not call historical test output fresh validation.
  • Do not assume a backup is usable merely because backup files/scripts exist; restore evidence matters.
  • Do not claim compliance certification (GDPR, PCI DSS, SOC 2, etc.) from a repository review.
  • Do not treat generic best-practice absence as a finding unless it creates a concrete risk for this application/deployment model.

Completion criteria

A review is complete only when:

  1. repository/deployment evidence has been inspected sufficiently for the requested scope;
  2. findings are concrete and evidence-backed;
  3. severity/release impact is justified;
  4. available non-destructive validation has been run or its absence explained;
  5. production-only unknowns are clearly separated from repository facts;
  6. the verdict matches the actual evidence.