creating-an-app

Installation
SKILL.md

Creating An App

Use this when adding a new Cloudflare app under apps/.

Keep the app contract small. Each app owns a handful of tsx scripts under apps/<app>/scripts/, exposed as package scripts and built on the shared deploy primitives in scripts/lib/ (see scripts/lib/deploy-app.ts):

  • deploypnpm run deploy --env <name> (build → wrangler deploy with atomic secrets → smoke)
  • ensure-resources — create-only Cloudflare resource provisioning
  • erase-data — wipe an env's data without deleting the worker
  • gen:wrangler — expand the generated, gitignored wrangler.jsonc from the root envs.ts
  • test:e2e if the app has live preview tests

The package scripts should own only the app action. Doppler selection belongs outside the app script (doppler run --config <env> -- pnpm run deploy).

Installs
1
Repository
iterate/iterate
GitHub Stars
198
First Seen
Jul 30, 2026
creating-an-app — iterate/iterate