UP

upstash-workflow-js

Provides tools to define and trigger serverless workflows using the Upstash SDK.

Install

mkdir -p .claude/skills/upstash-workflow-js && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13423" && unzip -o skill.zip -d .claude/skills/upstash-workflow-js && rm skill.zip

Installs to .claude/skills/upstash-workflow-js

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Lightweight guidance for using the Upstash Workflow SDK to define, trigger, and manage workflows. Use this Skill whenever a user wants to create workflow endpoints, run steps, or interact with the Upstash Workflow client.
221 charsno explicit “when” trigger
Beginner

Key capabilities

  • Define serverless workflow endpoints using the Upstash Workflow SDK
  • Run steps within a workflow context
  • Trigger workflows from a backend client
  • Manage workflow reliability with retries and failure callbacks
  • Implement cross-workflow invocation
  • Configure rate limits, concurrency, and parallelism for workflows

How it works

The skill guides users on using the Upstash Workflow SDK to define serverless workflow endpoints, run steps, and trigger workflows reliably using QStash as the underlying mechanism.

Inputs & outputs

You give it
Request to define, trigger, or manage workflows using the Upstash Workflow SDK
You get back
Workflow endpoint definitions, triggered workflow executions, or client interactions

When to use upstash-workflow-js

  • Defining workflow endpoints
  • Triggering serverless tasks
  • Managing step retries
  • Configuring workflow reliability

About this skill

Upstash Workflow SDK

Quick Start

The Upstash Workflow SDK lets you expose serverless workflow endpoints and run them reliably using QStash under the hood.

Install:

npm install @upstash/workflow

Define a simple workflow endpoint:

import { serve } from "@upstash/workflow";

export const { POST } = serve(async (context) => {
  await context.run("step-1", () => console.log("step 1"));
  await context.run("step-2", () => console.log("step 2"));
});

Trigger it from your backend:

import { Client } from "@upstash/workflow";

const client = new Client({ token: process.env.QSTASH_TOKEN! });
await client.trigger({ url: "https://your-app.com/api/workflow" });

Other Skill Files

These files contain the full documentation. Use them for details, patterns, and advanced behavior.

  • basics:
    • basics/serve – How to expose workflow endpoints.
    • basics/context – Full API for workflow context (steps, waits, webhooks, events, invoke, etc.).
    • basics/client – Using the Workflow client to trigger, cancel, inspect, and notify runs.
  • features:
    • features/invoke – Cross‑workflow invocation.
    • features/reliability – Retries, failure callbacks, and DLQ.
    • features/flow-control – Rate limits, concurrency, and parallelism.
    • features/wait-for-event – Notify and wait-for-event patterns.
    • features/webhooks – Webhook creation and consumption.
  • how to:
    • how-to/local-dev – Local QStash dev server and tunneling.
    • how-to/realtime – Realtime and human‑in‑the‑loop workflows.
    • how-to/migrations – Migrating workflows safely.
    • how-to/middleware – Adding middleware to workflows.
  • other files:
    • rest-api – Low-level REST endpoints for interacting with QStash/Workflow.
    • troubleshooting – Common debugging and environment issues.
    • agents – Using Workflow with agents, orchestrators, and automation patterns.

When not to use it

  • When not using the Upstash Workflow SDK
  • When QStash is not the underlying message queue
  • When the user needs to interact with low-level REST endpoints directly without the SDK

Limitations

  • Relies on QStash under the hood for reliable execution.
  • Requires `QSTASH_TOKEN` for client authentication.
  • The skill focuses on the SDK, not low-level REST endpoints.

How it compares

This skill provides lightweight guidance and examples for using the Upstash Workflow SDK to build reliable serverless workflows, abstracting away the complexities of QStash, unlike direct QStash API interaction.

Compared to similar skills

upstash-workflow-js side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
upstash-workflow-js (this skill)05moReviewBeginner
telegram-bot-builder1066moReviewIntermediate
telegram-mini-app626moReviewAdvanced
stripe-integration482moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

telegram-bot-builder

davila7

Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.

106130

telegram-mini-app

davila7

Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.

62163

stripe-integration

wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

48165

nodejs-backend-patterns

wshobson

Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.

1246

hubspot-integration

davila7

Expert patterns for HubSpot CRM integration including OAuth authentication, CRM objects, associations, batch operations, webhooks, and custom objects. Covers Node.js and Python SDKs. Use when: hubspot, hubspot api, hubspot crm, hubspot integration, contacts api.

540

backend-architect

sickn33

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and observability. Use PROACTIVELY when creating new backend services or APIs.

1014

Search skills

Search the agent skills registry