CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

pubnub/pubnub-chat

Build chat applications with PubNub Chat SDK

Agent Success

Agent success rate when using this tile

95%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.83x

Baseline

Agent success rate without this tile

52%

Overview
Eval results
Skill reviews
Files

task.mdevals/scenario-3/

Initialize PubNub Chat SDK for a Secured Application

Context

You are setting up the PubNub Chat SDK for a web application that requires authenticated access. The application uses PubNub Access Manager, and each user receives an authentication token from your backend server upon login. The backend provides the token as part of the login response.

Task

Write a JavaScript module (chat-init.js) that:

  1. Initializes the PubNub Chat SDK with proper configuration
  2. Accepts a user ID and an authentication credential from the server
  3. Returns the initialized chat instance ready for use
  4. Includes comments noting any admin portal prerequisites needed for this to work

Expected Outputs

  • A chat-init.js file that exports an async function to initialize and return a Chat SDK instance with authentication support.
tessl i pubnub/pubnub-chat@0.1.4

evals

scenario-3

rubric.json

task.md

SKILL.md

tile.json