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-2/

Channel Naming Scheme for a Messaging Application

Context

You are designing the channel structure for a PubNub-based messaging application. The app supports:

  • One-on-one private conversations between any two users
  • Group chat rooms with descriptive names
  • Per-user notification channels

User IDs are alphanumeric strings like "user_abc123". The system will have thousands of users, and any two users should be able to start a private conversation.

Task

Write a JavaScript utility module (channel-utils.js) that provides functions to generate channel names for each of the three channel types. Include documentation comments explaining the naming conventions and any constraints. Ensure the naming scheme works correctly regardless of which user initiates a private conversation.

Expected Outputs

  • A channel-utils.js file with exported helper functions for generating channel names for private conversations, group chats, and user notification channels.
tessl i pubnub/pubnub-app-developer@0.1.4

evals

SKILL.md

tile.json