Agent skill · software engineering · secondsky

cloudflare-workflows

Cloudflare Workflows for durable long-running execution. Use for multi-step workflows, retries, state persistence, or encountering NonRetryableError, execution failed errors.

Why this skill is useful

Adds 5 executable scripts for managing durable workflows in Cloudflare that aren't in public docs.

What it needs

Requires npm installed locally. Requires cloudflare account access. About 8k tokens when loaded. Last updated 2026-08-06. 204 stars on the source repository.

What this skill does

Cloudflare Workflows Status: Production Ready ✅ Last Verified: 2025-12-27 Version: 3.0.0 Dependencies: cloudflare-worker-base (for Worker setup) Contents: Quick Start • Commands • Agents • Core Concepts • Critical Rules • Top Errors • Common Patterns • When to Load References • Limits --- Quick Start (10 Minutes) 1. Create a Workflow Use the Cloudflare Workflows starter template: What you get: WorkflowEntrypoint class template Worker to trigger workflows Complete wrangler.jsonc configuration 2. Basic Workflow Structure src/index.ts: Template: See templates/basic-workflow.ts for complete example 3. Configure wrangler.jsonc Template: See templates/wrangler-workflows-config.jsonc 4. Deploy --- Commands Interactive slash commands for workflow development: Command Description Use When --------- ------------- ---------- /workflow-setup Complete wizard for new workflow projects Starting new project, need full setup /workflow-create Quick scaffolding for workflow classes Adding workflow to existing project /workflow-debug Interactive debugging with error patterns Troubleshooting workflow issues /workflow-test Test workflows locally and remotely Validating workflow behavior Example Usage: --- Agents Autonomous agents for complex workflow tasks: Agent Description Triggers ------- ------------- ---------- workflow-debugger Auto-detects and fixes configuration/runtime errors "debug workflow", "fix workflow errors" workflow-optimizer Analyzes performance, cost, and reliability "optimize workflow", "improve performance" workflow-setup-assistant Autonomous project scaffolding "setup workflow", "create first workflow" Key Capabilities: Debugger: 6-phase analysis, auto-fix for I/O context, serialization, export issues Optimizer: Cost analysis, reliability scoring, actionable recommendations Setup Assistant: Project detection, automatic scaffolding, validation --- Scripts Automation scripts in scripts/ directory: Script Purpose -------- --------- validate-workflow-config.sh Validate …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills secondsky/cloudflare-workflows

View the source on GitHub

Browse the @skills marketplace