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.

79

Quality

99%

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

100%

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

A well-structured, token-efficient testing skill: lean prose, executable ws/Playwright examples, a sequenced Step 1-6 workflow with assertion-based validation, and clean one-level-deep progressive disclosure into a real references file. Minor formatting roughness in the trailing references list does not materially detract.

DimensionReasoningScore

Conciseness

Lean body that assumes Claude's competence - it never explains what WebSocket is or how the libraries work, and every section earns its place with code or a lookup table; not level 2 because there is no padded explanatory prose, only minor redundancy in repeated 'Per [RFC 6455]' citations.

3 / 3

Actionability

Provides fully executable, copy-paste-ready test code using real APIs (ws upgrade/pong handlers, Playwright page.on('websocket')) with concrete assertions like 'expect(msg.statusCode).toBe(101)' and 'expect(ws.protocol).toBe("chat-v2")'; not level 2 because the examples are complete runnable tests, not pseudocode.

3 / 3

Workflow Clarity

A clearly sequenced Step 1-6 flow where each test's assertions act as validation checkpoints, augmented by an anti-patterns checklist and an explicit 'Verify: ... if it is 1006 ... fix the server shutdown path' feedback loop in the referenced recipes; not level 2 because validation is explicit rather than implicit.

3 / 3

Progressive Disclosure

Overview body keeps the core recipes inline and clearly signals one-level-deep detail ('The close-frame status-code matrix ... are in references/websocket-test-recipes.md'), and that referenced file exists and contains the promised close-code and backpressure material; not level 2 because navigation is explicit and content is appropriately split.

3 / 3

Total

12

/

12

Passed

Description

100%

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, third-person description that names concrete WebSocket testing actions and provides an explicit 'Use when' trigger covering reconnect, close-code, and backpressure scenarios. Its only blemish is heavy RFC-level jargon that slightly dilutes the natural trigger terms, but coverage and completeness are excellent.

DimensionReasoningScore

Specificity

Lists multiple concrete actions - 'opening handshake', 'control frames (ping 0x9 / pong 0xA / close 0x8)', 'close-frame status codes', 'subprotocol negotiation', 'backpressure, and reconnect with jitter' - matching the 'Lists multiple specific concrete actions' anchor; not level 2 because coverage is comprehensive rather than partial.

3 / 3

Completeness

Clearly answers both 'what' (test handshake, control frames, close codes, subprotocol, backpressure, reconnect) and 'when' via an explicit 'Use when a feature holds a long-lived WebSocket open and reconnect, close-code, or backpressure behavior is unverified' clause; not level 2 because the trigger is explicit, not implied.

3 / 3

Trigger Term Quality

Natural user-facing terms are well covered ('WebSocket', 'reconnect', 'close-code', 'backpressure', 'long-lived WebSocket open') and the 'Use when' clause names them explicitly; not level 2 because common variations are present even though some jargon (Sec-WebSocket-Key, 0x9/0xA) is layered on top.

3 / 3

Distinctiveness Conflict Risk

Clear niche (WebSocket protocol testing) with distinct triggers and cross-referenced alternatives (server-sent-events-tests, grpc-streaming-tests), making it unlikely to fire for the wrong skill; not level 2 because the scope is narrowly bounded to WS behavior rather than overlapping generic realtime testing.

3 / 3

Total

12

/

12

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