Provider-consumer compatibility testing for service interface changes. Use when APIs or event schemas evolve and executable contract checks must guard compatibility before release; do not use for UI-only validation or architecture topology decisions.
Provider-consumer compatibility testing for service interface changes. Use when APIs or event schemas evolve and executable contract checks must guard compatibility before release; do not use for UI-only validation or architecture topology decisions.
Testing Contract
Overview
Use this skill to prevent integration regressions by enforcing provider-consumer contracts in CI.
Scope Boundaries
Use when interface compatibility between producer and consumer is a release risk.
Typical requests:
Verify an API response change does not break existing consumers.
Enforce event schema compatibility in CI.
Add provider-consumer contract gates before merge.
Do not use when:
The scope is visual/UI behavior only (testing-e2e or playwright).
The scope is isolated unit logic (testing-unit).
Inputs
Contract definitions and compatibility policy
Provider/consumer versioning constraints
Release and rollback requirements
Outputs
Versioned contract suite and compatibility matrix
Decision record for contract strategy and migration path
Verification checklist for provider and consumer pipelines