Agent skill · software engineering · upstash

upstash-qstash-js

Work with the @upstash/qstash TypeScript/JavaScript SDK, an HTTP-based message queue, task scheduler, and background job system for serverless and edge runtimes (Next.js, Vercel, Cloudflare Workers, Deno, Node.js). Use when publishing messages to HTTP endpoints or URL groups, running background jobs without a long-running worker process, scheduling with cron expressions, delaying messages, building FIFO queues with parallelism and flow control, configuring retries and callbacks, handling a dead letter queue (DLQ), deduplicating messages, fanning out to multiple endpoints, verifying QStash webhook signatures (Next.js App Router, Pages Router, and Edge Runtime), running a local QStash dev server, or migrating regions. Also use when the user asks for a serverless cron job, async task queue, job scheduler, delayed delivery, webhook delivery with retries, or event-driven messaging between services.

Why this skill is useful

Provides specific commands and patterns for using the QStash JS SDK that the AI wouldn't reliably generate on its own.

What it needs

Requires npm installed locally. About 2k tokens when loaded. Last updated 2026-07-14. 17 stars on the source repository.

What this skill does

QStash JavaScript SDK QStash is an HTTP-based messaging and scheduling solution for serverless and edge runtimes. This skill helps you use the QStash JS SDK effectively. When to use this skill Use this skill when: Publishing HTTP messages to endpoints or URL groups Creating scheduled or delayed message delivery Managing FIFO queues with configurable parallelism Verifying incoming webhook signatures from QStash Implementing callbacks, DLQ handling, or message deduplication Quick Start Installing the SDK Basic Publishing Core Concepts For fundamental QStash operations, see: Publishing Messages Schedules Queues and Flow Control URL Groups Local Development — automatic dev server via devMode: true For verifying incoming messages: Receiver Verification - Core signature verification with the Receiver class Platform-Specific Verifiers: Next.js - App Router, Pages Router, and Edge Runtime For advanced features: Callbacks Dead Letter Queue (DLQ) Message Deduplication Region migration & multi-region support If needed, multi-region env variable setup verification script. Can be run without arguments Platform Support QStash JS SDK works across various platforms: Next.js (App Router and Pages Router) Cloudflare Workers Deno Node.js (v18+) Vercel Edge Runtime SvelteKit, Nuxt, SolidJS, and other frameworks Note on Workflow SDK: For building complex durable workflows that chain multiple QStash messages together, consider using the separate QStash Workflow SDK (@upstash/workflow). The Workflow SDK empowers you to orchestrate multi-step processes with automatic state management, retries, and fault tolerance. This Skills file focuses on the core QStash messaging SDK. Best Practices Always verify incoming QStash messages using the Receiver class Use environment variables for tokens and signing keys Set appropriate retry counts and timeouts for your use case Use queues for ordered processing with controlled parallelism Implement DLQ handling for failed message recovery

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills upstash/upstash-qstash-js

View the source on GitHub

Browse the @skills marketplace