From upstash
Defines, triggers, and manages serverless workflows using the Upstash Workflow TypeScript/JavaScript SDK with QStash. Covers endpoints, steps, context, client, invoke, reliability, flow control, webhooks, and local dev.
How this skill is triggered — by the user, by Claude, or both
Slash command
/upstash:upstash-workflow-jsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The Upstash Workflow SDK lets you expose serverless workflow endpoints and run them reliably using QStash under the hood.
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" });
These files contain the full documentation. Use them for details, patterns, and advanced behavior.
context (steps, waits, webhooks, events, invoke, etc.).QSTASH_DEV=true) and tunneling.npx claudepluginhub upstash/skills --plugin upstashGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.