Claude Templates / C-tier · Discipline

Discipline

The Pre-Production Hardening Checklist

The last pass before public traffic — secrets, RLS, headers, limits, legal.

PRE-PRODUCTION-HARDENING-CHECKLIST.md · 19 sections · 1,990 words · 13 KB · markdown

A line-by-line checklist to run in launch week. Secret hygiene and rotation, row-level security coverage, security headers, rate limits on anything that costs money, a Core Web Vitals baseline, and the legal pages you can't launch without.

What's inside

When to use it

Launch week, before public traffic.

Build these first

Nothing. This one stands alone.

Straight from the file

Portable across any Next.js + Supabase + Vercel + Trigger.dev SaaS. Built from the BKE / Kompozy launch sequence. Reference repo: reference app.

Table of contents

  1. 0. Use this checklist
  2. 1. Secrets audit
  3. 2. Auth + edge gating
  4. 3. RLS verification
  5. 4. Security headers
  6. 5. Rate limiting
  7. 6. Webhooks
  8. 7. Database hygiene
  9. 8. Email auth
  10. 9. Error monitoring
  11. 10. CWV baseline
  12. 11. Customer-facing legal
  13. 12. SEO + GEO baseline
  14. 13. Domain + DNS
  15. 14. Deploy verification
  16. 15. Smoke tests (run after deploy lands)
  17. 16. Documentation
  18. Common pitfalls
  19. Kickoff prompt

How to run it

Drop PRE-PRODUCTION-HARDENING-CHECKLIST.md into your repo, then tell Claude Code: “Read PRE-PRODUCTION-HARDENING-CHECKLIST.md and implement it in this codebase.” It's written for an agent to execute end to end. Search the file for angle-bracket placeholders and swap in your own project names, domains, and keys before the first run.

↓ Download the playbook

More discipline playbooks

← All 28 Claude templates