deploy-static-site-with-wrangler — Claude Code skill
deploy-static-site-with-wrangler is a Claude Code skill that uploads static site builds to temporary public Cloudflare URLs. It triggers when someone asks to share or preview built HTML assets.
GPL-3.0 ★ 171 updated 2026-11-17
npx skills add drawthingsai/local-code-community --skill deploy-static-site-with-wrangler -a claude-codeWhat deploy-static-site-with-wrangler does
This skill locates an existing build folder such as dist, build, or out and publishes it via Cloudflare's temporary preview flow. If the site is not built yet, it runs the project's native build step without touching the bundler configuration. It also checks the output directory beforehand so credentials and local environment files remain private.
Execution relies on strictly pinned dev dependencies: [email protected] alongside esbuild@npm:[email protected]. The assistant invokes Wrangler directly at node node_modules/wrangler/wrangler-dist/cli.js with --no-bundle. It conducts a --dry-run first to confirm file counts and transfer weights before creating external resources.
The resulting preview URL stays live for roughly 60 minutes unless claimed via the provided bearer URL. Active Cloudflare authentication blocks this flow because Wrangler denies --temporary whenever stored credentials exist.
What it helps with
- share a static build folder using a temporary public URL
- publish frontend bundles without Cloudflare account login
- verify asset counts and sizes using an initial dry run
- prevent environment files and keys from being uploaded
Example prompts for the agent
- Share a temporary preview link for the built
distfolder - Host the
builddirectory online for external review - Deploy my static web files temporarily using Wrangler
How to install deploy-static-site-with-wrangler
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill deploy-static-site-with-wrangler -a claude-code2Manually: put the files in place
~/.claude/skills/deploy-static-site-with-wrangler/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/deploy-static-site-with-wrangler/
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill deploy-static-site-with-wrangler -a codex2Manually: put the files in place
.agents/skills/deploy-static-site-with-wrangler/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill deploy-static-site-with-wrangler -a cursor2Manually: put the files in place
.cursor/skills/deploy-static-site-with-wrangler/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install drawthingsai/local-code-community Apps/LocalCode/Resources/Skills/deploy-static-site-with-wrangler2Manually: put the files in place
.github/skills/deploy-static-site-with-wrangler/SKILL.md1Skills CLI (Vercel)
npx skills add drawthingsai/local-code-community --skill deploy-static-site-with-wrangler -a gemini-cli2Platform CLI
gemini skills install https://github.com/drawthingsai/local-code-community --path Apps/LocalCode/Resources/Skills/deploy-static-site-with-wranglerManually: put the files in place
.devin/skills/deploy-static-site-with-wrangler/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about deploy-static-site-with-wrangler
How to install deploy-static-site-with-wrangler in Claude Code?
Run npx skills add drawthingsai/local-code-community --skill deploy-static-site-with-wrangler -a claude-code in your terminal.
What does deploy-static-site-with-wrangler do?
It pushes static web assets to an unauthenticated Cloudflare preview URL that automatically expires after roughly 60 minutes.
What is required to run deploy-static-site-with-wrangler?
It requires Node.js, and your environment must not have active Cloudflare credentials since Wrangler rejects temporary deployments with them.