Production Readiness — Claude Code Plugin
Like having a senior engineer + QA tester do a final review before you deploy.
A comprehensive production readiness audit for Claude Code. Run /production-readiness on any project to get a structured report covering security & supply chain, visual QA, code quality, testing, error handling & observability, build configuration, performance, accessibility, and AI/LLM safety — with actionable fixes for every issue found.
Why This Exists
Deploying to production is stressful. You check one thing, forget another. Did you leave console.log in? Are there hardcoded API keys? Does the mobile layout break? Is the build even passing?
This plugin runs 75+ automated checks across 9 categories and produces a single, prioritized report. It adapts to whatever tech stack you're using — no configuration needed.
The 9 Pillars
| # | Pillar | What's Checked |
|---|
| 1 | Security & Supply Chain | Hardcoded secrets, .env safety, dependency vulnerabilities, input validation, auth config, rate limiting, security headers, error exposure, SQL injection, XSS, CORS, dependency licenses, git-history secret scanning, lockfile integrity, SBOM/build provenance, dependency freshness, webhook signature verification |
| 2 | Visual QA | Screenshots every page at desktop + mobile viewports, then inspects each for layout issues, spelling mistakes, responsive problems, broken UI, and visual inconsistencies |
| 3 | Code Quality | console.log / debugger statements, TODO/FIXME comments, lint errors (ESLint 9 flat config / Biome / Oxlint aware), type errors, unused dependencies, security linting |
| 4 | Testing | Runs your test suites (Vitest / Jest / bun test / pytest / …), reports pass/fail and coverage, flags untested critical paths, skipped/.only tests, and flakiness signals |
| 5 | Error Handling & Observability | Error boundaries, error tracking (Sentry etc.), health checks, structured (JSON) logging, sensitive data in logs, distributed tracing (OpenTelemetry) + correlation IDs, graceful shutdown, monitoring & alerting |
| 6 | Config & Build | Build passes, env vars documented, source maps hidden, no dev-only leaks, HTTPS redirects, Docker security, container orchestration, platform deploy configs, serverless/edge fitness, CI/CD pipeline hygiene, DB migration safety, runtime version pinning |
| 7 | Performance | Image optimization, bundle size, caching, N+1 query patterns, lazy loading, Core Web Vitals, fonts, third-party scripts, API response size, compression (Brotli/gzip), DB connection pooling, rendering/asset delivery |
| 8 | Accessibility | Semantic HTML, ARIA, keyboard navigation, color contrast, screen reader support, automated a11y testing, WCAG 2.2 criteria (target size, focus-not-obscured, accessible auth), language & media captions |
| 9 | AI/LLM Safety | Prompt-injection surfaces, secret/PII leakage into prompts, untrusted output handling, token/cost guardrails, model & SDK pinning, AI-endpoint reliability, AI observability & moderation (runs only when an AI integration is detected) |
Install
# Add the marketplace, then install the plugin
claude plugin marketplace add Meghshyams/production-readiness
claude plugin install production-readiness@production-readiness-plugins
Or from within a Claude Code session: /plugin marketplace add Meghshyams/production-readiness, then /plugin install production-readiness.
Or clone and load locally for a single session:
git clone https://github.com/Meghshyams/production-readiness.git
claude --plugin-dir ./production-readiness
Usage
# Full audit — all 9 pillars
/production-readiness
# Run specific pillars only
/production-readiness --only=security,testing
# Skip specific pillars
/production-readiness --skip=visual,performance
# Override dev server port
/production-readiness --port=3000
# Apply safe mechanical fixes after the audit (with confirmation)
/production-readiness --fix
Pillar names for --only / --skip: security, visual, quality, testing, build, errors, performance, accessibility, ai
Fix Mode
With --fix, the plugin lists findings that have safe, mechanical fixes (gitignore entries, missing .dockerignore, lang attribute, stray debugger / .only, unpinned :latest Docker tags, …), asks for confirmation, and applies them. Anything judgment-dependent (auth logic, CSP values, query rewrites) is never auto-fixed — the report's fix suggestion is the deliverable there.
How It Works
Phase 1: DETECT
├── Identifies your framework, package manager, test runner, lint tool, ORM
├── Finds your page/route list
├── Checks for cached results from previous runs
└── Shows summary table + cache status before proceeding