Playbooks
Prompt-to-PR playbooks: the full SOP for a change.
10 entries
Prompt-to-PR: Add a Pricing Page
SOP for generating a production pricing page with monthly/annual toggle, feature matrix, and Stripe Checkout links in a Next.js Tailwind project.
Prompt-to-PR: Add a Sitemap and robots.txt
SOP for adding a dynamic XML sitemap and robots.txt to a Next.js or Astro project — correct lastmod, priority, and crawl rules for production SEO.
Prompt-to-PR: Add an Admin Data Table
SOP for adding a server-side paginated, sortable, searchable admin data table in Next.js using TanStack Table and a PostgreSQL query — no ORM magic.
Prompt-to-PR: Add Better Auth to a Next.js App
Full SOP for wiring Better Auth into a Next.js App Router project — sessions, email/password, OAuth, and middleware protection in one pass.
Prompt-to-PR: Add Cloudflare R2 File Upload
End-to-end SOP for wiring presigned R2 uploads into a Next.js or Cloudflare Workers app — bucket binding, presigned URLs, and client upload flow.
Prompt-to-PR: Add Dark Mode
End-to-end SOP for adding flicker-free dark mode to a Next.js Tailwind app using next-themes — class strategy, system preference, and persisted toggle.
Prompt-to-PR: Add Pagefind Search to an Astro Site
The full SOP for adding static, zero-backend search to an Astro site with Pagefind — from first prompt to PR description.
Prompt-to-PR: Add PostgreSQL Full-Text Search
SOP for adding native PostgreSQL full-text search with tsvector, GIN index, ts_rank, and a Next.js search API — no third-party search service needed.
Prompt-to-PR: Build a Static SEO Site with Astro
Complete SOP for scaffolding a content-driven static SEO site with Astro, Tailwind, MDX content collections, sitemap, and canonical tags from scratch.
Prompt-to-PR: Migrate Next.js 14 to 16
Step-by-step SOP for migrating a Next.js 14 App Router project to Next.js 16 — Turbopack, React 19, async APIs, and caching changes covered.