pactflow

Automate PactFlow contract testing tasks with MCP contract-testing_* commands.

6|3|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/pactflow/pactflow-agent-skills --skill pactflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pactflow
Source: https://github.com/pactflow/pactflow-agent-skills/tree/main/plugins/swagger-contract-testing/skills/pactflow
Command: npx skills add https://github.com/pactflow/pactflow-agent-skills --skill pactflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PactFlow contract testing automates the collaboration between consumer and provider teams by enabling AI-assisted generation and verification of Pact tests, provider states, and deployment readiness checks.

Core Features & Use Cases

  • Generate Pact tests for HTTP and BDCT flows using the contract-testing_* MCP tool catalog.
  • Review and refine tests, provider states, and can-i-deploy queries across environments.
  • Use webhooks and environments to validate deployments and track verification results in Pact Broker or PactFlow.

Quick Start

Initialize AI-assisted PactFlow contract testing by generating and reviewing Pact tests, provider states, and can-i-deploy checks.

Frequently Asked Questions about pactflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Pact tests for HTTP and BDCT flows using an AI assistant?

Pact tests for HTTP and BDCT flows are generated by applying the contract-testing_* MCP tool catalog to automate consumer and provider test creation. This AI-assisted generation directly accelerates test scaffolding for contract testing workflows.

Can I automate can-i-deploy checks across PactFlow environments?

Yes, can-i-deploy diagnostics are automated across PactFlow environments to validate deployment readiness. The assistant queries the Pact Broker to ensure your consumer or provider version is safely deployable before release.

What is contract testing and how does PactFlow automate provider states?

Contract testing validates interactions between consumer and provider APIs by verifying separately generated contracts. PactFlow automates this by using AI to review and refine provider states, ensuring consistent and scalable verification across environments.

Does the PactFlow assistant support publishing and recording deployments to the Pact Broker?

Yes, publishing and recording deployments to the Pact Broker are fully supported. The assistant manages environments and utilizes webhooks to track verification results, ensuring secure and scalable contract testing operations.

Do I need the MCP tool catalog to run PactFlow provider comparisons?

Yes, the contract-testing_* MCP tool catalog commands are required for executing PactFlow provider comparisons and BDCT workflows. The MCP integration provides the necessary interface for AI-assisted contract testing tasks.