cloudflare-lead-capture
Scaffold Cloudflare Pages or Workers lead-capture systems (Pages Functions OR Astro SSR API routes) with D1 contacts, web forms, Resend email templates, unsubscribe links, Turnstile checks, exports, and a small admin UI when a project needs repeatable email database infrastructure.
Why it exists
Hat Trick / waitlist work kept being rewritten. Packaged as scaffold + doctor + setup.
History
1.2–1.3
Pages Functions + Astro SSR modes; lead-never-lost ordering (D1 first, email best-effort).
How Jack actually uses it
Scaffold into Pages or Astro SSR. Never paste Resend keys into chat.
What it is not
Not a generic tutorial. It's the house runbook for this machine and these agents.
History
Skill patch — Resend project domain (2026-07-20)
Agents must create/verify the project custom domain in Resend when the zone is on Cloudflare — not silently ship From on a sibling verified domain. See SKILL.md § domain / anti-patterns.
Related
Package
Version 1.4.0
· install pin efd09da
· SSOT skills/cloudflare-lead-capture/ on GitHub
· agents: claude-code, codex, autojack