Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Contract Testing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-contract-testing)
---
name: contract-testing
description: Consumer-driven contract tests (Pact or schema tests) between services and API clients.
tags: [testing, api]
---
# Contract Testing
## When to use
- Microservices, public APIs, mobile clients
## Procedure
1. Consumers define expected interactions
2. Provider verifies in CI
3. Version contracts
4. Fail builds on breaking changes
## Checklist
- [ ] Contracts versioned
- [ ] Provider verification in CI
## Anti-patterns
- Relying only on e2e tests across services