This skill validates API contracts using consumer-driven testing and OpenAPI validation. It leverages Pact for consumer-driven contract testing, ensuring that API providers adhere to the expectations of their consumers. It also validates APIs against OpenAPI specifications to guarantee compliance and identify breaking changes. Use this skill when the user asks to generate contract tests, validate API responses, check backward compatibility, or validate requests/responses using the terms "contract-test", "ct", "Pact", "OpenAPI validation", or "consumer-driven contract testing".
68
53%
Does it follow best practices?
Impact
90%
0.94xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./backups/skills-migration-20251108-070147/plugins/testing/contract-test-validator/skills/contract-test-validator/SKILL.mdPact consumer-driven contract test generation
Pact library used
100%
100%
Consumer contract generated
100%
100%
Provider verification test created
100%
100%
Consumer role identified
100%
100%
Provider role identified
100%
100%
Request interaction defined
100%
100%
Response expectations defined
100%
100%
API details specific
100%
100%
Runnable test code
100%
100%
Both sides documented
100%
100%
OpenAPI specification validation and discrepancy reporting
OpenAPI validator used
58%
0%
Spec loaded correctly
100%
100%
Discrepancies identified
100%
100%
Violations reported
91%
100%
Specific endpoints checked
100%
100%
Response body validated
100%
100%
Validation report file produced
100%
100%
No false positives on valid responses
100%
36%
Up-to-date spec used
100%
100%
API backward compatibility and breaking change detection
Breaking changes identified
100%
100%
Non-breaking changes distinguished
83%
100%
Backward compatibility check tool/approach
100%
83%
Specific violations reported
100%
100%
CI/CD integration shown
70%
60%
Exit code or pass/fail signal
100%
100%
Both specs compared
100%
100%
Report file produced
100%
100%
Consumer impact described
55%
55%
13d35b8
Table of Contents
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.