gorango/flowcraft/scaling-workflows
Claude Code and agent skill by gorango/flowcraft
- community
Checking that the SKILL.md file is still in the repository.
Scale Flowcraft workflows from in-memory to distributed execution using adapters (BullMQ, SQS, RabbitMQ, GCP, Azure, Kafka, Cloudflare). Covers durable primitives, middleware, and observability. Use when deploying workflows to production, configuring distributed execution, setting up message queues, adding middleware, or enabling observability.
Install
npx vskill@latest install gorango/flowcraft/scaling-workflowsSKILL.md
Scaling Workflows
Flowcraft workflows scale from in-memory to distributed systems without changing core business logic. Adapters abstract the queue technology.
Architecture
Distributed adapters
All adapters extend BaseDistributedAdapter and implement:
createContext()— initialize coordination stateprocessJobs()— handle incoming node executionsenqueueJob()— dispatch nodes to workerspublishFinalResult()— emit workflow completion
Available adapters
| Adapter | Queue Technology | See | |
|---|---|---|---|
| BullMQ | Redis | adapters/bullmq.md | |
| SQS | AWS SQS | adapters/sqs.md | |
| RabbitMQ | RabbitMQ/AMQP | adapters/rabbitmq.md | |
| GCP | Google Cloud Tasks | adapters/cloud.md | |
| Azure | Azure Service Bus | adapters/cloud.md | |
| Kafka | Apache Kafka | adapters/cloud.md | |
| Cloudflare | Cloudflare Queues | adapters/cloud.md | |
| Vercel | Vercel Queues | adapters/cloud.md |
Adapter setup pattern
Durable primitives
SleepNode — durable timers
Use runtime.startScheduler() to auto-resume.
WaitNode — human-in-the-loop
Resume with: await runtime.resume(blueprint, serializedContext, resumeData)
WebhookNode — external triggers
SubflowNode — nested workflows
Middleware pipeline
Lifecycle order:
beforeNodehooks (in order)aroundNodehooks (wrap in reverse order)- Node execution (prep → exec → post)
afterNodehooks (in order)
Observability
OpenTelemetry
Event bus
Key event types: workflow:start/finish/stall/pause/resume, node:start/finish/error/retry, context:change, batch:start/finish.
Coordination patterns
Delta-based persistence
TrackedAsyncContext records only mutations, reducing payload by 80-95%.
Poison pill pattern
Failed nodes write cancellation pills to prevent stalling successors.
Fan-in joins
joinStrategy: 'all' (wait for all) or 'any' (first-come-wins with locking).
Advanced topics
- Adapter configuration details: See adapter reference files linked above
- Durable primitive patterns: See primitives.md
- Custom middleware: See middleware.md
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/llm/skills/scaling-workflows/SKILL.md
Popularity
- Repository stars
- 207
- Repository forks
- 16
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 7 Sep 2026, a month ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gorango/flowcraft/scaling-workflows)