CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/graphql-yoga-tests

Tests a GraphQL Yoga server (the-guild.dev runtime) with `yoga.fetch()` for in-process, no-network request simulation of queries and mutations, `@graphql-tools/executor-http` for subscription and incremental-delivery (streaming) tests, auth-header pass-through, and production-config gates for disabled introspection and persisted operations; also carries the Mercurius (Fastify GraphQL plugin) in-process `app.inject()` testing patterns in references/mercurius.md. Use to test a GraphQL Yoga or Mercurius server, write query, mutation, or subscription tests, or check production plugin config; for other runtimes use apollo-server-tests or hasura-tests instead, not this skill.

76

Quality

95%

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

88%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 body is highly actionable with executable code, a validated integration workflow, and good progressive disclosure into real reference files. It is slightly verbose in a few explanatory passages and references one unbundled path.

Suggestions

Trim conceptual narration like 'Yoga's context-builder runs against the simulated request, so auth middleware is exercised' and the restated worked-example prose to leave the code and assertions to speak.

Resolve the dangling reference to references/introspection.md (under graphql-complexity-limit-tester) — either add the file or remove the pointer to avoid a broken progressive-disclosure link.

Consolidate the duplicated 'Unexpected error.' / useMaskedErrors guidance between the Parsing results section and the Anti-patterns table to reduce token cost.

DimensionReasoningScore

Conciseness

Mostly lean and code-forward, but includes some over-explanation Claude already knows (e.g. 'auth middleware is exercised', 'useMaskedErrors interacts with every test that asserts on errors') and the worked-example narration repeats steps already shown as code.

4 / 5

Actionability

Fully executable copy-paste-ready TypeScript for the basic test, HTTP executor, subscriptions, and auth pass-through, plus concrete assertions and a numbered integration scenario; commands (npm install, npm test) are specific.

5 / 5

Workflow Clarity

The worked example is a clear numbered sequence with explicit validation assertions (tokenless rejected, valid token resolves, introspection error matches /introspection/i) and a feedback expectation; the anti-patterns table reinforces checkpoints.

5 / 5

Progressive Disclosure

Body appropriately splits bulk production-config and Mercurius patterns into real one-level-deep references (references/production-config-tests.md, references/mercurius.md) with inline core examples; minor gap is the references to a non-bundled graphql-complexity-limit-tester / references/introspection.md path that is not present in the bundle.

4 / 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.

The description is a strong, specific trigger document: it names concrete tools and actions, gives explicit 'Use to...' guidance, and steers away from sibling skills to minimize conflict risk. Voice is appropriately third person throughout.

DimensionReasoningScore

Specificity

Names multiple concrete actions across distinct tools: 'yoga.fetch() for in-process...request simulation', '@graphql-tools/executor-http for subscription...tests', 'auth-header pass-through', and 'production-config gates for disabled introspection and persisted operations'.

5 / 5

Completeness

Explicitly answers 'what' (in-process no-network simulation via yoga.fetch, executor-http for subscriptions, auth pass-through, prod-config gates) and 'when' ('Use to test a GraphQL Yoga or Mercurius server, write query, mutation, or subscription tests, or check production plugin config').

5 / 5

Trigger Term Quality

Comprehensive natural trigger terms covering query, mutation, subscription tests, auth-header pass-through, introspection, persisted operations, plus the natural phrasing 'Use to test a GraphQL Yoga or Mercurius server, write query, mutation, or subscription tests, or check production plugin config'.

5 / 5

Distinctiveness Conflict Risk

Clear niche with explicit boundary steering ('for other runtimes use apollo-server-tests or hasura-tests instead, not this skill') plus named runtime (the-guild.dev GraphQL Yoga) minimizing wrong-skill triggering.

5 / 5

Total

20

/

20

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