claudecodex

swagger-contract-testing

Expert assistant for PactFlow's OpenAPI contract testing tools — Drift CLI and OpenAPI spec parsing

7 on GitHubby Kevin Rohan Vazv1.4.0MITupdated yesterday
/

Plugin swagger-contract-testing from marketplace swagger-contract-testing-agent-extensions in pactflow/pactflow-agent-skills. Commands read from the repo's manifest — today.

This plugin runs code on your machine — its hooks fire automatically on events like tool use and it starts local MCP servers. The exact commands are listed below; read them before installing.

What it installs

Skills (7)

  • asyncapi-generator

    Generates an AsyncAPI 3.x YAML spec from a service codebase using ripwire when no spec exists. Invoke this skill whenever the user needs an AsyncAPI spec for an event-driven service that doesn't have one published — phrases like "generate an asyncapi spec from the code", "there's no asyncapi for thi

  • asyncapi-parser

    Parses AsyncAPI 3.x specs and generates Drift test cases from them. Use whenever the user wants to generate, write, or scaffold Drift tests from an AsyncAPI spec — especially when the spec contains complex message schemas: oneOf/anyOf/allOf, discriminators, polymorphism, $ref chains, or multiple mes

  • drift-testing

    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, O

  • oas-generator

    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

  • openapi-parser

    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 pa

  • pact-coverage

    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?",

  • pactflow

    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 deployme

Subagents (6)

  • bdct-tester

    Agentic BDCT (Bi-Directional Contract Testing) driver. Invoke this agent when the user wants to implement a full BDCT flow end-to-end: it generates high-coverage consumer Pact tests and a provider OpenAPI contract, publishes both to PactFlow, runs cross-contract verification, and loops — diagnosing

  • pact-coverage

    Runs Pact consumer coverage. Uses any available code-intelligence / knowledge-graph tool (ripwire, codebase-memory-mcp, repowise, graphify, Aider repo-map, ...) or plain Read/Grep/Glob on the consumer codebase to discover which provider API routes the consumer calls, builds a consumer-filtered provi

  • pact-generator

    Specialized agent for generating new Pact consumer tests and provider state handlers from existing code, OpenAPI specs, or example request/response pairs. Invoke this agent when the user wants to write their first pact test, generate tests for a new endpoint, convert existing API client code into pa

  • pact-implementor

    Specialized agent for building a new Pact client library from scratch in any language. Invoke this agent when the user wants to create a Pact implementation for a language that doesn't have one yet — such as Pact Zig, Pact Lua, Pact Elixir, Pact Nim, Pact V, Pact Odin, or any other language. Also in

  • pact-maintainer

    Pact ecosystem maintenance agent. Invoke when the user wants to audit the health of their PactFlow workspace, fix failing verifications, clean up stale branches or old versions, update consumer tests after an API change, manage environments and webhooks, diagnose can-i-deploy failures, or get a full

  • pact-reviewer

    Specialized agent for reviewing Pact consumer tests and provider verification code. Invoke this agent when the user wants to audit existing pact tests for best practice violations, identify false positives, check provider state naming conventions, or get ranked improvement recommendations. Also invo

MCP servers (1)

  • smartbear

    runs: npx -y @smartbear/mcp@latest

Hooks (2)

  • SessionStart

    ${CLAUDE_PLUGIN_ROOT}/hooks/check-pact-config.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/deployment-reminder.sh

View source on GitHub docs.pact.io

More from pactflow/pactflow-agent-skills

All 2 plugins →

Generates a scrum-tool-agnostic onboarding backlog (Jira, GitHub, or Azure DevOps) that takes a team from zero to publishing consumer + provider contract tests on PactFlow

1 skill

7

Maintain swagger-contract-testing?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins2 plugins