app-foundation
FreeEvery delivered app — the non-inferable business requirements + exact stack/brand choices every build must satisfy. Loads on every app/site build.
The English summary is being prepared. Showing the original description.
MANDATORY deploy after every code change. Typecheck → deploy → purge CDN → E2E on production → visual verify → fix-forward loop. Workers Builds native CI/CD, D1 Time Travel PIT recovery, D1→R2 long-term backups, wrangler rollback, wrangler secrets management, structured observability, cross-browser smoke tests, rollback procedures, and GitHub auto-configuration.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Enforce the mandatory typecheck→deploy→CDN-purge→prod-E2E→visual-verify loop after every code change; never mark done without a live PROD assertion.
wrangler deploy (or platform equivalent)wrangler cache purge or curl -X POST https://api.cloudflare.com/client/v4/zones/{id}/purge_cache)_kernel/standards.md#breakpoints)"Local typecheck + build pass" is NOT done. Per rules/verification-loop.md.
CLOUDFLARE_API_TOKEN from /Users/Apple/.local/bin/get-secretCLOUDFLARE_API_KEY + CLOUDFLARE_EMAIL! npx wrangler login, resume deploy once freshcf CLI transition (beta — doctrine stays wrangler-first)cf CLI open beta since 2026-09-28: ~3,000 generated API commands (vs wrangler's ~280). Wrangler gets ONE final major redirecting to cf, then 18-month maintenance; config format moves wrangler.jsonc → cloudflare.config.ts with typed bindings. Wrangler now requires Node ≥22.wrangler tail) or set single secrets (wrangler secret put).wrangler.jsonc build blockmain per rules/main-only-branch.mdnpm install + npm run build + wrangler deploywrangler secret put per rules/secret-provisioning.mdwrangler secret put KEY — runtime secrets; wrangler secret list — names only, never values~/.local/share/chezmoi/home/.chezmoitemplates/secrets/{KEY})scripts/check-secrets.mjs --audit runs before every deployrules/secret-provisioning.md + rules/secret-auto-provisioning.mdwrangler d1 time-travel restore <db> --timestamp=<ts>wrangler d1 export <db> --output=backup.sql + upload to R2 daily via cronwrangler d1 export BEFORE any destructive migrationwrangler rollback <version-id> in <30s{commit, version_id, timestamp} to D1 after every deploy; rollback target one query awayPer rules/verification-loop.md § Console-error gate — all must be 0:
Run as part of npm run e2e:prod Playwright suite.
Per _kernel/standards.md#breakpoints × 3 browsers (Chromium, Firefox, WebKit):
Verify each is firing (missing = blocker):
gh repo create with templatecloudflare/wrangler-action@v3 for CICLOUDFLARE_API_TOKEN in repo secretsEvery deploy logs to CHANGELOG.md (## [version] — YYYY-MM-DD / ### Added / Changed / Fixed). Auto-generated by changelog-generator agent from conventional commits.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Every delivered app — the non-inferable business requirements + exact stack/brand choices every build must satisfy. Loads on every app/site build.
The English summary is being prepared. Showing the original description.
Cloudflare-first platform selection. Decision trees for Workers, D1, R2, KV, DO, Queues, Vectorize, Containers, Sandboxes, Flagship, Agent Memory, Workflows v2. Default stack, override conditions, auth, data patterns, reliability.
The English summary is being prepared. Showing the original description.
Extract real brands (Wayback for rebuilds). Copy system, headline/CTA rules, trust surfaces, legal pages, SEO+structured data, anti-AI-slop, microcopy, DESIGN.md, W3C DTCG tokens, pSEO 5 types, GEO/AI search.
The English summary is being prepared. Showing the original description.
Implements features in vertical slices, always starting with homepage. Enforces anti-placeholder rules — no lorem ipsum, no TODO stubs, no gray boxes. Real content, real images, real interactions. TypeScript strict mode, Zod validation, and structured file organization.
The English summary is being prepared. Showing the original description.
The consolidated, world-class Cloudflare + integrations reference — CF platform/data/AI-edge patterns, media pipeline, observability/growth, payments, and the site-generation pipeline. The non-inferable choices that build the greatest web apps.
The English summary is being prepared. Showing the original description.
One-line-prompt → cinematic, gorgeous, functional, well-tested, deployed website. Pre-hydrated SPA + full PWA kit + JSON-LD rich snippets + third-party integrations. React 19+Vite default (Angular optional). 100 concrete improvements grouped into 10 categories that EVERY single-prompt site build must satisfy before being marked done. Trigger whenever the user says 'make a website for X', 'build a site for X', 'rebuild X.com', or any equivalent one-liner.
The English summary is being prepared. Showing the original description.