CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/websocket-tests

Test WebSocket protocol behavior - opening handshake (HTTP Upgrade with Sec-WebSocket-Key + Sec-WebSocket-Version: 13), control frames (ping 0x9 / pong 0xA / close 0x8), close-frame status codes (1000 normal, 1001 going-away, 1006 abnormal, 1011 server error), subprotocol negotiation, backpressure, and reconnect with jitter. Works with ws (Node), websockets (Python), or Playwright frame inspection per language. Use when a feature holds a long-lived WebSocket open and reconnect, close-code, or backpressure behavior is unverified.

74

Quality

93%

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

Overview
Quality
Evals
Security
Files

Quality

Content

86%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.

A well-structured, highly actionable testing skill with executable examples, a clear step sequence, and good reference split. Minor conciseness redundancy with the description and the absence of an explicit validate/fix feedback loop keep two dimensions at 4.

Suggestions

Remove the repeated control-frame opcode/close-code lists from the body since they already appear verbatim in the description, relying on the reference file for the full matrix.

Add an explicit validate-then-retry checkpoint (e.g., 'if a close code assertion fails, inspect the server shutdown path before re-running') to turn the test sequence into a feedback loop.

Trim editorial asides like 'not RFC 6455 itself, but field-tested practice' to keep the body token-lean.

DimensionReasoningScore

Conciseness

Mostly lean and code-driven, but re-lists control-frame opcodes and close codes already in the description and adds light editorializing ('not RFC 6455 itself, but field-tested practice') that could be trimmed.

4 / 5

Actionability

Provides fully executable, copy-paste-ready test code across ws/Playwright/websockets covering handshake, subprotocol, ping/pong, reconnect, and frame inspection, with the remaining matrix in a reference file.

5 / 5

Workflow Clarity

Steps 1–6 are clearly sequenced with assertion-based checkpoints built into each test, but there is no explicit validate-then-fix feedback loop for the multi-step process.

4 / 5

Progressive Disclosure

Body is a concise overview that signals a single one-level-deep reference (references/websocket-test-recipes.md, a real file) for the close-code matrix and backpressure recipes, with content appropriately split.

5 / 5

Total

18

/

20

Passed

Description

100%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, specific description that names concrete protocol behaviors, supplies explicit 'Use when' trigger guidance, and stays in third person. It avoids vague fluff and is clearly distinguishable from sibling skills.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — opening handshake, control frames, close-frame status codes, subprotocol negotiation, backpressure, and reconnect with jitter — giving comprehensive coverage rather than vague verbs.

5 / 5

Completeness

Explicitly answers both what (the protocol behaviors tested) and when ('Use when a feature holds a long-lived WebSocket open and reconnect, close-code, or backpressure behavior is unverified').

5 / 5

Trigger Term Quality

Uses natural terms a user testing realtime features would say ('WebSocket', 'reconnect', 'close-code', 'backpressure', 'ping/pong') with synonyms, matching the comprehensive-coverage anchor.

5 / 5

Distinctiveness Conflict Risk

Occupies a clear niche (RFC 6455 WebSocket protocol testing) with distinct triggers and minimal overlap risk with adjacent realtime skills.

5 / 5

Total

20

/

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.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Reviewed

Table of Contents