
upstash-workflow
Upstash Workflow/QStash handlers, triggers, durable steps and async fan-out
by lobehubFree
Description
upstash-workflow is an agent skill from the LobeHub repository with the standard patterns for building asynchronous background jobs on Upstash Workflow and QStash. It explains the three patterns that every LobeHub workflow combines and the reasons for them. The platform limits rate, so blind fan-out can be dangerous, it caps the number of steps in one workflow, and retries must not process the same item twice. The patterns are dry-run mode, which reports statistics without triggering a real run, fan-out, which splits a large batch into smaller chunks that run in parallel, and single-task execution, where each workflow run processes exactly one item. The skill also describes the three-layer architecture that all workflows follow. It is for contributors who add or change a workflow, such as a job that processes many records, and need to keep it within the platform's limits. It is a guide to design rather than a deployment tool, so it does not set up the Upstash account itself. The skill passes Gen Agent Trust Hub, Socket and Snyk on skills.sh. Install it with npx skills add https://github.com/lobehub/lobehub --skill upstash-workflow.…
Highlights
- Covers Upstash Workflow and QStash handlers, triggers and durable steps
- Dry-run mode for statistics without execution
- Fan-out in chunks for parallel processing
- One item per workflow execution for safe retries
Ratings & Reviews
No ratings yet
Be the first to rate upstash-workflow.
People also visit

loop-me
Grill me about specs for the workflows I want to build, within this workspace
upstash-workflow FAQ
What problems do the patterns solve?
Rate limits make blind fan-out risky, step limits cap a workflow's size, and idempotency keeps retries from processing an item twice.
What does dry-run mode do?
It gets statistics about a workflow without triggering the actual execution.
How big is each job?
Each workflow execution processes exactly one item, and large batches are split into chunks.
How do I install it?
Run npx skills add https://github.com/lobehub/lobehub --skill upstash-workflow.
Which security audits does it have?
On skills.sh, Gen Agent Trust Hub, Socket and Snyk all pass.
What are the best upstash-workflow alternatives?
Popular alternatives to upstash-workflow include loop-me, django-celery and ecc-recipes. See all upstash-workflow alternatives



