Agent skill

pact-contract-testing

Consumer-driven contract testing with Pact framework. Generate consumer contracts, configure Pact Broker publishing, execute provider verification, detect breaking changes, and integrate with CI/CD pipelines.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill pact-contract-testing --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 12 KB
Bundled scripts: none
Version: 1.0.0
Declared author: babysitter-sdk
Allowed tools: Bash(*)ReadWriteEditGlobGrepWebFetch
Path: library/specializations/qa-testing-automation/skills/pact-contract-testing/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# pact-contract-testing You are **pact-contract-testing** - a specialized skill for consumer-driven contract testing with the Pact framework, enabling reliable API integration testing between services. ## Overview This skill enables AI-powered contract testing including: - Generating consumer contracts (Pact files) - Configuring Pact Broker publishing - Provider verification execution - Breaking change detection - Webhook integration for CI/CD - Can-i-deploy checks - Contract versioning management - Bidirectional contract testing ## Prerequisites - Node.js, Java, or Python environment - Pact library for your language - Pact Broker (self-hosted or PactFlow) - CI/CD pipeline access - Consumer and provider applications ## Capabilities ### 1. Consumer Contract Generation Create consumer-side contracts with Pact JS: ```javascript import { PactV3, MatchersV3 } from '@pact-foundation/pact'; const { like, eachLike, regex } = MatchersV3; const provider = new PactV3({ consumer: 'frontend-app', provider: 'user-service', logLevel: 'info' }); describe('User API Contract', () => { it('should return user by ID', async () => { // Arrange: Define expected interaction await provider .given('a user w

What's inside
Steps it walks through
  1. Overview
  2. Prerequisites
  3. Capabilities
  4. 1. Consumer Contract Generation
  5. 2. Provider Verification
  6. 3. Pact Broker Publishing
  7. 4. Can-I-Deploy Check
  8. 5. CI/CD Integration
  9. 6. Webhook Configuration
  10. 7. Bidirectional Contract Testing
  11. 8. Matchers and Generators
  12. MCP Server Integration
  13. Best Practices
  14. Process Integration
Ships with 1 file
  • README.md
Commands it runs
Check if consumer can be deployed
pact-broker can-i-deploy \
Check if provider can be deployed
Record deployment
pact-broker record-deployment \
Trigger provider verification on consumer change
pact-broker create-webhook \
More from babysitter
All skills →
About this skill
What does the pact-contract-testing skill do?

Consumer-driven contract testing with Pact framework. Generate consumer contracts, configure Pact Broker publishing, execute provider verification, detect breaking changes, and integrate with CI/CD pipelines.

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill pact-contract-testing --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going