contract-testing
Installation
SKILL.md
Contract Testing
Use this skill when
- Pinning request/response contracts between services
- Enabling consumer-driven contract changes
- Catching breaking API changes in CI
Do not use this skill when
- Sharp full-stack E2E
- Only internal same-team code
Instructions
- Define contracts from consumer needs (consumer-driven).
- Validate providers against published contract stubs.
- Run contract checks in CI on both sides.
- Version contracts; communicate breaking changes.
- Keep examples minimal and realistic.
- Automate contract publishing and consumption.