Home / pactflow / pactflow-agent-skills · plugins/swagger-contract-testing/skills/pact-coverage/SKILL.md · GitHub

pact-coverage skillA

pact-coverage is agent-read markdown (skill) from pactflow/pactflow-agent-skills: 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 c.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Pact Coverage

Analyses Pact v2/v3/v4 interactions against an OpenAPI spec and reports gaps across
four core dimensions: path/method, status codes, request body required fields, and
response body required fields. An optional fifth dimension — consumer code status
branch analysis — surfaces status codes the consumer handles in code but hasn't
tested in any pact. Never modifies files.

**Prerequisites:** `ripwire` is required — as an MCP server for interactive use (see [ripwire MCP setup](#ripwire-mcp-setup) above), or as a CLI binary for CI scripts (see [Scripts (CI / advanced)](#scripts-ci--advanced) below). Run `command -v ripwire` to check; see [`references/install-ripwire.md`](references/install-ripwire.md) for install instructions.

---

## What this measures

Pact coverage answers one question: **do the consumer's pact files exercise everything the consumer actually uses from the provider?**
…

Read the whole file at its exact version.

How to install

Latest version
mdr add pactflow/pactflow-agent-skills/pact-coverage@git:20260921.751f1a6
Exact content
mdr add pactflow/pactflow-agent-skills/pact-coverage@sha256:84622c7199830d63

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_tu6iciuwadyjkoiq.svg)](https://markdownregistry.com/a/art_tu6iciuwadyjkoiq)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260921.751f1a6 latest2026-09-21 751f1a6 16,279 BA view · diff
git:20260921.602eee12026-09-21 602eee1 14,214 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (16279 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

pactflow/pactflow-agent-skills · 6 stars · license MIT · pushed 2026-09-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tu6iciuwadyjkoiq
GET https://markdownregistry.com/api/v1/resolve?ref=pactflow/pactflow-agent-skills/pact-coverage
GET https://markdownregistry.com/api/v1/blob/84622c7199830d63b49cfd260e625aa90993ade4a5f477aba0c64d6d33efc5c6

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from pactflow/pactflow-agent-skills

contract-testing-flywheel skill
pactflow/pactflow-agent-skills · plugins/contract-testing-flywheel/skills/contract-testing-flywheel/SKILL.md · Generate a structured onboarding backlog — in Jira, GitHub Issues/Projects, Azure DevOps, or as a manual markdown…
git:20260723.fe9d6ed · audit A · 6 stars
drift-testing skill
pactflow/pactflow-agent-skills · plugins/swagger-contract-testing/skills/drift-testing/SKILL.md · Verifies API implementations against OpenAPI specifications using the Drift CLI, catching spec drift and supporting…
git:20260521.313e4b9 · audit A · 6 stars
oas-generator skill
pactflow/pactflow-agent-skills · plugins/swagger-contract-testing/skills/oas-generator/SKILL.md · Generates an OpenAPI 3.x YAML spec from a provider codebase using ripwire when no spec exists. Invoke this skill…
git:20260921.602eee1 · audit A · 6 stars
openapi-parser skill
pactflow/pactflow-agent-skills · plugins/swagger-contract-testing/skills/openapi-parser/SKILL.md · Parses complex OpenAPI specs and generates Drift test cases from them. Use whenever the user wants to generate, write…
git:20260408.182cfa1 · audit A · 6 stars
pactflow skill
pactflow/pactflow-agent-skills · plugins/swagger-contract-testing/skills/pactflow/SKILL.md · Expert assistant for PactFlow and Pact contract testing. Use this skill whenever the user mentions PactFlow, Pact…
git:20260410.6107050 · audit A · 6 stars

Every file in pactflow/pactflow-agent-skills

Browse by kind, by grade A, or by owner.