Skills
Skill 10 of 22
Build, migrate, and deploy web-framework applications on Cloudflare Workers.
2 minutes · 499 words · 3 sections
Install
npx skills add cloudflare/skills --skill frameworks-on-cloudflarenpx skills add cloudflare/skills/plugin marketplace add cloudflare/skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Use the framework as the primary development interface and Cloudflare Workers as the deployment target. Serve static sites and SPA output with Workers Static Assets (opens in a new tab). Do not select Pages templates, Pages deployment commands, or Pages-specific presets for new applications. Preserve existing Pages deployments during unrelated maintenance.
cloudflare.config.ts, or wrangler.jsonc, wrangler.json, or wrangler.toml.cloudflare skill’s default of cf for new projects, because the cf docs do not yet cover creating framework projects. After creation, the project has Wrangler configuration, so the next bullet applies.wrangler skill. Follow the framework guide for adapter and configuration changes. Do not run cf init ., cf dev, cf build, or cf deploy in it.cf, which detects supported frameworks and configures them; see Start from an existing project (opens in a new tab) and the cf-cli skill. Detection does not mean the project builds. If the build fails or the framework is not supported, follow the framework guide’s manual setup.| Framework | Workers setup | Official upstream agent guidance |
|---|---|---|
| Next.js | Load the nextjs-on-cloudflare skill. | Listed in that skill. |
| TanStack Start | Follow the Workers guide (opens in a new tab), which uses the Cloudflare Vite plugin. Distinguish Start from standalone TanStack Router. | Use TanStack Intent (opens in a new tab) to discover and load installed package skills, including Start’s deployment guidance (opens in a new tab). |
| React Router | Identify Framework, Data, or Declarative mode. Follow the Workers guide (opens in a new tab) for full-stack setup. SPA mode is not supported with the Cloudflare Vite plugin, and prerendering has version requirements; check the guide before choosing either. | Load the official React Router skill (opens in a new tab), its matching mode reference, and installed package docs when available. |
| SvelteKit | Follow the Workers guide (opens in a new tab), which uses @sveltejs/adapter-cloudflare. | Use Svelte’s official skills (opens in a new tab) and AI setup guidance (opens in a new tab). |
| Hono | Choose an API-only Worker or a frontend plus API. The Cloudflare guide (opens in a new tab) covers Hono with a React SPA; use Hono’s Workers guide (opens in a new tab) for an API-only app. | Load the application skill from honojs/skills (opens in a new tab). |
| Astro | Distinguish fully prerendered output from on-demand rendering: a static site deploys as static assets, and on-demand rendering uses @astrojs/cloudflare. Follow the Workers guide (opens in a new tab). | Use Astro’s official AI guidance and docs MCP (opens in a new tab). |
| Nuxt | Follow the Workers guide (opens in a new tab) for the current Nitro integration and bindings. | Use the Nuxt docs MCP (opens in a new tab); load the Nuxt UI skill (opens in a new tab) only when using Nuxt UI. |
| React or Vue SPA | Follow the React + Vite (opens in a new tab) or Vue (opens in a new tab) Workers guide. Distinguish a client-only SPA from a full-stack framework. | Use the chosen framework’s official guidance for application development. |
For other frameworks, start from the framework guides index (opens in a new tab).
If the user reports that this skill gave incorrect or outdated guidance, or is missing information, read references/skill-feedback.md (opens in a new tab).
Build, migrate, and deploy web-framework applications on Cloudflare Workers. Use when a framework project such as Astro, SvelteKit, React Router, TanStack Start, Nuxt, Hono, or a React or Vue SPA targets Cloudflare, or when a framework repository contains Workers deployment configuration.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 6 November 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Cloudflare, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./cloudflare/skills.md, and each skill at its own .md URL.1 file · 3 KB
Everything this skill ships beside its prose. All of it is set here, as a subchapter of skill 10.
Documentation the agent loads on demand, rather than up front.