pubnub-choose-docs-path/SKILL.md
Routes PubNub questions to the correct documentation source, MCP tool, and specialist skill. Classifies intent (chat vs non-chat, conceptual vs implementation, runtime testing vs analytics) and points the agent to the right next step. Use when a user mentions PubNub for the first time, asks "where do I start", "which docs", "what should I use", or any time the appropriate next skill is unclear.
npx skillsauth add pubnub/skills pubnub-choose-docs-pathInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are the first responder for any PubNub question. Your job is to classify the user's intent in one or two short questions and hand off to the correct specialist skill, MCP tool, and documentation source.
Invoke this skill when:
Do not invoke this skill when the user has already named a specific feature (chat, presence, illuminate, history, etc.) — load the matching specialist skill directly.
This skill produces a handoff, not code. Every handoff has the same shape:
For <restated intent>:
- Skill : <specialist-skill-name>
- MCP tool: <user-pubnub MCP tool name>
- Docs : <one-line pointer to PubNub docs>
- Next : <one specific next action>
Is the use case chat or non-chat?
Is the user designing or running?
send_pubnub_message, subscribe_and_receive_pubnub_messages, get_pubnub_messages, get_pubnub_presence).Is the question about analytics or automation logic?
This skill primarily lists tools rather than calling them. The full mapping is in references/intent-to-tool.md. The most-frequently-routed-to tools on the user-pubnub MCP server are:
get_chat_sdk_documentation — for any chat / messaging / typing-indicator / reaction / thread question.get_sdk_documentation — for any non-chat real-time question (core SDKs, IoT, state sync, notifications).how_to — for conceptual, step-by-step integration recipes.write_pubnub_app — for architecture review, production-readiness checks, and best-practices validation.manage_apps, manage_keysets — for environment setup and configuration questions.manage_app_context — for user/channel/membership metadata questions.manage_illuminate — for analytics, KPI, threshold-trigger, and dashboard questions.send_pubnub_message, subscribe_and_receive_pubnub_messages, get_pubnub_messages, get_pubnub_presence — for runtime testing and incident triage.This skill routes to every other skill in the catalog. The canonical owners it most often defers to:
When handing off, produce exactly one block in this shape:
Intent : <one sentence restating what the user is trying to do>
Skill : <specialist-skill-name>
MCP tool : <user-pubnub MCP tool>
Docs source : <which PubNub docs surface to consult>
Next step : <one concrete action the user or agent should take next>
Then stop. Let the specialist skill take over.
Every owned topic mentioned above defers to its canonical reference file. Use these links when handing off:
tools
Cross-cutting reliability patterns for PubNub apps. Covers reconnect with exponential backoff + jitter, idempotent publish with client-generated message IDs, dedup-on-merge for live + history streams, queue-and-retry for offline writes, and schema versioning of message envelopes. Use during design reviews, when planning offline support, or during incident response when network or delivery reliability is the concern.
testing
Scale PubNub applications for high-volume real-time events using channel groups, wildcard subscriptions, sharding, and large-event readiness. Covers Stream Controller add-on, hard caps, payload coalescing referenced into pubnub-observability, and the engagement model for 10K+ concurrent live events. Persistence/history is owned by pubnub-history.
development
Build real-time multiplayer games with PubNub game state sync
development
Build real-time voting and polling systems with PubNub