‹ 首页

cloudflare-worker-base

@jackspace · 收录于 1 周前

Production-tested setup for Cloudflare Workers with Hono, Vite, and Static Assets. Use when: creating new Cloudflare Workers projects, setting up Hono routing with Workers, configuring Vite plugin for Workers, adding Static Assets to Workers, deploying with Wrangler, or encountering deployment errors, routing conflicts, or HMR crashes. Prevents 6 documented issues: export syntax errors, Static Assets routing conflicts, scheduled handler errors, HMR race conditions, upload race conditions, and Service Worker format confusion. Keywords: Cloudflare Workers, CF Workers, Hono, wrangler, Vite, Static Assets, @cloudflare/vite-plugin, wrangler.jsonc, ES Module, run_worker_first, SPA fallback, API routes, serverless, edge computing, "Cannot read properties of undefined", "Static Assets 404", "A hanging Promise was canceled", "Handler does not export", deployment fails, routing not working, HMR crashes

适合你,如果要用 Hono 和 Vite 开发 Cloudflare Workers。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add jackspace/claudeskillz/cloudflare-worker-base
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- jackspace/claudeskillz/cloudflare-worker-base
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify jackspace/claudeskillz/cloudflare-worker-base
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
15GitHub stars
~3.8K最小装载
~3.8K含声明引用
~10.9K文本包总量
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。