contract-testing
Installation
SKILL.md
Discovery Questions
- Architecture: Microservices, monolith with separate consumers (mobile/SPA), or BFF pattern? Contract testing matters most when teams deploy independently.
- Who owns the contract? Consumer-driven (consumers define what they need) or provider-driven (provider publishes a spec)? Most teams benefit from consumer-driven.
- API versioning strategy: URL-based (
/v1/,/v2/), header-based, or none? Contracts must account for version negotiations. - How many consumer-provider pairs? Start with the highest-traffic or most-fragile integration. Do not try to contract-test everything at once.
- Existing API specs: Is there an OpenAPI/Swagger spec? If yes, consider schema-first contracts as a starting point.
- Check
.agents/qa-project-context.mdfirst. Respect existing API conventions and testing infrastructure.
Core Principles
Related skills