CtrlK
BlogDocsLog inGet started
Tessl Logo

pubnub/pubnub-chat

Build chat applications with PubNub Chat SDK

Does it follow best practices?

Evaluation100%

1.14x

Agent success when using this tile

Validation for skill structure

Overview
Skills
Evals
Files

rubric.jsonevals/scenario-5/

{
  "context": "Evaluates whether the agent correctly implements PubNub Chat SDK read tracking and channel listing using the SDK's specific methods for unread counts, read markers, and user memberships. Tests Chat SDK-specific API usage.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "getHistory for messages",
      "description": "Past messages are fetched using channel.getHistory({ count, startTimetoken }) with pagination support via startTimetoken",
      "max_score": 20
    },
    {
      "name": "setLastReadMessage",
      "description": "Channels are marked as read using channel.setLastReadMessage(message) passing a message object, not a timetoken",
      "max_score": 25
    },
    {
      "name": "getUnreadMessagesCount",
      "description": "Unread count is retrieved using channel.getUnreadMessagesCount() method",
      "max_score": 20
    },
    {
      "name": "getMemberships for channels",
      "description": "The user's channel list is built by calling chat.currentUser.getMemberships() and accessing .channel on each membership",
      "max_score": 20
    },
    {
      "name": "Latest message for read mark",
      "description": "When marking a channel as read, the latest message is obtained from history and passed to setLastReadMessage",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i pubnub/pubnub-chat

evals

SKILL.md

tile.json