Ultimate production readiness skill that orchestrates all relevant skills (frontend, backend, security, performance, SEO, testing, DevOps) to harden applications before deployment / Skill kesiapan produksi utama yang mengorkestrasi semua skill relevan (frontend, backend, keamanan, performa, SEO, testing, DevOps) untuk mengeraskan aplikasi sebelum deployment.
Instalação
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Ultimate production readiness skill that orchestrates all relevant skills (frontend, backend, security, performance, SEO, testing, DevOps) to harden applications before deployment / Skill kesiapan produksi utama yang mengorkestrasi semua skill relevan (frontend, backend, keamanan, performa, SEO, testing, DevOps) untuk mengeraskan aplikasi sebelum deployment.
The Production-Ready Hardener is a master orchestrator skill that combines and delegates to all relevant vibes-plug skills to ensure your application is rock-solid, secure, performant, and production-grade before deployment. It acts as a comprehensive pre-production checklist that leaves no stone unturned — from frontend polish to backend resilience, from data security to observability.
This skill does NOT replace individual skills — it coordinates them into a structured, phased audit-and-hardening workflow.
When this skill is triggered, execute the following 7-phase hardening process in order. Each phase produces findings and recommendations. At the end, compile a Production Readiness Report.
Documentation — CHANGELOG.md and BLUEPRINT.md up-to-date via auto-doc-updater
README — clear setup instructions, architecture diagram, and deployment guide
Automated Readiness Scanner
An automated Python scanner script is included at production_readiness_scanner.py to perform all check phases automatically. It automatically detects technology stacks (Vite, React 19, Supabase, Vitest, Playwright, ESLint) and parses local developer logs (tsc_errors.txt, eslint_output.txt, etc.) to calculate a live readiness score and compile an interactive, clickable markdown report (PRODUCTION_READINESS_REPORT.md).
Usage:
# Run basic static checklist checks on a project
python scripts/production_readiness_scanner.py /path/to/project
# Run active compilation, linting, and test execution diagnostics
python scripts/production_readiness_scanner.py /path/to/project --run-tsc --run-lint --run-tests --run-build
Production Readiness Report Format
After completing all 7 phases, compile a Production Readiness Report with:
# Production Readiness Report## Executive Summary
Overall readiness score (0-100) with letter grade (A/B/C/D/F).
## Phase Scores
| Phase | Score | Critical Issues | Warnings |
|-------|-------|-----------------|----------|
| 1. Architecture & Code Quality | XX/100 | N | N |
| 2. Frontend Hardening | XX/100 | N | N |
| 3. Backend Hardening | XX/100 | N | N |
| 4. Security Hardening | XX/100 | N | N |
| 5. Testing & QA | XX/100 | N | N |
| 6. Performance & SEO | XX/100 | N | N |
| 7. DevOps & Deployment | XX/100 | N | N |
## 🔴 Critical Issues (Must Fix Before Production)
List of blockers that MUST be resolved.
## 🟡 Warnings (Should Fix)
List of important improvements.
## 🔵 Recommendations (Nice to Have)
List of enhancements for future iterations.
## Remediation Plan
Step-by-step action items ordered by priority.
Scoring Methodology
Each phase is scored 0-100 based on checklist completion:
Note: Security is weighted highest because data breaches and vulnerabilities are the most damaging production issues.
Trigger Conditions
Active whenever the user asks to:
Prepare an application for production deployment.
Run a production readiness review, pre-launch checklist, or hardening audit.
Ensure an application is secure, performant, and robust before going live.
Perform a comprehensive quality audit across frontend, backend, and infrastructure.
Bahasa Indonesia
Deskripsi
Production-Ready Hardener adalah skill orkestrator utama yang menggabungkan dan mendelegasikan ke semua skill vibes-plug yang relevan untuk memastikan aplikasi Anda kokoh, aman, berperforma tinggi, dan siap produksi sebelum deployment. Skill ini berfungsi sebagai checklist pra-produksi komprehensif yang tidak meninggalkan celah — dari polish frontend hingga ketahanan backend, dari keamanan data hingga observability.
Skill ini TIDAK menggantikan skill individual — ia mengoordinasikan mereka ke dalam alur kerja audit-dan-pengerasan yang terstruktur dan bertahap.
Ketika skill ini dipicu, jalankan 7 fase pengerasan berurutan. Setiap fase menghasilkan temuan dan rekomendasi. Di akhir, compile sebuah Laporan Kesiapan Produksi.
FASE 1: Audit Arsitektur & Kualitas Kode
Struktur proyek mengikuti clean architecture
Prinsip SOLID diterapkan konsisten
Pelanggaran DRY diidentifikasi dan di-refactor
Kontrak API menggunakan desain spec-first (OpenAPI/GraphQL)
Error handling terstruktur dan konsisten
TypeScript strict mode aktif, tanpa tipe any
Validasi input di semua batas API (Zod, Pydantic)
Tidak ada hardcoded value — semua konfigurasi via environment variable
Dead code dieliminasi
Audit dependensi — semua paket up-to-date, tanpa CVE
FASE 2: Pengerasan Frontend
Server Components secara default
Suspense boundary dengan loading state bermakna
Error boundary di setiap segmen halaman
Pattern React 19 digunakan dengan benar
Tidak ada hydration mismatch
Aksesibilitas (a11y) — HTML semantik, ARIA, navigasi keyboard
Desain responsif — berfungsi sempurna di mobile, tablet, desktop
Optimasi gambar dengan next/image, WebP/AVIF, lazy loading
Analisis bundle — tanpa library besar yang tidak perlu
Meta tags lengkap di setiap halaman
Strategi state management dan caching yang tepat
FASE 3: Pengerasan Backend
Semua perubahan schema via database migration
Connection pooling dikonfigurasi
Index yang tepat pada kolom yang sering di-query
Pencegahan N+1 query
API rate limiting aktif
Idempotency key untuk mutation endpoint
Background job queue untuk tugas berat
Graceful shutdown dengan penanganan SIGTERM
Health check endpoint (/healthz, /readyz)
Structured logging dengan correlation ID
FASE 4: Pengerasan Keamanan
Autentikasi OAuth 2.0 / OIDC
Otorisasi RBAC/ABAC pada semua route dilindungi
RLS aktif di SEMUA tabel publik (Supabase/PostgreSQL)
Firebase Security Rules ketat
CORS dengan allow-list eksplisit (bukan *)
CSP headers dikonfigurasi
HTTPS dipaksakan dengan HSTS
Semua secret di environment variable / secret manager
Script scanner Python otomatis tersedia di production_readiness_scanner.py untuk menjalankan seluruh fase pemeriksaan secara otomatis. Scanner ini mendeteksi stack teknologi (Vite, React 19, Supabase, Vitest, Playwright, ESLint) serta mem-parsing file log error lokal (tsc_errors.txt, eslint_output.txt, dll) untuk mengkalkulasi skor kesiapan rilis dan menyusun laporan markdown interaktif (PRODUCTION_READINESS_REPORT.md).
Cara Penggunaan:
# Jalankan pemeriksaan checklist statis dasar pada proyek
python scripts/production_readiness_scanner.py /path/to/project
# Jalankan diagnostik aktif termasuk typecheck tsc, linter eslint, unit test, dan bundle build
python scripts/production_readiness_scanner.py /path/to/project --run-tsc --run-lint --run-tests --run-build
Metodologi Penilaian
Setiap fase dinilai 0-100 berdasarkan penyelesaian checklist: