secondsky/claude-skills / plugins/cloudflare-workflows/skills/cloudflare-workflows
cloudflare-workflows
VerifiedCloudflare Workflows for durable long-running execution. Use for multi-step workflows, retries, state persistence, or encountering NonRetryableError, execution failed errors.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 16.5 KB |
| references/2025-features.md | markdown | 7.9 KB |
| references/common-issues.md | markdown | 9.9 KB |
| references/limits-quotas.md | markdown | 8.7 KB |
| references/metrics-analytics.md | markdown | 11.7 KB |
| references/production-checklist.md | markdown | 11.8 KB |
| references/troubleshooting.md | markdown | 15.1 KB |
| references/workflow-patterns.md | markdown | 15.2 KB |
| references/wrangler-commands.md | markdown | 6.6 KB |
| templates/basic-workflow.ts | script | 3.4 KB |
| templates/circuit-breaker-workflow.ts | script | 12.6 KB |
| templates/parallel-execution-workflow.ts | script | 8.6 KB |
| templates/scheduled-workflow.ts | script | 7.2 KB |
| templates/worker-trigger.ts | script | 6.6 KB |
| templates/workflow-with-events.ts | script | 9.2 KB |
| templates/workflow-with-retries.ts | script | 6.2 KB |
| templates/wrangler-workflows-config.jsonc | other | 3.8 KB |
templates/wrangler-workflows-config.jsonc
View on GitHub/**
* Complete Wrangler Configuration for Workflows
*
* This file shows all configuration options for Cloudflare Workflows.
* Copy and adapt to your project's needs.
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "my-workflow-project",
"main": "src/index.ts",
"account_id": "YOUR_ACCOUNT_ID",
"compatibility_date": "2025-10-22",
/**
* Workflows Configuration
*
* Define workflows that can be triggered from Workers.
* Each workflow binding makes a workflow class available via env.BINDING_NAME
*/
"workflows": [
{
/**
* name: The name of the workflow (used in dashboard, CLI commands)
* This is the workflow identifier for wrangler commands like:
* - npx wrangler workflows instances list my-workflow
* - npx wrangler workflows instances describe my-workflow <id>
*/
"name": "my-workflow",
/**
* binding: The name used in your code to access this workflow
* Available in Workers as: env.MY_WORKFLOW
*/
"binding": "MY_WORKFLOW",
/**
* class_name: The exported class name that extends WorkflowEntrypoint
* Must match your TypeScript class:
* export class MyWorkflow extends WorkflowEntrypoint { ... }
*/
"class_name": "MyWorkflow"
},
/**
* Example: Multiple workflows in one project
*/
{
"name": "payment-workflow",
"binding": "PAYMENT_WORKFLOW",
"class_name": "PaymentWorkflow"
},
{
"name": "approval-workflow",
"binding": "APPROVAL_WORKFLOW",
"class_name": "ApprovalWorkflow"
}
/**
* Example: Workflow in different Worker script
*
* If your workflow is defined in a separate Worker script,
* use script_name to reference it
*/
// {
// "name": "external-workflow",
// "binding": "EXTERNAL_WORKFLOW",
// "class_name": "ExternalWorkflow",
// "script_name": "workflow-worker" // Name of Worker that contains the workflow
// }
],
/**
* Optional: Other Cloudflare bindings
*/
// KV Namespace
// "kv_namespaces": [
// {
// "binding": "MY_KV",
// "id": "YOUR_KV_ID"
// }
// ],
// D1 Database
// "d1_databases": [
// {
// "binding": "DB",
// "database_name": "my-database",
// "database_id": "YOUR_DB_ID"
// }
// ],
// R2 Bucket
// "r2_buckets": [
// {
// "binding": "MY_BUCKET",
// "bucket_name": "my-bucket"
// }
// ],
// Queues
// "queues": {
// "producers": [
// {
// "binding": "MY_QUEUE",
// "queue": "my-queue"
// }
// ]
// },
/**
* Optional: Environment variables
*/
// "vars": {
// "ENVIRONMENT": "production",
// "API_URL": "https://api.example.com"
// },
/**
* Optional: Observability
*/
"observability": {
"enabled": true
},
/**
* Optional: Multiple environments
*/
"env": {
"staging": {
"vars": {
"ENVIRONMENT": "staging"
},
"workflows": [
{
"name": "my-workflow-staging",
"binding": "MY_WORKFLOW",
"class_name": "MyWorkflow"
}
]
},
"production": {
"vars": {
"ENVIRONMENT": "production"
},
"workflows": [
{
"name": "my-workflow-production",
"binding": "MY_WORKFLOW",
"class_name": "MyWorkflow"
}
]
}
}
}
/**
* Deployment Commands:
*
* # Deploy to default (production)
* npx wrangler deploy
*
* # Deploy to staging environment
* npx wrangler deploy --env staging
*
* # List workflow instances
* npx wrangler workflows instances list my-workflow
*
* # Get instance status
* npx wrangler workflows instances describe my-workflow <instance-id>
*/
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |