Ecc production audit

From Undermybelt/hermes-skills · View interactive version

Ecc production audit is an AI agent skill from the GitHub repository Undermybelt/hermes-skills. Local-evidence production readiness audit for shipped apps, pre-launch reviews, post-merge checks, and "what breaks in prod?" questions without sending repo data to an external audit service.

How to use this skill

Skill file

Production Audit

Use this skill when the user asks whether an application is ready to ship, what

could break in production, or what must be fixed before a launch. This is a

maintainer-safe rewrite of the stale community production-audit idea: it keeps

the useful production-readiness lens and removes unpinned external execution and

third-party data sharing.

When to Use

did we miss", "audit this repo", or "ready to ship?"

evidence gathering.

When Not to Use

use security-review first.

wants packaging/release readiness rather than application readiness.

triage, not legal, financial, medical, or regulatory certification.

CI, or runtime surface.

How It Works

Build the audit from local and user-authorized evidence. Do not run unpinned

remote code, upload repository contents to third-party services, or call

external scanners unless the user explicitly approves that specific tool and

data flow.

Use this order:

  1. Establish the release surface.
  2. Read recent changes and current branch state.
  3. Inspect runtime, auth, data, payment, background-job, AI, and deployment

boundaries that actually exist in the repo.

  1. Check CI, tests, migrations, environment documentation, and rollback path.
  2. Produce a short ship/block recommendation with specific fixes.

Evidence Checklist

Start with cheap, local signals:

git status --short --branch
git log --oneline --decorate -20
git diff --stat origin/main...HEAD

Then inspect the project-specific surface:

manifests.

database migrations.

If a deployed URL is in scope, use browser or HTTP checks only against that URL

and avoid credentialed actions unless the user supplies a safe test account.

Risk Lenses

Security And Auth

files?

where the app needs them?

untrusted content crossing into privileged actions?

Data Integrity

tenancy model?

Payments And Webhooks

Operations

User Experience

submission states?

happened?

Scoring

Use scores to force prioritization, not to imply mathematical certainty.

| Band | Score | Meaning |

| --- | --- | --- |

| Blocked | 0-49 | Do not ship until the top risks are fixed |

| Risky | 50-69 | Ship only behind a small rollout or internal beta |

| Launchable With Caveats | 70-84 | Ship if owners accept the listed risks |

| Strong | 85-100 | No obvious launch blockers from available evidence |

Cap the score at 69 if any of these are true:

Cap the score at 84 if CI is not green or the launch-critical path was not

tested end to end.

Output Format

Lead with one sentence:

Production audit: 76/100, launchable with caveats, with webhook idempotency and rollback docs as the two risks to fix before public launch.

Then list:

Keep strengths short. The user asked for readiness, so the useful answer is the

remaining risk and the next action.

Example

User:

is this ready to ship?

Response:

Production audit: 68/100, risky, because Stripe webhooks are verified but not idempotent and there is no rollback note for the pending migration.

Blockers:
- Add idempotency for `checkout.session.completed` before fulfilling orders.
- Write and test the rollback path for `20260511_add_billing_state.sql`.

High-value fixes:
- Add a health check that verifies database and payment-provider reachability.
- Add one E2E path for upgrade, webhook fulfillment, and billing-page refresh.

Evidence checked:
- `api/stripe/webhook.ts`
- `db/migrations/20260511_add_billing_state.sql`
- GitHub Actions run for the release branch

Next action: Want me to patch webhook idempotency first?

Anti-Patterns

audit service without explicit approval.

See Also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.