# Deploy Web Frameworks on Cloudflare Workers

Framework deployments need adapters and tooling that match the project and rendering mode. This skill guides Cloudflare Workers setup while preserving existing configuration and checking builds.

## Install

```bash
npx skillstore add cloudflare/frameworks-on-cloudflare
```

## Metadata

- Status: approved
- Slug: cloudflare-frameworks-on-cloudflare
- Skillstore revision: r1
- Version status: missing
- Tree hash: 065f5583eaff8969ad32f6b16b385b3f87b981f83c6c0449218b669e65213412
- Author: cloudflare
- GitHub username: cloudflare
- Repository: https://github.com/cloudflare/skills/tree/6eb6c781aa9b6438e0c7307bd102788a75fe1a6d/skills/frameworks-on-cloudflare
- Ref: c993c6abcbffafea2683d7748b53b3dfaf438415
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 70
- Public page: https://skillstore.pages.dev/skills/cloudflare-frameworks-on-cloudflare
- Manifest: https://skillstore.pages.dev/api/skills/cloudflare-frameworks-on-cloudflare/manifest

## Capabilities

- Guide repository inspection to identify the framework, version, package manager, rendering mode, adapter, and Cloudflare configuration.
- Route new projects through framework guides and existing projects through Wrangler or cf according to their configuration.
- Select framework-specific references for TanStack Start, React Router, SvelteKit, Hono, Astro, Nuxt, and React or Vue SPAs.
- Distinguish static output, client-only SPAs, and server rendering when choosing Workers deployment approaches.
- Direct integration changes toward adapters, runtime settings, build scripts, and deployment configuration, followed by build and local verification.
- Guide redacted skill feedback drafts and require approval of the exact issue text before public submission.

## Use Cases

- Prepare an Existing Framework App: Identify the rendering mode and required integration changes before adapting a framework application for Workers.
- Maintain Wrangler-Based Deployments: Keep established Wrangler configuration while reviewing adapter changes and validating framework builds locally.
- Start a Framework Project: Choose the matching Workers framework guide and creation workflow without switching frameworks or selecting Pages templates.

## Prompt Templates

### Identify the Deployment Path

```
Inspect my repository without changing files. Identify the framework, rendering mode, package manager, and Cloudflare configuration. Recommend the matching Workers setup path.
```

### Create a SvelteKit Project

```
Help create a SvelteKit project for Cloudflare Workers using the current framework guide. Confirm the creation command before running it. Verify the adapter and build.
```

### Adapt an Existing Astro Project

```
Review my Astro project for Workers deployment. Determine whether it is static or on-demand. Preserve existing tooling and propose minimal integration changes before editing.
```

### Review React Router Compatibility

```
Audit my React Router app for Workers compatibility. Determine its mode and version constraints. Preserve Wrangler configuration. Propose changes, then verify builds and runtime locally.
```

## Limitations

- This skill provides instructions and references, not bundled deployment scripts or framework templates.
- Current compatibility details require consulting external framework and Cloudflare documentation.
- Next.js setup and some CLI workflows rely on separate skills that are not included here.
- Successful deployment still depends on project compatibility, installed tooling, Cloudflare access, and passing builds.

## Best Practices

- Inspect the installed framework version, rendering mode, adapter, and deployment configuration before making changes.
- Use the matching framework guide and preserve established Wrangler configuration and the user's framework choice.
- Review generated scripts, run framework checks and builds, and verify the Worker locally before deployment.

## Anti Patterns

- Run cf initialization or deployment commands inside a project already configured for Wrangler.
- Choose Pages templates for new Workers applications or change existing Pages deployments during unrelated maintenance.
- Assume framework detection guarantees a successful build or skip local runtime verification.

## Security Audit

- Audited at: 2026-11-07T14:36:29.326\+00:00
- Summary: All 20 static findings are false positives involving Markdown formatting, official documentation links, or feedback safeguards. Feedback submission requires redaction and explicit approval of the exact public issue text. No evidence found of credential theft, malicious execution, or prompt injection in the reviewed files.

## Stats

- Views: 0
- Downloads: 0
- Favorites: 0
- Popularity score: 0
