CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

websocket-realtime-builder

The guide walks through core WebSocket implementation decisions and provides server-side Socket.io examples alongside React hooks and a chat component. It also covers authentication, room access, notifications, presence, connection errors, reconnection, and implementation checklists.

Quality

78%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/websocket-realtime-builder/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

63%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The skill delivers abundant concrete, near-executable Socket.io code covering the full stack from auth middleware to React hooks, but it is a monolithic single-file implementation. Splitting peripheral systems into reference files and removing duplicated reconnection configuration would improve both token efficiency and structure.

Suggestions

Move the presence system, chat component, and notifications hook into one-level-deep reference files (e.g., references/presence.md, references/chat-ui.md) and keep SKILL.md as a concise overview with clearly signaled links.

Remove the duplicated client reconnection configuration in the Error Handling & Reconnection section, since the useSocket hook already demonstrates those options; keep only the genuinely new connect_error/reconnect_failed handling.

Fix the corrupted 'odlineserId' identifier in the presence example and stub or define the undefined helpers (canAccessRoom, db, verifyToken, WS_URL) so the code examples are fully copy-paste ready.

DimensionReasoningScore

Conciseness

The ~630-line body is code-heavy with almost no concept re-teaching, but it includes unnecessary duplication: the "Error Handling & Reconnection" section repeats reconnection options already configured in the useSocket hook, and a full Tailwind-styled chat UI component is peripheral to the skill's core. Mostly efficient but with clear trimming opportunities, matching anchor 3 rather than the minor-trim anchor 4.

3 / 5

Actionability

Concrete TypeScript covers server setup, auth middleware, namespaces/rooms, emitter services, React hooks, presence, and error handling, matching 'mostly executable guidance with minor gaps'. Not 5 because examples are not copy-paste ready: canAccessRoom, db, verifyToken, WS_URL, and Order are undefined, and the presence example contains a corrupted identifier (odlineserId).

4 / 5

Workflow Clarity

"Core Workflow" provides a clear 6-step sequence (choose library, setup server, add authentication, implement rooms, handle events, add reconnection) and the Output Checklist acts as an end checkpoint, matching anchor 4. Not 5 because there are no mid-flow validation/feedback loops and step 1 offers no decision criteria for Socket.io vs native WebSocket.

4 / 5

Progressive Disclosure

No bundle files exist and 400+ lines of application-specific code (presence system, chat component, notifications hook) are inlined in SKILL.md where they belong in separate reference files, matching the 'content that should be separate is inline' anchor. Not 2 because section headers are well-organized and navigation within the file is easy.

3 / 5

Total

14

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that clearly states capabilities and provides an explicit, well-phrased trigger clause with natural user terms. The only weaknesses are minor: a few missing trigger synonyms and slight overlap risk with chat/notification skills.

DimensionReasoningScore

Specificity

"rooms, authentication, and reconnection handling" names the WebSocket/Socket.io domain plus several concrete capabilities, matching the 'several specific actions; minor gaps' anchor. It falls short of 5 because coverage omits event handling, presence, and scaling, and 'real-time features' is broad.

4 / 5

Completeness

It explicitly answers both what ("Implements real-time features using WebSockets with Socket.io, rooms, authentication, and reconnection handling") and when ("Use when users request...") with concrete trigger phrases, exactly matching the top anchor. A missing 'Use when' clause would cap it at 3, but it is present and explicit.

5 / 5

Trigger Term Quality

The quoted triggers "real-time updates", "WebSocket", "Socket.io", "live chat", "push notifications" are all natural phrases a user would say, matching the good-coverage anchor. Not 5 because common variations like "realtime", "live data", or "messaging" are missing.

4 / 5

Distinctiveness Conflict Risk

The WebSocket/Socket.io niche is clear with distinct technical triggers, but "live chat" and "push notifications" create minor overlap risk with dedicated chat or notification skills. Mostly distinct with minor overlap risk matches anchor 4 rather than the minimal-conflict anchor 5.

4 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (637 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/websocket-realtime-builder/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.