vite-flare-starter

Scaffolds a full-stack Cloudflare app with React 19, Hono, D1, and better-auth.

1|Updated Aug 18, 2026
One-click install
npx skills add https://github.com/scsm-unrestrict/dsh-frontend-engineer-agent --skill vite-flare-starter-scsm-unrestrict
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vite-flare-starter
Source: https://github.com/scsm-unrestrict/dsh-frontend-engineer-agent/tree/main/frontend-engineer/skills/vite-flare-starter
Command: npx skills add https://github.com/scsm-unrestrict/dsh-frontend-engineer-agent --skill vite-flare-starter-scsm-unrestrict

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve? Setting up a full-stack Cloudflare application from scratch requires wiring together a React frontend, a Hono Worker backend, D1 database migrations, R2 buckets, authentication, and deployment secrets — a repetitive, error-prone process. This Skill clones and configures the vite-flare-starter template into a rebranded, deployable project in one guided workflow. ## Core Features & Use Cases - Guided scaffolding: Clones the template, renames all project identifiers (worker name, D1 database, R2 buckets, package name), and generates auth secrets automatically. - Batteries-included stack: Ships React 19 + Vite + Tailwind v4 + shadcn/ui on the frontend, Hono on Cloudflare Workers, D1 + Drizzle ORM, better-auth with Google OAuth, R2 storage, Workers AI, and TanStack Query. - Security rebranding: Replaces all starter fingerprints (page title, localStorage keys, token prefixes, GitHub links) so the deployed app cannot be fingerprinted as template-based. - Use Case: A developer wants to launch a SaaS side project on Cloudflare with login, a database, and file uploads. This Skill produces a configured, deployable project with local dev environment and production deployment checklist. ## Quick Start Ask the agent to scaffold a new Cloudflare full-stack app named my-cool-app using the vite-flare-starter template with Google OAuth enabled.

Frequently Asked Questions about vite-flare-starter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a full-stack Cloudflare Workers app with React?

Clone the vite-flare-starter template, replace the project name in wrangler.jsonc and package.json, create the D1 database and R2 buckets with wrangler, then run pnpm install and pnpm db:migrate:local. The stack includes React 19, Hono, Drizzle ORM, and better-auth.

How do I set up better-auth on Cloudflare Workers?

Generate a BETTER_AUTH_SECRET with openssl rand -hex 32, set BETTER_AUTH_URL to your exact app URL, and configure TRUSTED_ORIGINS with all valid domains. For Google OAuth, add the Client ID and Secret from Google Cloud Console and register the callback redirect URI.

Why does authentication fail only in production on Cloudflare Workers?

Production auth failures usually come from a BETTER_AUTH_URL mismatch — it must match the actual Worker URL exactly, including https and no trailing slash. Also confirm TRUSTED_ORIGINS includes the production URL and redeploy after setting secrets, since wrangler secret put does not redeploy.

Does the vite-flare-starter support email and password login?

Email login is disabled by default; the starter ships OAuth-only. Set ENABLE_EMAIL_LOGIN=true and ENABLE_EMAIL_SIGNUP=true in your environment variables to enable it, and optionally configure EMAIL_FROM and EMAIL_API_KEY for verification emails.

How do I add a new database table with Drizzle and D1?

Add the table schema in src/server/db/schema.ts, generate a migration with pnpm db:generate, then apply it locally with pnpm db:migrate:local and to production with pnpm db:migrate:remote.