Build real-time applications with PubNub pub/sub messaging
Does it follow best practices?
Evaluation — 88%
↑ 1.28xAgent success when using this tile
Validation for skill structure
SDK initialization and userId persistence
Uses userId parameter
0%
100%
Persistent userId
100%
100%
No random UUID per session
100%
100%
publishKey and subscribeKey present
100%
100%
No secretKey in client code
100%
100%
enableEventEngine option
0%
100%
Single PubNub instance
100%
100%
SSL/TLS not disabled
100%
100%
Listener before subscribe
100%
100%
Status event handling
0%
100%
Try-catch on publish
0%
100%
Direct messaging channel design
Alphabetical user ID sorting
100%
100%
Deterministic channel name
100%
100%
No invalid characters in channel name
100%
100%
Uses hyphens or underscores as separators
100%
100%
Descriptive channel prefix
100%
100%
Listener before subscribe
100%
100%
Message listener included
100%
100%
Status listener included
100%
100%
userId in SDK init
100%
100%
Async publish with error handling
100%
100%
Concise message payload
100%
100%
Wildcard channel hierarchy design
Dot-separated hierarchy
0%
100%
Maximum three levels
0%
0%
Wildcard at end only
0%
100%
Building-level wildcard subscribe
0%
100%
No invalid characters in base channel names
100%
100%
Async publish
0%
100%
Concise sensor payload
80%
60%
Payload under 32KB aware
100%
100%
Listener before subscribe
0%
0%
Status event handling
0%
0%
userId in SDK init
0%
0%
React component lifecycle management
PubNub in useRef
100%
100%
useEffect for setup
100%
100%
Cleanup in useEffect return
100%
100%
unsubscribeAll on cleanup
100%
100%
removeListener on cleanup
100%
100%
Listener before subscribe
100%
100%
userId in PubNub config
100%
100%
Dependency array includes props
100%
100%
Valid channel name
100%
100%
Status listener
0%
100%
Try-catch on bid publish
100%
100%
Message listener handles bids
100%
100%
Channel groups and message catch-up
Uses Channel Groups
100%
100%
channelGroups.addChannels API
100%
100%
channelGroups.removeChannels API
100%
100%
Subscribe to channelGroups
100%
100%
Publishes to individual channel
0%
0%
fetchMessages for catch-up
100%
100%
Descriptive channel names
60%
100%
No invalid channel characters
0%
100%
userId in SDK init
0%
100%
Listener before subscribe
100%
100%
Status event handling
0%
100%
Error handling on publish or fetch
0%
0%
Install with Tessl CLI
npx tessl i pubnub/pubnub-app-developer