cloudflare-workers-publish
Publish static HTML content like Bokeh charts and reports to Cloudflare Workers using 1Password for secure credential storage. The skill handles setup, deployment, and token rotation for workers.dev sites, with templates for first-time configuration, adding files to existing deployments, and troubleshooting.
cloudflare-workers-publish deploys static HTML files and dashboards to Cloudflare Workers with 1Password-managed credentials.
AI-generated summary based on this skill's SKILL.md
Install
terrylica/cc-skills/cloudflare-workers-publish · repository language: Shell
git clone https://github.com/terrylica/cc-skills
cp -r cc-skills/plugins/devops-tools/skills/cloudflare-workers-publish ~/.claude/skills/cloudflare-workers-publishnpx skillfed install terrylica/cc-skills/cloudflare-workers-publishFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I deploy HTML to Cloudflare Workers?
cloudflare-workers-publish enables you to deploy static HTML files and dashboards directly to Cloudflare Workers. The skill provides templates for configuring wrangler.toml, organizing your static assets, and pushing content to your workers.dev subdomain. You can deploy Bokeh charts, reports, and other HTML-based dashboards with a single command after initial setup.
Can cloudflare-workers-publish automate publishing with 1Password?
Yes. cloudflare-workers-publish integrates 1Password credential management for automated publishing workflows. The skill securely stores and retrieves your Cloudflare API tokens from 1Password, eliminating the need to hardcode credentials. This approach supports safe, repeatable deployments in CI/CD pipelines while keeping sensitive tokens encrypted.
What does wrangler.toml static site setup involve?
cloudflare-workers-publish includes templates and guidance for configuring wrangler.toml to serve static files. The setup covers defining your static assets directory, specifying the build output, and configuring Workers Static Assets for first-time deployments. The skill walks you through each required field and common customizations.
How do I troubleshoot failed Cloudflare Workers deployments?
cloudflare-workers-publish provides troubleshooting guidance for deployment failures. Common issues include misconfigured wrangler.toml, missing API token permissions, authentication errors with 1Password, and static asset path problems. The skill helps diagnose errors, validate your configuration, and resolve credential or permission issues blocking deployment.
How does cloudflare-workers-publish handle API token management?
cloudflare-workers-publish supports secure Cloudflare API token management through 1Password integration. The skill includes workflows for storing tokens, rotating credentials safely, and retrieving them during automated deployments. This approach reduces exposure of sensitive credentials while maintaining audit trails in 1Password.
Can I publish large HTML files and dashboards to workers.dev?
cloudflare-workers-publish is designed to publish static HTML content including large dashboards and reports to your workers.dev subdomain. The skill handles file organization, asset optimization, and deployment of complex HTML structures. It supports adding files to existing deployments and managing multiple assets in a single project.
SKILL.md
rendered from the published skill — quoted content, verbatim
Cloudflare Workers Publish
Deploy static HTML files (Bokeh charts, dashboards, reports) to Cloudflare Workers with Static Assets, using 1Password for credential management.
Scope: Static-only deployments on workers.dev. No dynamic Workers, no R2 object storage.
Prerequisite: 1Password CLI (brew install 1password-cli) + Node.js (npx wrangler)
> Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
When to Use This Skill
- Publishing HTML files to a public URL (too large for GitHub)
- Setting up a new Cloudflare Workers static site
- Troubleshooting a failed Cloudflare deploy
- Rotating Cloudflare API tokens in 1Password
Do NOT use for: Dynamic Workers (JavaScript/TypeScript logic), Cloudflare Pages (deprecated April 2025 - CFW-01), R2 object storage, or
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 7 files
plugins/devops-tools/skills/cloudflare-workers-publish/SKILL.md
plugins/devops-tools/skills/cloudflare-workers-publish/references/anti-patterns.md
plugins/devops-tools/skills/cloudflare-workers-publish/references/evolution-log.md
plugins/devops-tools/skills/cloudflare-workers-publish/references/large-files-and-zip-delivery.md
plugins/devops-tools/skills/cloudflare-workers-publish/references/onep-credential-setup.md
plugins/devops-tools/skills/cloudflare-workers-publish/references/wrangler-setup.md
plugins/devops-tools/skills/cloudflare-workers-publish/scripts/publish_static.sh