CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

pubnub/pubnub-app-developer

Build real-time applications with PubNub pub/sub messaging

Agent Success

Agent success rate when using this tile

94%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.29x

Baseline

Agent success rate without this tile

73%

Overview
Eval results
Skill reviews
Files

task.mdevals/scenario-1/

PubNub SDK Setup for a Browser-Based Dashboard

Context

You are building a real-time analytics dashboard that runs in the browser. The dashboard needs to connect to PubNub to receive live data updates. Multiple pages/components in the single-page application will need access to the PubNub connection. Users log in with an authenticated account before seeing the dashboard.

Task

Write a JavaScript module (pubnub-client.js) that initializes and exports a configured PubNub client for use throughout a browser-based single-page application. The module should handle user identification properly for a production environment where users have authenticated accounts.

Expected Outputs

  • A single pubnub-client.js file that initializes and exports a PubNub instance ready for use across the application.
tessl i pubnub/pubnub-app-developer@0.1.4

evals

scenario-1

rubric.json

task.md

SKILL.md

tile.json