vercel-queues
Skill394 starsChanged 7 months agoApache-2.0View on GitHub
Build and operate Vercel Queues with @vercel/queue across push and poll consumers. Use when users ask about "vercel queues", "@vercel/queue", "queue/v2beta", "handleCallback", "PollingQueueClient", "receive", queue retries, visibility timeouts, idempotency keys, or queue region routing.
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
If the task spans multiple categories, read only the relevant files above.
- Very specific: line 28
Use bounded retry strategy for poison messages (acknowledge: true after threshold).
- Very specific: line 29
Keep topic and consumer names within ^[A-Za-z0-9_-]+$.
- Very specific: line 33
Prefer top-level send and handleCallback for standard Vercel push mode.
- Very specific: line 34
Use QueueClient only when you need custom options (transport, token, headers, deploymentId).
- Very specific: line 35
Use PollingQueueClient for poll mode (receive) and handle { ok: false, reason: "empty" } explicitly.
- Very specific: line 36
Keep vercel.json trigger mapping explicit and scoped to the consumer route.
- Very specific: line 40
Verify producer returns messageId and treat nullable messageId as acceptable deferred acceptance.
- Distinctive: line 41
Verify consumer behavior across success, retry, and poison-message paths.
- Distinctive: line 42
Verify visibility timeout assumptions match workload duration.
- Distinctive: line 43
Verify region assumptions in poll mode.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Implement queue producers and consumers using Vercel Queues docs and SDK contracts.
Step 1: Classify the request
Choose one path before writing code:
| Request type | Primary reference |
| First-time setup, minimal producer + consumer | references/quickstart.md |
| SDK usage, options, retries, transport behavior | references/sdk.md |
| API-level integration (custom clients, non-SDK consumers) | references/api.md |
| Delivery semantics and architecture decisions | references/concepts.md |
| Polling workers and mixed push/poll design | references/poll-mode.md |
| Local setup and debugging | references/local-dev.md |
If the task spans multiple categories, read only the relevant files above.
Step 2: Apply core guardrails
- Design consumers as idempotent because delivery is at-least-once.
- Pick push mode by default on Vercel unless the task explicitly needs scheduled/batched/client-driven polling.
- For poll mode, pin an explicit region and use the same region for send and receive.
- Use bounded retry strategy for poison messages (
acknowledge: trueafter threshold). - Keep topic and consumer names within
^[A-Za-z0-9_-]+$.
Step 3: Implement with minimal surface
- Prefer top-level
sendandhandleCallbackfor standard Vercel push mode. - Use
QueueClientonly when you need custom options (transport,token,headers,deploymentId). - Use
PollingQueueClientfor poll mode (receive) and handle{ ok: false, reason: "empty" }explicitly. - Keep
vercel.jsontrigger mapping explicit and scoped to the consumer route.
Step 4: Validate behavior
- Verify producer returns
messageIdand treat nullablemessageIdas acceptable deferred acceptance. - Verify consumer behavior across success, retry, and poison-message paths.
- Verify visibility timeout assumptions match workload duration.
- Verify region assumptions in poll mode.
Step 5: Troubleshoot from first principles
- Authentication issues: check OIDC/token source and env loading.
- Missing deliveries: verify topic name, trigger registration, and region alignment.
- Duplicate processing: verify idempotency key strategy and consumer idempotency.
- Backlog growth: inspect consumer throughput, retry policy, and visibility timeout.
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- openai/plugins★ 7.4ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- packages/docs/public/llms.txtllms.txt
- nitroSkill
- pi-agent-integrationSkill
- public-docsSkill
- slack-developmentSkill
- vercel-sandboxSkill
- example-bundle-helpSkill
- example-localSkill
- agent-browserSkill
- demo-videoSkill
- visual-web-qaSkill
- amplitudeSkill
- cloudflareSkill
- datadogSkill
- eval-authSkill
- eval-oauthSkill
- coding-workspace-fixtureSkill
- github-headless-pr-fixtureSkill
- eval-directorySkill
- eval-guardian-actionsSkill
- eval-mcpSkill
- incident-briefSkill
- resilient-working-directorySkill
- source-handbookSkill
- weather-lookupSkill
- figmaSkill
- github-codeSkill
- github-issuesSkill
- hexSkill
- linearSkill
- self-updateSkill
- notionSkill
- octolensSkill
- pagerdutySkill
- sentrySkill
- jr-rpcSkill
- eval-authSkill
- ttsSkill
- vercelSkill
- junior-qaSkill
- juniorSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

