Verify provider-consumer API contract compatibility and versioning; not ad-hoc endpoint behavior checks
Install
npx skillscat add ozerohax/assistagents/testing-contract Install via the SkillsCat registry.
SKILL.md
Providers and consumers (consumer/provider)
Contract source (OpenAPI/Pact) and version
Environments for provider and consumer verification
Versioning and compatibility rules
List of critical contracts and endpoints
</input_requirements>
The contract specifies required and optional fields
The contract includes success and error responses
Contract changes are versioned
The contract contains no secrets or real data
</design_rules>
The provider passes contract verification
Consumer expectations are verified automatically
Backward compatibility is verified on changes
Contract and service versions are recorded
Failures are classified as breaking/non-breaking
</execution_rules>
Required fields and data types
Optional fields and default values
Error codes and error format
Pagination/sorting/filtering
Authorization and access control
All checks are reproducible and documented
There is a link between the contract and the test/check
Results include contract versions and identifiers
Artifacts are recorded (reports/logs)
</quality_rules>
Do not publish contracts without passing verification
Do not mix consumer and provider environments
Do not accept breaking changes without bumping the version
</do_not>
Verify that the provider returns required fields per contract
Verify error format and response codes
</example_checks>