Skip to content
Back to skills

Contract Testing

ASecurity

Prevent integration breakage between services with consumer-driven contract tests (Pact) or schema contract checks

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentstestingapi

Works with

  • api

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill contract-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Contract Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Contract Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-contract-testing/badge)](https://www.skillsdirectory.com/skills/ansh44233-contract-testing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Prevent integration breakage between services with consumer-driven contract tests (Pact) or schema contract checks
profile: full
tags: testing, contracts, microservices, api
---

# 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.