production-readiness
Skill0 starsChanged 7 months agoApache-2.0View on GitHub
Run an OSS-only production readiness audit of a codebase and emit a Markdown report with file:line citations, severity-ranked findings, a "What's Good" section, and a Go/No-Go verdict. Use when the user asks to audit production readiness, run a deployment readiness check, perform a pre-release audit, validate ship-readiness, generate a production readiness report (PRR), or scan for security/observability/scalability/reliability gaps before going live. Triggers on phrases like "production readiness", "PRR", "deployment readiness", "pre-release audit", "ship-readiness", "is this prod-ready", "production audit". Supports phase flags (--only, --skip), opt-in DAST/load/visual phases (--include), caching (--cached, --fresh), and parallel execution.
- Installs packages
16 other projects use a version of this.
Adopted by
Most recently taken up by
- fmind/dottheir own version, first seen Oct 5, 2026
- gilsmt/skillstheir own version, first seen Oct 4, 2026
- kleosr/bridletheir own version, first seen Sep 29, 2026
- caiaffa/claude-code-ultimate-engineering-systemtheir own version, first seen Sep 14, 2026
- KbWen/agentic-ostheir own version, first seen Sep 10, 2026
- SuperLogicAI/production-readinesstheir own version, first seen Aug 21, 2026
Used with
Projects with it also use database-design, incident-response and 6 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.
CloudAI-XSkilldatabase-design
Designs database schemas, indexing strategies, query optimization, and migration patterns for SQL and NoSQL databases. Use when designing tables, optimizing queries, fixing N+1 problems, planning migrations, or when asked about database performance, normalization, ORMs, or data modeling.
Also in 3 projects that use this
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 3 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 3 projects that use this
OpenAISkilldispatching-parallel-agents
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Also in 3 projects that use this
OpenAISkillusing-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
Also in 3 projects that use this
- +3 more from openai
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- KbWen/agentic-os★ 206same name
- magnus919/agent-skills★ 109same name
- KbWen/agent-virtual-office★ 35same name
- suhailkakar/the-skills★ 26same name
- caiaffa/claude-code-ultimate-engineering-system★ 17same name
- wpank/ai★ 11same name
- fmind/dot★ 10same name
- Vimalk0703/shipworthy★ 6same name
- dekoza/oh-my-slop★ 4same name
- gilsmt/skills★ 2same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- doc-authoringSkill
- github-actionsSkill
- spec-driven-tddSkill
- text-humanizerSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 116
If a tool is unavailable, the orchestrator marks that phase as SKIPPED — tool unavailable rather than failing the whole run.
- Very specific: line 125
Run scripts/scan.sh with the user's flags.
- Distinctive: line 143
After the report is written, output to the user:
- Very specific: line 152
Respect
.gitignore: Never scan node_modules, dist, build, .venv, __pycache__, .production-readiness. - Very specific: line 153
Time-box: Default 600 s per phase, total wall clock left to user.
- Distinctive: line 156
OSS-only: Do not invoke paid/SaaS scanners (SonarCloud, Snyk Cloud, Datadog, Vanta, JFrog Xray) even if API keys are present.
- Distinctive: line 157
Verify before recommend: Before suggesting a tool's finding to the user, sanity-check: does the file/line actually exist in the current …
- Very specific: line 181
When working in this skill, load references/checklist.md to answer "what does prod-ready mean for X?" and references/tool-matrix.md to …
“Common” is measured: kept by at least 6 in 10 of the 15 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.
Files
Production Readiness Skill
Overview
Orchestrate deterministic OSS scanners across a multi-language repo (TypeScript/React, Python, containers, Helm/K8s manifests, IaC) and synthesize results into a single audit report. The skill installs missing tools on demand, runs the scanners in parallel where possible, parses their JSON/SARIF output, and writes a human-readable Markdown report plus machine-readable artifacts to .production-readiness/.
This skill differs from LLM-only readiness reviewers by relying on real CVE/secret/IaC databases (OSV, Trivy DBs, TruffleHog verifiers, Checkov policies). The LLM's role is triage and synthesis, not pattern detection.
Tools used (all OSS): Trivy, Semgrep CE, TruffleHog, Gitleaks, detect-secrets, OSV-Scanner, pip-audit, Bandit, Ruff, Hadolint, Dockle, Checkov, kube-score, Polaris, kubescape, OpenSSF Scorecard, Lighthouse CI, axe-core, OWASP ZAP (opt-in), k6 (opt-in), Playwright (opt-in).
When to invoke
Invoke on the signals in the Workflow Router table below (prod-ready check, PRR,
pre-release audit, Go/No-Go, ship-readiness scan). Do NOT invoke for narrow
questions ("is this one function safe?") — use security-review instead.
Workflow Router
Determine the audit scope before running. This skill has one workflow shape — audit — but the scope varies. The router picks which phases run; every scope converges on the same synthesize-and-verdict phase.
Is the user re-reading a prior audit, or running a new one?
|
RE-READ (--cached) --> CACHED REVIEW
| Phases: (verify HEAD unchanged) -> Present cached report
| Refuses if HEAD moved; tells the user to drop --cached.
|
NEW AUDIT --> What scope?
|
+-> Whole repo, default coverage (no scope flags)
| --> FULL AUDIT
| Phases: Detect -> Bootstrap -> [default parallel phases] -> Synthesize -> Present
|
+-> A named subset of phases (--only / --skip)
| --> SCOPED AUDIT
| Phases: Detect -> Bootstrap -> [selected phases] -> Synthesize -> Present
|
+-> Add runtime/expensive checks (--include=dast,load,visual)
--> DEEP AUDIT
Phases: Detect -> Bootstrap -> [default + opt-in phases] -> Synthesize -> PresentSignal detection:
| Signal in request | Scope |
| "Is this prod-ready?", "run a PRR", "pre-release audit", "Go/No-Go" | Full Audit |
| "Just check secrets and deps", "only scan K8s", "skip the frontend checks" | Scoped Audit |
| "Include a DAST scan", "run load tests too", "capture visual screenshots" | Deep Audit |
| "Show me the last report", "what did the audit say" (unchanged HEAD) | Cached Review |
Stack detection (detect_stack.sh) further prunes phases automatically: a
backend-only repo skips frontend, a repo with no K8s manifests skips
k8s_iac, regardless of scope. The phase pipeline for each scope is detailed
in the sections below.
Phases
The skill runs default phases plus opt-in phases. Phases marked [parallel] run concurrently after detect/bootstrap.
| Phase script | Tools | Scope |
scripts/detect_stack.sh | — | Stack detection → .production-readiness/stack.json |
scripts/bootstrap_tools.sh | brew/pipx/upstream installers | Installs missing OSS scanners |
phases/secrets.sh [parallel] | TruffleHog, Gitleaks, detect-secrets | Git history + working tree |
phases/deps.sh [parallel] | OSV-Scanner, pnpm/npm audit, pip-audit | TS/JS + Python dependencies |
phases/sast.sh [parallel] | Semgrep CE, Bandit, Ruff | Source code (OWASP/typescript/react/python rule packs) |
phases/containers.sh [parallel] | Trivy fs (vuln+secret+misconfig), Hadolint | Dockerfiles + working tree |
phases/k8s_iac.sh [parallel] | Checkov, kube-score, Polaris, kubescape | environments/*.yaml, Helm |
phases/repo_posture.sh [parallel] | OpenSSF Scorecard | Repo metadata (GitHub remote required) |
phases/observability.sh [parallel] | grep heuristics | Logger, OTel, /healthz, structured logs |
phases/frontend.sh [parallel] | Lighthouse CI | Built SPA (perf/a11y/SEO/best-practices) |
phases/resilience.sh [parallel] | Custom Semgrep rules | Timeouts, retries, graceful shutdown, bare except |
phases/docs.sh [parallel] | File presence checks | README, RUNBOOK, ARCHITECTURE, ADRs |
phases/dast.sh [opt-in] | OWASP ZAP (Docker) | Requires --include=dast --target-url=URL |
phases/load.sh [opt-in] | k6 OSS | Requires --include=load and scripts under tests/load/ |
phases/visual.sh [opt-in] | Playwright | Requires --include=visual --target-url=URL; captures desktop+mobile screenshots |
scripts/render_report.py | — | Aggregates raw output → PRODUCTION_READINESS.md + findings.sarif |
Invocation
/production-readiness [--only=phase,phase] [--skip=phase,phase] [--include=dast,load,visual] [--target-url=URL] [--fresh] [--cached] [--no-bootstrap] [--out=PATH]--only=secrets,deps,k8s_iac— run a subset (overrides defaults).--skip=frontend,docs— skip listed default phases. Note:dast,load,visualare NOT default;--skipdoes not affect them. Use--includeto opt them in.--include=dast,visual— opt into expensive/runtime phases.--target-url=http://localhost:5173— base URL fordastandvisualphases.--fresh— invalidate cache, re-run every scanner.--cached— display the previous report unchanged (refuses ifHEADhas moved).--out=docs/PRODUCTION_READINESS.md— output path (parent dir auto-created).--no-bootstrap— skip the install step (assume tools already on$PATH).
Workflow
One command
scripts/scan.sh orchestrates everything. It runs detect → bootstrap → phases → render automatically. Steps below describe what scan.sh does internally; you don't normally invoke them yourself.
Step 1 — Detect stack
Calls scripts/detect_stack.sh. Writes .production-readiness/stack.json describing detected languages, package managers, container files, K8s manifests, frameworks. The orchestrator uses this to skip irrelevant phases automatically (e.g., skip the frontend phase on a backend-only repo).
Step 2 — Bootstrap tools
Calls scripts/bootstrap_tools.sh. It checks each scanner on $PATH and installs only what is missing, preferring brew on macOS, pipx for Python tools, falling back to upstream script: install URLs (printed for the user; never auto-piped). On Linux, apt is attempted only if passwordless sudo is available; otherwise the install is skipped with a warning. Pass --no-bootstrap to scan.sh to skip this step.
If a tool is unavailable, the orchestrator marks that phase as SKIPPED — tool unavailable rather than failing the whole run.
Host prerequisites:
- bash 3.2+ — works in practice on macOS's stock
/bin/bash. bash 4+ is recommended (and auto-picked-up via#!/usr/bin/env bashif installed viabrew install bash). jq— required for JSON post-processing inobservability.shanddocs.sh. Auto-installed bybootstrap_tools.sh. If you pass--no-bootstrap, install jq yourself first.timeoutorgtimeout— recommended. macOS users shouldbrew install coreutilsforgtimeout. The orchestrator detects either automatically; if neither is found, phases run without a timeout (and emit a warning).
Step 3 — Run scanners
Run scripts/scan.sh with the user's flags. The orchestrator:
- Loads
.production-readiness/stack.jsonand the--only/--skipfilters. - Dispatches phase scripts in
scripts/phases/*.sh. Independent phases run in parallel via&+wait. - Each phase writes
.production-readiness/raw/<phase>.<tool>.json. - Per-phase exit codes are non-fatal; failures are recorded in
.production-readiness/errors.log. - Cache: each scan is keyed by
git rev-parse HEAD.--cachedshort-circuits to the cached report only ifHEADmatches.cache-key; otherwise it refuses and tells the user to drop--cached.--freshdeletes.production-readiness/raw/first.
Step 4 — Synthesize report
Run scripts/render_report.py. It:
- Reads each
.production-readiness/raw/*.jsonand normalizes to a common finding schema (severity,tool,category,path,line,message,remediation). - Deduplicates findings that multiple tools surface (e.g., a CVE in both
pnpm auditand OSV-Scanner). - Applies the rubric in
references/report-format.mdto compute the Go/No-Go verdict and per-category scores. - Writes the report (default
PRODUCTION_READINESS.md) usingassets/report-template.mdas the skeleton. - Also writes
.production-readiness/findings.sariffor GitHub code-scanning.
Step 5 — Present results
After the report is written, output to the user:
- The verdict (GO / NO-GO / GO WITH RISKS) and the top 3 blocking issues.
- The full report path.
- Suggested next skills to chain:
security-reviewfor the diff,github-actionsto wire CI gates,doc-authoringfor missing runbooks,kanopy-drone-deployerto fixenvironments/*.yaml.
Rules
- Cite file:line for every finding that has one. If a tool does not emit a path/line, omit the cite — never print a placeholder.
- Differentiate intent. A
console.loginside a logger utility (logger.ts,logging/) is INFO, not WARN. The observability phase already excludes those paths. - Respect
.gitignore. Never scannode_modules,dist,build,.venv,__pycache__,.production-readiness. - Time-box. Default 600 s per phase, total wall clock left to user. Override via
PRR_PHASE_TIMEOUT_SEC. - Always include "What's Good". The report's first content section lists conformant practices so the user sees signal, not just noise.
- Never run write-scope commands. No
kubectl apply, noterraform apply, nodocker push. Read-only. - OSS-only. Do not invoke paid/SaaS scanners (SonarCloud, Snyk Cloud, Datadog, Vanta, JFrog Xray) even if API keys are present.
- Verify before recommend. Before suggesting a tool's finding to the user, sanity-check: does the file/line actually exist in the current tree? If a finding is stale, drop it.
Files in this skill
production-readiness/
├── SKILL.md ← this file
├── scripts/
│ ├── bootstrap_tools.sh ← installs missing OSS scanners
│ ├── detect_stack.sh ← writes stack.json
│ ├── scan.sh ← phase orchestrator
│ ├── render_report.py ← finding aggregator + Markdown writer
│ ├── phases/*.sh ← one per phase row in the Phases table above
│ └── semgrep-rules/
│ └── resilience.yml
├── references/
│ ├── checklist.md ← full PRR checklist (12-Factor + SRE PRR + Well-Architected)
│ ├── tool-matrix.md ← tool ↔ dimension mapping with install commands
│ ├── report-format.md ← rubric, severities, verdict logic
│ └── cache-management.md ← cache key strategy, invalidation rules
└── assets/
└── report-template.md ← Markdown skeleton for the final reportWhen working in this skill, load references/checklist.md to answer "what does prod-ready mean for X?" and references/tool-matrix.md to answer "which tool covers Y?". Load references/report-format.md only when synthesizing or interpreting the report.
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
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.

