CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/apollo-server-tests

Wraps Apollo Server testing patterns: `server.executeOperation()` (in-process, no HTTP), `supertest` against an ephemeral-port HTTP server (port 0), context injection via the `contextValue` second-argument, and assertion patterns for response shape + errors. Includes the production-config gates testable through this skill - introspection-disabled, persisted-query mode, hideSchemaDetailsFromClientErrors. Use when writing tests for an Apollo Server v4+ GraphQL service.

75

Quality

94%

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 tight, executable, well-organized skill body that assumes Claude's competence and provides copy-paste-ready Apollo Server test patterns with embedded validation and an anti-pattern checklist. Its only minor blemish is a justified placeholder in the APQ example.

DimensionReasoningScore

Conciseness

The body assumes competence (no 'what is GraphQL/Apollo Server' preamble) and is dense with operational specifics — install commands, the `body.kind === 'single'` check, `extensions.code` vs message brittleness, prod-config gates — with almost no padding.

3 / 3

Actionability

Nearly all code blocks are copy-paste-ready and executable (executeOperation test, context injection, supertest lifecycle, introspection/hideSchemaDetails assertions, CI YAML); the lone placeholder in the APQ example is explicitly justified as coming from a manifest.

3 / 3

Workflow Clarity

Clear sequencing separates in-process, HTTP, and production-config flows with embedded validation checkpoints (assert errors defined, match /introspection/i, check extensions.code), and the anti-patterns table acts as a checklist; test-writing is non-destructive so feedback loops are intrinsic to the assertions.

3 / 3

Progressive Disclosure

No bundle files exist and references are only the two external Apollo doc links (one level deep, clearly signaled); the ~228-line body is organized into clean, navigable sections with no nested or monolithic structure.

3 / 3

Total

12

/

12

Passed

Description

85%

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 highly specific, third-person description with explicit what-and-when coverage and a distinct Apollo Server testing niche. Its only weakness is trigger-term breadth, relying on one 'Use when' clause rather than a spread of natural keyword variations.

Suggestions

Broaden the 'Use when' clause to name more natural user phrasings, e.g. 'Use when writing or debugging tests for an Apollo Server GraphQL service, including introspection, persisted-query (APQ), or error-handling gates.'

Consider adding a few everyday synonyms users say ('GraphQL tests', 'Apollo test setup', 'test my resolvers') alongside the API-level terms.

DimensionReasoningScore

Specificity

Lists multiple concrete actions: `server.executeOperation()` in-process, `supertest` on a port-0 server, `contextValue` second-arg injection, plus specific production-config gates (introspection-disabled, persisted-query, hideSchemaDetailsFromClientErrors) — well beyond naming a domain.

3 / 3

Completeness

Explicitly answers what (wraps the named testing patterns and production-config gates) and when (an explicit 'Use when writing tests for an Apollo Server v4+ GraphQL service' trigger clause).

3 / 3

Trigger Term Quality

The single 'Use when writing tests for an Apollo Server v4+ GraphQL service' clause and keywords (Apollo Server, GraphQL, tests, supertest) are natural, but coverage of common user variations is thin — no enumeration of terms a user might actually say beyond the one trigger.

2 / 3

Distinctiveness Conflict Risk

The combination of executeOperation/contextValue second-arg, persisted-query, and hideSchemaDetailsFromClientErrors is uniquely Apollo Server v4+, giving it a clear niche unlikely to trigger the wrong skill.

3 / 3

Total

11

/

12

Passed

Validation

100%

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

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

Table of Contents