Skip to content

Go live

Markdown

.agents/skills/go-live/SKILL.md — 115 lines of instruction that ship inside the starter. This page is generated from it, so it says what the skill does without republishing it.

The skill description, verbatim — this is the text an agent matches your request against:

Take a ZeroDirs directory site from a local checkout to a running site on Cloudflare, one question at a time — pnpm cf:setup for the first deploy (Worker name, custom domain or workers.dev, D1, R2, migrations, deploy, admin secret), then the steps it leaves to the owner (D1 as the build source, Workers Builds and the Deploy Hook, email, payments) and how to verify each. Use when asked to deploy, go live, launch, put the site online, or set up Cloudflare for this project.

    1. Before touching the account
    1. The first deploy — pnpm cf:setup
    1. The site reads D1 instead of Markdown
    1. Publish on approval — Workers Builds and the Deploy Hook
    1. Email
    1. Payments
    1. Verify
  1. What not to do
Terminal window
pnpm check:config
pnpm cf:setup
pnpm exec wrangler login # once; opens a browser on the owner's account
pnpm cf:setup --dry-run # prints the plan: names, route, what will be created
pnpm cf:setup # does it; asks once, then runs every step
pnpm exec wrangler whoami
pnpm db:seed:remote --dataset <name> --with-images --with-favicons
pnpm build
pnpm exec wrangler deploy
pnpm cf:secrets DEPLOY_HOOK_URL
pnpm deploy
pnpm cf:secrets STRIPE_SECRET_KEY STRIPE_WEBHOOK_SECRET
pnpm db:seed:remote
pnpm cf:secrets

site.config.ts · wrangler.jsonc · worker-configuration.d.ts · src/content/listings/

Skills load themselves — you describe the outcome, not the skill. “Add a Compliance category with an icon and seed it” is enough for an agent that can see .agents/skills/; Claude Code reads .claude/skills/, which pnpm skills:sync mirrors from .agents/ on every install. See Working with an agent.