upstash-qstash
Build Serverless Message Queues and Scheduled Tasks
Implement reliable serverless messaging without managing infrastructure. Schedule HTTP-based tasks, cron jobs, and webhook delivery systems using Upstash QStash.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "upstash-qstash". Send a message to https://api.example.com/webhook with data
النتيجة المتوقعة:
Message published successfully to QStash. Message ID: msg_1234567890. The message will be delivered to https://api.example.com/webhook with automatic retries. Set up signature verification in your endpoint using the QStash signing key.
استخدام "upstash-qstash". Create a cron job that runs every hour
النتيجة المتوقعة:
Cron job created with schedule: * * * * *. Endpoint: https://api.example.com/cron. The job will run at the top of every hour. You can verify deliveries by checking the request headers for the QStash signature.
التدقيق الأمني
آمنStatic analysis detected 9 potential security issues, all are false positives. Line 69 contains markdown code formatting (backticks around skill names), not shell execution. Lines 3, 59, and 72 contain the word 'critical' in documentation text, not weak cryptographic algorithms. This is a pure documentation file with no executable code. Safe to publish.
درجة الجودة
ماذا يمكنك بناءه
Schedule Periodic Database Maintenance
Set up recurring cron jobs to trigger database cleanup, backup operations, or data synchronization tasks at fixed intervals without managing servers.
Build Reliable Webhook Delivery
Implement webhook delivery systems that automatically retry failed deliveries and verify signatures to ensure messages reach their destination.
Delay Heavy Processing Tasks
Schedule resource-intensive operations like video processing or report generation to run later during off-peak hours using delay scheduling.
جرّب هذه الموجهات
Use the upstash-qstash skill to send a message to my endpoint https://api.example.com/tasks with the payload {"task": "process-order", "orderId": 12345}Help me set up a QStash cron job that calls https://myapp.com/cron/cleanup every day at 2 AM UTC using the upstash-qstash skill
Using upstash-qstash, show me how to set up a message to https://webhook.site/xxx with signature verification and retry configuration
Use upstash-qstash to schedule a message to be delivered to https://api.example.com/process in 30 minutes with deduplication enabled
أفضل الممارسات
- Always verify QStash webhook signatures using both your signing keys to authenticate incoming requests
- Design callback endpoints to respond quickly (within 30 seconds) to avoid timeouts and enable proper acknowledgment
- Use deduplication for critical operations to prevent duplicate processing when messages are retried
تجنب
- Do not skip signature verification on callback endpoints, as this allows anyone to send fake messages to your system
- Avoid sending large payloads directly in messages; instead send references or IDs to keep messages lightweight
- Do not expect QStash to reach localhost or private network endpoints in production environments