Agent Plugins Marketplace
← All plugins

swagger-contract-testing

v1.2.0

Expert assistant for PactFlow and Pact contract testing — consumer-driven contracts, provider verification, can-i-deploy, BDCT, Drift CLI, and OpenAPI spec parsing. Includes specialized agents for reviewing and generating pact tests.

CodexClaude CodeAgent Plugins5 Skills1 MCP serverstdio

By Kevin Rohan Vaz6 GitHub starsUpdated 2 hours ago

Directory evidence

Runtimes
Codex, Claude Code, and Agent Plugins
Parsed components
6 skill or MCP entries
Source updated
Sep 28, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →

Install swagger-contract-testing for Codex and Claude Code

Installs for the current user
codex plugin marketplace add pactflow/pactflow-agent-skills
codex plugin marketplace upgrade pactflow-agent-skills
codex plugin add swagger-contract-testing@pactflow-agent-skills

Paste and run these commands in a terminal with Codex. They add and refresh the pactflow-agent-skills catalog, then install this plugin.

Compatibility: the page URL and API slug “swagger-contract-testing” remain stable.

  • Codex: swagger-contract-testing@agent-plugin-marketplace → swagger-contract-testing@pactflow-agent-skills

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/pactflow/pactflow-agent-skills

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/swagger-contract-testing/.

Plugin files

plugins/swagger-contract-testing/
├── .codex-plugin/plugin.json
├── .claude-plugin/plugin.json
├── plugin.json
├── skills/drift-testing/SKILL.md
├── skills/oas-generator/SKILL.md
├── skills/openapi-parser/SKILL.md
├── skills/pact-coverage/SKILL.md
├── skills/pactflow/SKILL.md
└── .mcp.json

Included Skills5

drift-testingskills/drift-testing/SKILL.md

Verifies API implementations against OpenAPI specifications using the Drift CLI, catching spec drift and supporting Bi-Directional Contract Testing (BDCT). Use when the user mentions Drift, API contract testing, provider contract testing, provider verification, spec drift, API conformance testing, OpenAPI verification, BDCT, drift expressions, drift datasets, drift lifecycle hooks, or Lua scripting in a testing context. Use when the user asks to write, run, or debug Drift test cases. Use when the user wants to test their API against an OpenAPI spec, generate tests from an OpenAPI spec, or check whether their API has drifted from its spec. Use when the user wants full endpoint coverage, wants all tests to pass, or asks to "keep running until everything passes".

oas-generatorskills/oas-generator/SKILL.md

Generates an OpenAPI 3.x YAML spec from a provider codebase using ripwire when no spec exists. Invoke this skill whenever the user needs an OpenAPI spec for a service that doesn't have one published — phrases like "generate an openapi spec from the code", "there's no oas for this service", "create a spec from the codebase", "the provider doesn't have a spec", or any time a pact-coverage or contract testing workflow is blocked because the provider spec is missing. Uses ripwire to extract HTTP route definitions and handler schemas across Ruby (Rails/Sinatra), Node.js (Express/Fastify), Python (Flask/FastAPI), and other ripwire-supported languages. Always ask for the codebase path if not provided. Requires ripwire on PATH.

openapi-parserskills/openapi-parser/SKILL.md

Parses complex OpenAPI specs and generates Drift test cases from them. Use whenever the user wants to generate, write, or scaffold Drift tests from an OpenAPI spec — especially when the spec contains complex schemas: anyOf/oneOf/allOf, discriminators, polymorphism, inheritance, $ref chains, regex patterns, enums, or optional fields. Use when the user asks to "create tests for an endpoint", "cover all response variants", "generate test cases from the spec", or says anything like "each viable combination of responses". Use when the user is trying to understand what values are valid for a complex schema field, or when they paste a spec path and ask what tests to write.

pact-coverageskills/pact-coverage/SKILL.md

Runs a coverage check to find which API operations, status codes, request body required fields, and response body required fields are NOT exercised by existing Pact consumer tests. Invoke this skill whenever the user asks "what's not covered by my pacts?", "which endpoints are missing pact tests?", "do my pact files cover the full spec?", "how complete is my pact coverage?", "which required fields aren't tested?", or any time they have Pact v2/v3/v4 JSON files and want to measure contract test coverage against an OpenAPI spec. Also invoke when they say they want to improve pact coverage or find coverage gaps — even if they don't say "pact-coverage" explicitly. Do NOT invoke for running provider verification, publishing pacts to a broker, or checking can-i-deploy; use the pactflow skill for those.

pactflowskills/pactflow/SKILL.md

Expert assistant for PactFlow and Pact contract testing. Use this skill whenever the user mentions PactFlow, Pact, contract testing, consumer-driven contracts, provider verification, can-i-deploy, pact broker, pacticipants, bi-directional contract testing (BDCT), publishing pacts, recording deployments, provider states, the contract matrix, or managing environments and versions in a PactFlow workspace. Also trigger when the user wants to generate or review Pact tests using AI, check deployment safety, investigate why a consumer-provider verification failed, or integrate contract testing into CI/CD. Trigger even if the user doesn't say "PactFlow" explicitly — phrases like "safe to deploy?", "check compatibility between services", "consumer test", "OpenAPI contract", or "service compatibility matrix" are strong signals.

MCP servers1

smartbearstdio
command
npx
args
-y @smartbear/mcp@latest
env.PACT_BROKER_BASE_URL
${user_config.pact_broker_base_url}
env.PACT_BROKER_TOKEN
${user_config.pact_broker_token}

Plugin manifests3

plugins/swagger-contract-testing/.codex-plugin/plugin.json
{
  "name": "swagger-contract-testing",
  "description": "Expert assistant for PactFlow and Pact contract testing — consumer-driven contracts, provider verification, can-i-deploy, BDCT, Drift CLI, and OpenAPI spec parsing. Includes specialized agents for reviewing and generating pact tests.",
  "version": "1.2.0",
  "author": {
    "name": "Kevin Rohan Vaz",
    "email": "[email protected]"
  },
  "skills": "./skills/",
  "agents": [
    "./agents/pact-generator.md",
    "./agents/pact-implementor.md",
    "./agents/pact-reviewer.md",
    "./agents/bdct-tester.md",
    "./agents/pact-maintainer.md",
    "./agents/pact-coverage.md"
  ],
  "mcpServers": "./.mcp.json",
  "userConfig": {
    "pact_broker_base_url": {
      "title": "PactFlow Base URL",
      "description": "Your PactFlow or Pact Broker URL (e.g. https://yourorg.pactflow.io)",
      "type": "string",
      "sensitive": false
    },
    "pact_broker_token": {
      "title": "PactFlow API Token",
      "description": "PactFlow API token — get it from app.pactflow.io/settings/api-tokens",
      "type": "string",
      "sensitive": true
    }
  }
}
plugins/swagger-contract-testing/.claude-plugin/plugin.json
{
  "name": "swagger-contract-testing",
  "description": "Expert assistant for PactFlow and Pact contract testing — consumer-driven contracts, provider verification, can-i-deploy, BDCT, Drift CLI, and OpenAPI spec parsing. Includes specialized agents for reviewing and generating pact tests.",
  "version": "1.2.0",
  "author": {
    "name": "Kevin Rohan Vaz",
    "email": "[email protected]"
  },
  "skills": "./skills/",
  "agents": [
    "./agents/pact-generator.md",
    "./agents/pact-implementor.md",
    "./agents/pact-reviewer.md",
    "./agents/bdct-tester.md",
    "./agents/pact-maintainer.md",
    "./agents/pact-coverage.md"
  ],
  "mcpServers": "./.mcp.json",
  "userConfig": {
    "pact_broker_base_url": {
      "title": "PactFlow Base URL",
      "description": "Your PactFlow or Pact Broker URL (e.g. https://yourorg.pactflow.io)",
      "type": "string",
      "sensitive": false
    },
    "pact_broker_token": {
      "title": "PactFlow API Token",
      "description": "PactFlow API token — get it from app.pactflow.io/settings/api-tokens",
      "type": "string",
      "sensitive": true
    }
  }
}
plugins/swagger-contract-testing/plugin.json
{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "swagger-contract-testing",
  "version": "1.2.0",
  "description": "Expert assistant for PactFlow and Pact contract testing — consumer-driven contracts, provider verification, can-i-deploy, BDCT, Drift CLI, and OpenAPI spec parsing. Includes specialized agents for reviewing and generating pact tests.",
  "author": {
    "name": "Kevin Rohan Vaz",
    "email": "[email protected]"
  },
  "homepage": "https://github.com/pactflow/pactflow-agent-skills",
  "repository": "https://github.com/pactflow/pactflow-agent-skills",
  "extensions": {
    "com.anthropic.claude": {
      "agents": [
        "./agents/pact-generator.md",
        "./agents/pact-implementor.md",
        "./agents/pact-reviewer.md",
        "./agents/bdct-tester.md",
        "./agents/pact-maintainer.md",
        "./agents/pact-coverage.md"
      ],
      "userConfig": {
        "pact_broker_base_url": {
          "title": "PactFlow Base URL",
          "description": "Your PactFlow or Pact Broker URL (e.g. https://yourorg.pactflow.io)",
          "type": "string",
          "sensitive": false
        },
        "pact_broker_token": {
          "title": "PactFlow API Token",
          "description": "PactFlow API token — get it from app.pactflow.io/settings/api-tokens",
          "type": "string",
          "sensitive": true
        }
      }
    }
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[swagger-contract-testing on Agent Plugins Marketplace](https://pluginsmp.com/plugins/swagger-contract-testing)