upstash-workflow

Installation
SKILL.md

Upstash Workflow Implementation Guide

This guide covers the standard patterns for implementing Upstash Workflow + QStash async workflows in the LobeHub codebase.

🎯 The Three Core Patterns

All workflows in LobeHub follow the same 3-layer architecture with three essential patterns:

  1. 🔍 Dry-Run Mode - Get statistics without triggering actual execution
  2. 🌟 Fan-Out Pattern - Split large batches into smaller chunks for parallel processing
  3. 🎯 Single Task Execution - Each workflow execution processes ONE item only

These patterns ensure scalable, debuggable, and cost-efficient async workflows.

Table of Contents

  1. Architecture Overview
  2. Core Patterns
  3. File Structure
Related skills

More from lobehub/lobe-chat

Installs
1
GitHub Stars
77.0K
First Seen
Apr 8, 2026