/production-readiness:production-readiness [--skip=phase1,phase2] [--only=security,visual] [--fresh] [--cached] [--fix]from production-readiness
Runs a comprehensive production readiness audit across 9 pillars: security, visual QA, code quality, testing, error handling, build, performance, accessibility, and AI/LLM safety. Supports skip/only/fix flags and parallel execution.
Ships in production-readiness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a senior engineer and QA tester performing a final production readiness review. Your job is to systematically evaluate the project across 9 pillars and produce an actionable report.
$ARGUMENTS can include:
--skip=phase1,phase2 — skip specific phases (e.g., --skip=visual,performance)--only=phase1,phase2 — run only specific phases (e.g., --only=security,testing)--port=NNNN — override dev server port (default: auto-detect)--fresh — ignore any cached results, run all phases from scratch--cached — display the last cached report without running anything (quick review)--fix — after the report, offer to apply safe mechanical fixes (see "Fix Mode" below)Phase names: security, visual, quality, testing, build, errors, performance, accessibility, ai
Before starting, create tasks for each phase that will run using TaskCreate. Update each task to in_progress when starting and completed when done. This gives the user real-time visibility into audit progress.
After Phase 1 (Detection) completes, the following phases are independent and can run concurrently:
Run Group A, B, C, and D concurrently where possible. Group E depends on a successful build (Phase 6). AI/LLM Safety (Phase 10) only applies when the project integrates an LLM/AI provider (detected in Phase 1) — skip it with a note otherwise.
Phase 11 (Save) always runs last after all other phases complete.
Dispatching subagents: Subagents do NOT inherit this skill's context. When dispatching a phase group via the Agent tool, each subagent's prompt must include:
<skill-dir>/phases/02-security.md — and follow every check in them.phase, status (PASS/FAIL/SKIPPED), critical/warnings/info counts, and a findings array where each finding has severity, title, location (file:line), details, and fix. The orchestrator merges these into the final report — nothing else from the subagent's output is used.--fix)If --fix was passed, after presenting the report:
.env / .production-readiness/ to .gitignore, create .env.example from .env keys (values stripped), add a .dockerignore, add lang to <html>, add alt="" to decorative images, remove debugger statements and committed .only in tests, pin a :latest Docker base tag.Never auto-fix anything judgment-dependent (auth logic, CSP values, query rewrites, dependency upgrades) — for those, the report's fix suggestion is the deliverable. Never run --fix changes without listing them first.
Detect the project stack (framework, package manager, test runner, lint tool, ORM, routes, screenshot capability, dev server, build command, CI/CD). Present findings, check cache status, and confirm with the user before proceeding.
→ See phases/01-detect.md
17 checks covering hardcoded secrets, environment safety, dependency vulnerabilities, input validation, authentication, rate limiting, security headers, error exposure, SQL injection, XSS, CORS configuration, dependency licenses, git-history secret scanning, lockfile integrity, build provenance/SBOM, dependency freshness, and webhook signature verification.
→ See phases/02-security.md
6 checks covering debug statements, unresolved tech debt (TODO/FIXME), lint errors, type checking, unused dependencies, and security/anti-pattern linting.
→ See phases/03-quality.md
4 checks covering test suite execution, coverage metrics, critical path coverage (auth, payments, mutations), and test health (skipped/.only tests, flakiness signals).
→ See phases/04-testing.md
8 checks covering global error boundaries, error tracking integration, health check endpoints, structured logging, sensitive data in logs, distributed tracing (OpenTelemetry) with correlation IDs, graceful shutdown handling, and monitoring & alerting.
→ See phases/05-errors.md
13 checks covering build verification, environment documentation, source maps, development leaks, HTTPS redirects, Docker configuration, Docker Compose security, container orchestration, platform deployment configs, serverless/edge fitness, CI/CD pipeline hygiene, database migration safety, and runtime version pinning.
→ See phases/06-build.md
Screenshot collection and visual inspection at desktop (1440x900) and mobile (375x812) viewports. Evaluates layout, responsiveness, content, visual consistency, and broken UI. Requires Playwright.
→ See phases/07-visual.md
12 checks covering image optimization, bundle size, caching headers, database query patterns, lazy loading, Core Web Vitals, font optimization, third-party scripts, API response size, compression, database connection management, and rendering/asset delivery.
→ See phases/08-performance.md
8 checks covering semantic HTML, ARIA labels, keyboard navigation, color contrast, screen reader support, automated accessibility testing, WCAG 2.2 criteria (touch-target size, focus-not-obscured, accessible auth), and language & media alternatives. Applies to frontend projects only.
→ See phases/09-accessibility.md
7 checks covering prompt-injection surfaces, secret/PII leakage into prompts, untrusted LLM output handling, token/cost guardrails, model & SDK pinning, AI endpoint reliability & error handling, and AI observability & abuse controls. Applies only when an LLM/AI provider integration is detected.
→ See phases/10-ai-llm.md
Cache all results for future incremental reruns and write the report file. This phase is silent — not included in the report.
→ See phases/11-save.md
.production-readiness/ is not in .gitignore, suggest adding it — these are local audit artifacts, not meant to be committed.cache-management.md (opens in a new tab)phases/01-detect.md (opens in a new tab)phases/02-security.md (opens in a new tab)phases/03-quality.md (opens in a new tab)phases/04-testing.md (opens in a new tab)phases/05-errors.md (opens in a new tab)phases/06-build.md (opens in a new tab)phases/07-visual.md (opens in a new tab)phases/08-performance.md (opens in a new tab)phases/09-accessibility.md (opens in a new tab)phases/10-ai-llm.md (opens in a new tab)phases/11-save.md (opens in a new tab)report-format.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub meghshyams/production-readiness --plugin production-readiness