CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

contract-testing-builder

This guide demonstrates consumer and provider contract tests, OpenAPI and JSON Schema validation, and checks for breaking API changes. It also includes CI examples, contract documentation, and a checklist for establishing a contract-testing practice.

Quality

76%

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/contract-testing-builder/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

57%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 delivers extensive, largely executable code across consumer tests, provider verification, OpenAPI validation, and CI, but it is too long for a single SKILL.md, explains concepts Claude already knows, and lacks an explicit ordered workflow with validation checkpoints. Splitting content into reference files and adding a sequenced process would substantially improve it.

Suggestions

Move the full OpenAPI spec, contract documentation template, and breaking-change detection examples into files under references/ and keep only concise pointers plus the core Pact workflow in SKILL.md.

Add an explicit ordered workflow (1. write consumer tests, 2. publish pacts, 3. configure provider states, 4. verify provider, 5. wire CI) with validation checkpoints, especially around the destructive database teardown in the provider-state example.

Cut the 'Contract Testing Concepts' benefits block and trim code examples so every remaining token earns its place, trusting Claude's existing knowledge of contract-testing fundamentals.

DimensionReasoningScore

Conciseness

The bulk is useful executable code, but the 'Contract Testing Concepts' section explains consumer/provider basics and a Benefits list Claude already knows, the 'Contract Documentation' template is padding, and at ~490 lines the body could be tightened considerably.

3 / 5

Actionability

Mostly copy-paste ready code covers PactV3 consumer tests, provider verification with state handlers, OpenAPI specs, Ajv validation, and CI workflows, but some imports are missing (path, like, db, request) and the 'Breaking Change Detection' tests are contrived hardcoded object comparisons rather than real detection.

4 / 5

Workflow Clarity

Content is organized by topic rather than a sequenced process; the consumer-then-publish-then-verify order is only implicit in the CI workflow, the Output Checklist lists deliverables without validation checkpoints, and the provider-state example runs a destructive 'TRUNCATE TABLE users CASCADE' with no validation guidance, capping this at 3.

3 / 5

Progressive Disclosure

Everything lives in a single ~490-line SKILL.md with no bundle files at all; content that clearly belongs in separate reference files (the full OpenAPI spec, the documentation template, breaking-change examples) is inlined, though section headers do provide reasonable within-file structure.

3 / 5

Total

13

/

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 explicitly covers both what the skill does and when to use it, with natural trigger terms and a distinct niche. Minor improvements are possible by dropping the 'or similar tools' hedge and adding a few more trigger synonyms.

DimensionReasoningScore

Specificity

The description lists several concrete actions ('Implements API contract testing', 'ensure provider-consumer compatibility', 'Prevents breaking changes', 'bi-directional verification') and names a specific tool (Pact), but the hedge 'or similar tools' and unmentioned capabilities (schema validation, pact publishing) leave minor gaps in coverage.

4 / 5

Completeness

It clearly answers 'what' in third person (implements contract testing, prevents breaking changes, verifies compatibility) and explicitly answers 'when' with quoted concrete trigger phrases ('Use for "contract testing", "API contracts", "Pact", or "consumer-driven contracts"'), matching the top anchor exactly.

5 / 5

Trigger Term Quality

Triggers 'contract testing', 'API contracts', 'Pact', and 'consumer-driven contracts' are natural phrases users would say, including a key synonym, but common variations like 'pact broker', 'provider verification', or 'API compatibility' are missing.

4 / 5

Distinctiveness Conflict Risk

Pact and consumer-driven contracts form a clear, distinct niche with minimal conflict risk, though 'API contracts' could overlap with closely related API-design or OpenAPI-validation skills.

4 / 5

Total

17

/

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/contract-testing-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.