Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Forge Contract Testing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ansh44233-forge-contract-testing)
---
name: forge-contract-testing
description: Prevent integration breakage between services with consumer-driven contract tests (Pact) or schema contract checks
---
<!-- Generated from catalog/skills/contract-testing/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->
# Contract testing
Contract tests catch breaking API changes without a full end-to-end environment.
## Consumer-driven
- Consumers record the interactions they rely on (Pact); providers verify them in CI.
- Publish contracts to a broker; gate provider deploys on `can-i-deploy`.
## Schema contracts
- For OpenAPI/GraphQL/protobuf, diff the schema against the last release and fail on breaking changes.
## Scope
- Test the shape and semantics consumers use, not every provider field.
- Keep provider states minimal and deterministic.
## Verify
Break one field the consumer depends on in a branch and confirm the provider verification fails.