Skip to content
alyn
Cloudflare Official

Frameworks On Cloudflare skill

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.

$npx skills add cloudflare/skills --skill frameworks-on-cloudflare
GitHub stars
3,336
Pack installs
1.7M
Alyn Score
75/99
Updated
12 h ago
License
Apache-2.0

Cloudflare

Frameworks On Cloudflare

Install Frameworks On Cloudflare

Pick your agent. Every command is ready to paste.

$npx skills add cloudflare/skills --skill frameworks-on-cloudflare

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads frameworks-on-cloudflare when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the frameworks-on-cloudflare skill”. In Codex, type $frameworks-on-cloudflare.

The skill itself

SKILL.md

GitHub

Build with frameworks on Cloudflare

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. Do not select Pages templates, Pages deployment commands, or Pages-specific presets for new applications. Preserve existing Pages deployments during unrelated maintenance.

Route the project

  1. Inspect the repository before changing it. Identify the framework, installed version, package manager, rendering mode, existing adapter, and Cloudflare configuration: cloudflare.config.ts, or wrangler.jsonc, wrangler.json, or wrangler.toml.
  2. Preserve the user's framework choice. Determine whether the task starts a new project, adapts an existing project, or changes only application code.
  3. Read only the matching row below, its Workers framework guide, and the framework's own agent guidance.
  4. Set up the project for its state:
    • New project: follow the framework's Workers guide for project creation. The guides currently create the project with C3 and configure it for Wrangler; this is an exception to the 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.
    • Existing project with Wrangler configuration: keep Wrangler and load the 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.
    • Existing project with no Cloudflare configuration: use cf, which detects supported frameworks and configures them; see Start from an existing project 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.
  5. Change only the adapter, runtime, build, and deployment configuration the integration requires. Inspect generated package scripts, run the framework's checks and build, then verify the Worker locally before deployment.
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, which uses the Cloudflare Vite plugin. Distinguish Start from standalone TanStack Router. Use TanStack Intent to discover and load installed package skills, including Start's deployment guidance.
React Router Identify Framework, Data, or Declarative mode. Follow the Workers guide 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, its matching mode reference, and installed package docs when available.
SvelteKit Follow the Workers guide, which uses @sveltejs/adapter-cloudflare. Use Svelte's official skills and AI setup guidance.
Hono Choose an API-only Worker or a frontend plus API. The Cloudflare guide covers Hono with a React SPA; use Hono's Workers guide for an API-only app. Load the application skill from honojs/skills.
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. Use Astro's official AI guidance and docs MCP.
Nuxt Follow the Workers guide for the current Nitro integration and bindings. Use the Nuxt docs MCP; load the Nuxt UI skill only when using Nuxt UI.
React or Vue SPA Follow the React + Vite or Vue 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.

Skill feedback

If the user reports that this skill gave incorrect or outdated guidance, or is missing information, read references/skill-feedback.md.

Tips for Frameworks On Cloudflare

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
  • • It is part of a pack with 22 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Frameworks On Cloudflare

What does the Frameworks On Cloudflare skill do?

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.

How do I install Frameworks On Cloudflare?

Run "npx skills add cloudflare/skills --skill frameworks-on-cloudflare" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Frameworks On Cloudflare work in Cursor and Codex?

Yes. Frameworks On Cloudflare uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Frameworks On Cloudflare free?

Frameworks On Cloudflare is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Frameworks On Cloudflare?

Frameworks On Cloudflare is published by Cloudflare in the cloudflare/skills repository, together with 21 other skills.

Similar skills. From other creators.