swagger-contract-testing — Claude Code plugin
Skills and agents for PactFlow contract testing, from writing Pact tests to running can-i-deploy checks.
/plugin marketplace add anthropics/claude-plugins-community
/plugin install swagger-contract-testing@claude-communityWhat swagger-contract-testing does
This plugin covers the contract testing lifecycle. It helps write and review Pact consumer and provider tests, publish contracts, run can-i-deploy checks and manage a PactFlow workspace.
The pieces inside are skills and agents, delivered as one set for Claude. No scripts to wire up yourself. Install comes from the claude-community marketplace in two commands.
It assumes your project already uses Pact and has a PactFlow workspace behind it. Without contract testing in place there is nothing for the plugin to act on.
What it helps with
- write a Pact test for a consumer service
- review a provider test for mistakes
- publish a contract to PactFlow
- run a can-i-deploy check before release
- sort out PactFlow workspace settings
Example prompts for the agent
- Write a Pact test for the orders consumer service
- Review this provider test for problems
- Run can-i-deploy for the latest contract version
How to install swagger-contract-testing
Plugin marketplace
/plugin marketplace add anthropics/claude-plugins-community/plugin install swagger-contract-testing@claude-communityStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about swagger-contract-testing
How do I install swagger-contract-testing in Claude Code?
Add the marketplace first: /plugin marketplace add anthropics/claude-plugins-community. Then install the plugin: /plugin install swagger-contract-testing@claude-community.
What does swagger-contract-testing do?
It gives Claude skills and agents for PactFlow contract testing: writing and reviewing Pact tests, publishing contracts, can-i-deploy checks and workspace management.
Does the plugin need a PactFlow workspace?
Yes. It works across the PactFlow contract testing lifecycle, so your project needs to be connected to PactFlow.
Source text
swagger-contract-testing · MIT
# PactFlow Agent Skills
Agent skills teach your AI coding assistant — Claude Code, GitHub Copilot, Cursor, Windsurf, and others — how to work with Pact, PactFlow, and Drift. Instead of explaining contract testing concepts every time you start a conversation, the skills give your AI persistent, deep knowledge of consumer test patterns, provider verification, can-i-deploy diagnostics, Drift test authoring, and workspace management.
The plugin goes further: it bundles the [SmartBear MCP server](docs/ai-tools/smartbear-mcp.md) alongside the skills, so your assistant can connect directly to your PactFlow workspace or Pact Broker. It can fetch live provider states before generating tests, query the contract matrix to diagnose a failing can-i-deploy, publish pacts and provider contracts, record deployments, and manage environments — all without leaving your editor.
There are two types of components in this repo. **Skills** are context files that activate when the task matches — the assistant reads them and applies the knowledge. **Agents** are autonomous sub-tasks the PactFlow skill delegates to: generating tests, reviewing them for best-practice violations, running a full BDCT flow end-to-end, or auditing workspace health.
| Plugin name | Skills / Agents | What it does |
| ------------------------------------------------------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `swagger-contract-testing` | **Drift** | Expert assistant for Drift — PactFlow's OpenAPI contract testing CLI. Helps write test cases, configure lifecycle hooks, debug failures, and publish results to PactFlow. |
| | **OpenAPI Parser** | Parses complex OpenAPI specs (anyOf/oneOf/allOf, discriminators, polymorphism, $ref chains, enums, regex) and generates Drift test cases covering every viable schema combination. |
| | **PactFlow** | Expert assistant for PactFlow and Pact contract testing. Uses the SmartBear MCP `contract-testing_*` tools to generate and review Pact tests with AI, publish contracts, verify providers, run can-i-deploy checks, record deployments, and manage the full PactFlow workspace (environments, pacticipants, BDCT, webhooks, secrets, metrics). |
| | **pact-generator** | Agent: generates new Pact consumer tests and provider state handlers from existing code, OpenAPI specs, or example request/response pairs. |
| | **pact-reviewer** | Agent: reviews Pact consumer tests and provider verification code for best-practice violations, false positives, and provider state naming issues. |
| | **pact-implementor** | Agent: builds a new Pact client library from scratch in any language by wrapping the Pact FFI. |
| | **pact-maintainer** | Agent: audits PactFlow workspace health, fixes failing verifications, and cleans up stale pacticipants, branches, and environments. |
| | **bdct-tester** | Agent: drives a full Bi-Directional Contract Testing flow end-to-end — consumer tests, provider contract verification, publishing, and can-i-deploy. |
| | **pact-coverage** | Skill + Agent: measures how completely the consumer's pact files exercise the provider API surface the consumer actually uses. Resolves which OAS, pact files, and consumer codebase to analyse, then runs the pact-coverage agent to report gaps across path/method, status codes, required request/response body fields, and (optionally) consumer code status branches. Uses ripwire to discover which provider routes the consumer calls so coverage is measured against the correct OAS subset. |
| | **oas-generator** | Skill: generates an OpenAPI 3.x YAML spec by statically analysing a provider codebase with ripwire when no spec exists. Supports Ruby (Rails/Sinatra), Node.js (Express/Fastify), Python (Flask/FastAPI), and any other ripwire-supported language. Produces valid, immediately usable OAS for path-coverage testing; schemas are marked as inferred or stub where they could not be resolved. |
| | **asyncapi-generator** | Skill: generates an AsyncAPI 3.x YAML spec by statically analysing a service codebase with ripwire when no spec exists. Finds producers and consumers across Kafka, SNS/SQS, RabbitMQ, NATS, Pub/Sub, MQTT and WebSocket in Node.js, Python, Java and other ripwire-supported languages. Valid, immediately usable as input to `asyncapi-parser` and Drift; payloads are marked as inferred or stub and unresolved channel names are flagged. |
| [`contract-testing-flywheel`](docs/ai-tools/contract-testing-flywheel.md) | **contract-testing-flywheel** | Workflow skill (slash command `/contract-testing-flywheel`): generates a structured onboarding backlog that takes a team from zero to publishing consumer + provider contract tests on PactFlow, modelled on the Contract Testing Flywheel. Scrum-tool-agnostic — drives Jira, GitHub Issues/Projects, or Azure DevOps, or renders a manual markdown export. |
The `swagger-contract-testing` skills work together: **OAS Generator** produces a provider OpenAPI spec from source when one doesn't exist; **OpenAPI Parser** analyses a spec and generates Drift test scaffolding; **Drift** runs, iterates, and publishes those tests; **PactFlow** manages the full contract testing lifecycle — from generating Pact tests with AI to safely deploying services; **Pact Coverage** measures how completely consumer pact files exercise the provider API. The agents handle specialised sub-tasks autonomously.
`contract-testing-flywheel` is a different kind of plugin: instead of an always-on knowledge skill, it's a one-shot workflow you invoke by name (`/contract-testing-flywheel`) to scaffold a team's onboarding backlog. It has no dependency on the other plugin, but the backlog it generates points teams at `swagger-contract-testing`'s skills and agents for the actual test-authoring work. See the [Contract Testing Flywheel guide](docs/ai-tools/contract-testing-flywheel.md) for the full write-up.
**Further reading:** [PactFlow Skill](docs/ai-tools/pactflow-skill.md) · [SmartBear MCP](docs/ai-tools/smartbear-mcp.md) · [Kiro Power](docs/ai-tools/kiro-power.md) · [Contract Testing Flywheel](docs/ai-tools/contract-testing-flywheel.md) · [Contributing](CONTRIBUTING.md) · [Security](SECURITY.md) · [Release process](docs/releasing.md)
---
## Installation guide for Agentic IDEs/Coding agents
- [Quick install with `npx skills`](#quick-install-with-npx-skills)
- [Quick install with `gh skill`](#quick-install-with-gh-skill)
- [Claude Code](#installing-in-claude-code)
- [OpenCode](#installing-in-opencode)
- [GitHub Copilot (VS Code)](#installing-in-github-copilot-vs-code)
- [GitHub Copilot CLI](#installing-in-github-copilot-cli)
- [Cursor](#installing-in-cursor)
- [Windsurf](#installing-in-windsurf)
- [Codex](#installing-in-codex)
- [Kiro](#installing-in-kiro)
- [Antigravity](#installing-in-antigravity)
- [Agent Plugins standard](#installing-via-the-agent-plugins-standard)
### Prerequisites by capability
| Capability | Prerequisite |
| --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Install with `npx skills` | Node.js and npm (`npx`) |
| Install with `gh skill` | GitHub CLI v2.90.0 or later |
| Use the bundled SmartBear MCP server | Node.js 20+ and a PactFlow account or self-hosted Pact Broker |
| Use `pact-coverage`, `oas-generator` or `asyncapi-generator` | [`ripwire`](plugins/swagger-contract-testing/skills/pact-coverage/references/install-ripwire.md) on `PATH`; interactive coverage also requires its MCP server |
The quick installers install skills only. To include the specialised agents and automatically configured SmartBear MCP server, use a plugin installation where the client supports it. Broker credentials are needed only for live PactFlow or Pact Broker operations; authoring and reviewing local tests works without them.
## Quick install with `npx skills`
The [`skills` CLI](https://skills.sh) installs agent skills from GitHub directly into your project. It auto-detects which agentic coding tools you use and places the skill files in the correct location for each one.
```bash
npx skills add pactflow/pactflow-agent-skills
```
This installs the `swagger-contract-testing` skills for all detected agents in your project (Claude Code, Copilot, Cursor, Windsurf, Kiro, Codex, OpenCode, Antigravity, and more).
## Quick install with `gh skill`
The [`gh skill`](https://cli.github.com/manual/gh_skill) command, built into GitHub CLI v2.90.0 and later, installs agent skills directly from any GitHub repository. It works with any tool that reads skills from a standard location (Claude Code, Copilot, Cursor, Windsurf, Kiro, Codex, and more).
```bash
gh skill install pactflow/pactflow-agent-skills
```
This pulls the `swagger-contract-testing` skills from this repo and places them in the appropriate skills directory for your project.
---
### Windows users
The install commands throughout this guide use Unix shell syntax. In PowerShell, replace:
| Unix | PowerShell |
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `mkdir -p path/to/dir` | `New-Item -ItemType Directory -Force -Path path\to\dir` |
| `cp -r plugins/swagger-contract-testing/skills/drift-testing path/to/dir` | `Copy-Item -Recurse plugins\swagger-contract-testing\skills\drift-testing path\to\dir` |
`~` (home directory) works in PowerShell 3+. In older environments use `$HOME` instead.
---
## Installing in Claude Code
Claude Code supports [Skills](https://code.claude.com/docs/en/skills) via a plugin marketplace system. Requires Claude Code v1.0.33+.
### From Anthropic's community marketplace (recommended)
The plugin is listed in Anthropic's official community plugins marketplace. Add the marketplace and install in two commands:
**1. Add the Anthropic community marketplace:**
```bash
claude plugin marketplace add anthropics/claude-plugins-community
```
**2. Install the plugin:**
```bash
claude plugin install swagger-contract-testing@claude-community
```
Alternatively, open the **`/plugin`** panel in Claude Code, navigate to **Discover**, search for `swagger-contract-testing`, and click **Install**.
**3. Configure your PactFlow credentials:**
Add a `pluginConfigs` block to `~/.claude/settings.json` with your PactFlow base URL and API token:
```json
{
"pluginConfigs": {
"swagger-contract-testing@claude-community": {
"options": {
"pact_broker_base_url": "https://yourorg.pactflow.io",
"pact_broker_token": "your-api-token"
}
}
}
}
```
Get your API token from `https://yourorg.pactflow.io/settings/api-tokens`. For an open-source Pact Broker, use `pact_broker_username` and `pact_broker_password` instead of `pact_broker_token`.
Then reload the plugin to start the MCP server:
```claude
/reload-plugins
```
### From the PactFlow repo (for teams who want to pin a version)
**1. Add the marketplace** inside a Claude Code session:
```claude
/plugin marketplace add pactflow/pactflow-agent-skills
```
Or add it to `.claude/settings.json` so teammates are prompted to install it automatically when they open the project:
```json
{
"extraKnownMarketplaces": {
"pactflow-agent-skills": {
"source": {
"source": "github",
"repo": "pactflow/pactflow-agent-skills"
}
}
}
}
```
**2. Install the plugin:**
```claude
/plugin install swagger-contract-testing@pactflow-agent-skills
```
**Scope options:**
| Scope | Stored in | Who it applies to |
| ---------------- | ----------------------------- | --------------------------------------- |
| `user` (default) | `~/.claude/settings.json` | You, across all projects |
| `project` | `.claude/settings.json` | Everyone on the team (commit this file) |
| `local` | `.claude/settings.local.json` | You, in this project only (gitignored) |
**3. Configure your PactFlow credentials:**
Add a `pluginConfigs` block to `~/.claude/settings.json` with your PactFlow base URL and API token:
```json
{
"pluginConfigs": {
"swagger-contract-testing@pactflow-agent-skills": {
"options": {
"pact_broker_base_url": "https://yourorg.pactflow.io",
"pact_broker_token": "your-api-token"
}
}
}
}
```
Get your API token from `https://yourorg.pactflow.io/settings/api-tokens`. For an open-source Pact Broker, use `pact_broker_username` and `pact_broker_password` instead of `pact_broker_token`.
Then reload the plugin to start the MCP server:
```claude
/reload-plugins
```
### From a local clone
```claude
/plugin marketplace add ./path/to/pactflow-agent-skills/.claude-plugin/marketplace.json
/plugin install swagger-contract-testing@pactflow-agent-skills
```
### For local development (no marketplace needed)
```bash
claude --plugin-dir ./plugins/swagger-contract-testing
```
### Managing plugins
```claude
/plugin # open plugin manager (Discover / Installed / Marketplaces / Errors)
/reload-plugins # reload without restarting
/plugin disable swagger-contract-testing@pactflow-agent-skills
/plugin uninstall swagger-contract-testing@pactflow-agent-skills
```
### Automatic hooks
The Claude Code plugin installs two local hooks:
- `SessionStart` runs `hooks/check-pact-config.sh` to report missing PactFlow configuration.
- `PostToolUse` runs `hooks/deployment-reminder.sh` after Bash commands to remind you about deployment recording when relevant.
Both hooks have a five-second timeout and do not send credentials anywhere. If either hook reports an error, confirm the plugin files are executable and reload the plugin with `/reload-plugins`. Disable the plugin to disable its hooks.
### Installing `contract-testing-flywheel`
This second plugin ships in the same repo marketplace as `swagger-contract-testing` — it isn't (yet) listed in Anthropic's community marketplace, so install it from this repo:
```claude
/plugin marketplace add pactflow/pactflow-agent-skills
/plugin install contract-testing-flywheel@pactflow-agent-skills
```
Or from a local clone / for local development, same pattern as above:
```claude
/plugin marketplace add ./path/to/pactflow-agent-skills/.claude-plugin/marketplace.json
/plugin install contract-testing-flywheel@pactflow-agent-skills
# or, without a marketplace:
claude --plugin-dir ./plugins/contract-testing-flywheel
```
No credentials or `pluginConfigs` block are required to install it — it has no MCP dependency of its own. Once installed, run:
```claude
/contract-testing-flywheel
```
and answer its prompts (which scrum tool, team, consumer/provider, stack, CDCT/BDCT/Both, CI tool). If none of Jira/GitHub/Azure DevOps is connected, it renders the whole backlog as a markdown export instead of failing. See the [Contract Testing Flywheel guide](docs/ai-tools/contract-testing-flywheel.md) for a full walkthrough, or the plugin's own [README](plugins/contract-testing-flywheel/README.md) and [SKILL.md](plugins/contract-testing-flywheel/skills/contract-testing-flywheel/SKILL.md) for the technical reference.
This plugin is authored as a Claude Code slash-command skill (it uses `argument-hint` and `disable-model-invocation` frontmatter, which are Claude Code plugin-command conventions). The install patterns below for OpenCode, Copilot, Cursor, Windsurf, Codex, Kiro, and Antigravity are written for `swagger-contract-testing`'s always-on knowledge skills; they have not been adapted or verified for `contract-testing-flywheel`.
---
## Installing in OpenCode
OpenCode supports [Agent Skills](https://opencode.ai/docs/skills) loaded from `SKILL.md` files in named subdirectories. The agent
automatically selects relevant skills based on task context.
### Global install (available in all projects)
```bash
mkdir -p ~/.config/opencode/skills
cp -r plugins/swagger-contract-testing/skills/* ~/.config/opencode/skills/
```
### Project-level install (this project only)
```bash
mkdir -p .opencode/skills
cp -r plugins/swagger-contract-testing/skills/* .opencode/skills/
```
OpenCode will pick up the skills automatically — no restart required.
---
## Installing in GitHub Copilot (VS Code)
VS Code Copilot supports [Agent Skills](https://code.visualstudio.com/docs/copilot/customization/agent-skills)
natively. Skills are loaded from `SKILL.md` files in named subdirectories and invoked as slash commands
in Copilot Chat (`/drift-testing`, `/asyncapi-parser`, `/openapi-parser`). Copilot also auto-loads relevant skills based on context.
### Project-level install (recommended for teams)
Copy the skill folders into any of the standard discovery locations — Copilot checks all of them:
```bash
# .github/skills (most common for GitHub projects)
mkdir -p .github/skills
cp -r plugins/swagger-contract-testing/skills/* .github/skills/
# or .agents/skills
mkdir -p .agents/skills
cp -r plugins/swagger-contract-testing/skills/* .agents/skills/
# or .claude/skills (already used by Claude Code)
mkdir -p .claude/skills
cp -r plugins/swagger-contract-testing/skills/* .claude/skills/
```
Commit the chosen directory to share the skills with your team. No VS Code configuration required.
### Personal install (all your projects)
Copy to a personal skills directory so the skills are available in every repo you open:
```bash
mkdir -p ~/.copilot/skills
cp -r plugins/swagger-contract-testing/skills/* ~/.copilot/skills/
```
### Custom location
Point Copilot at any directory via VS Code settings:
```json
{
"chat.agentSkillsLocations": ["/path/to/your/skills"]
}
```
### Using the skills in Copilot Chat
Once installed, open Copilot Chat and invoke a skill by name:
```claude
/drift-testing write a test case for POST /orders returning 201
/asyncapi-parser generate Drift tests for an event-driven service
/openapi-parser generate Drift tests for the payments spec
```
You can also type `/skills` in chat to browse and configure installed skills. Copilot will
auto-load a skill when it detects a relevant task even without an explicit slash command.
---
### Fallback: custom instructions (older Copilot versions)
If your version of Copilot doesn't support Agent Skills yet, use custom instructions instead.
**Repo-wide** — applies to every conversation in the repository:
```bash
cat plugins/swagger-contract-testing/skills/drift-testing/SKILL.md plugins/swagger-contract-testing/skills/drift-testing/references/*.md >> .github/copilot-instructions.md
cat plugins/swagger-contract-testing/skills/asyncapi-parser/SKILL.md plugins/swagger-contract-testing/skills/asyncapi-parser/references/*.md >> .github/copilot-instructions.md
cat plugins/swagger-contract-testing/skills/openapi-parser/SKILL.md plugins/swagger-contract-testing/skills/openapi-parser/references/*.md >> .github/copilot-instructions.md
cat plugins/swagger-contract-testing/skills/pactflow/SKILL.md plugins/swagger-contract-testing/skills/pactflow/references/*.md >> .github/copilot-instructions.md
cat plugins/swagger-contract-testing/skills/pact-coverage/SKILL.md plugins/swagger-contract-testing/skills/pact-coverage/references/*.md >> .github/copilot-instructions.md
cat plugins/swagger-contract-testing/skills/oas-generator/SKILL.md >> .github/copilot-instructions.md
cat plugins/swagger-contract-testing/skills/asyncapi-generator/SKILL.md >> .github/copilot-instructions.md
```
**Path-scoped** — loads only when relevant files are open:
```bash
# Drift — scoped to Drift config files
echo '---\napplyTo: "**/drift.yaml,**/*.tests.yaml,**/*.dataset.yaml"\n---\n' > .github/instructions/drift.instructions.md
cat plugins/swagger-contract-testing/skills/drift-testing/SKILL.md plugins/swagger-contract-testing/skills/drift-testing/references/*.md >> .github/instructions/drift.instructions.md
# OpenAPI Parser — scoped to OpenAPI spec files
echo '---\napplyTo: "**/openapi.yaml,**/openapi.json,**/*.oas.yaml"\n---\n' > .github/instructions/openapi-parser.instructions.md
cat plugins/swagger-contract-testing/skills/openapi-parser/SKILL.md plugins/swagger-contract-testing/skills/openapi-parser/references/*.md >> .github/instructions/openapi-parser.instructions.md
# AsyncAPI Parser — scoped to AsyncAPI spec files
echo '---\napplyTo: "**/asyncapi.yaml,**/asyncapi.json,**/*.asyncapi.yaml"\n---\n' > .github/instructions/asyncapi-parser.instructions.md
cat plugins/swagger-contract-testing/skills/asyncapi-parser/SKILL.md plugins/swagger-contract-testing/skills/asyncapi-parser/references/*.md >> .github/instructions/asyncapi-parser.instructions.md
# PactFlow — scoped to Pact test files and pact config
echo '---\napplyTo: "**/*.pact.test.*,**/pacts/**,**/.pactrc*"\n---\n' > .github/instructions/pactflow.instructions.md
cat plugins/swagger-contract-testing/skills/pactflow/SKILL.md plugins/swagger-contract-testing/skills/pactflow/references/*.md >> .github/instructions/pactflow.instructions.md
```
**Reusable prompts** — attach on demand in chat:
1. Enable prompt files in VS Code settings: `{ "chat.promptFiles": true }`
2. Create prompt files:
```bash
cat plugins/swagger-contract-testing/skills/drift-testing/SKILL.md plugins/swagger-contract-testing/skills/drift-testing/references/*.md > .github/prompts/drift.prompt.md
cat plugins/swagger-contract-testing/skills/asyncapi-parser/SKILL.md plugins/swagger-contract-testing/skills/asyncapi-parser/references/*.md > .github/prompts/asyncapi-parser.prompt.md
cat plugins/swagger-contract-testing/skills/openapi-parser/SKILL.md plugins/swagger-contract-testing/skills/openapi-parser/references/*.md > .github/prompts/openapi-parser.prompt.md
cat plugins/swagger-contract-testing/skills/pactflow/SKILL.md plugins/swagger-contract-testing/skills/pactflow/references/*.md > .github/prompts/pactflow.prompt.md
cat plugins/swagger-contract-testing/skills/pact-coverage/SKILL.md plugins/swagger-contract-testing/skills/pact-coverage/references/*.md > .github/prompts/pact-coverage.prompt.md
cp plugins/swagger-contract-testing/skills/oas-generator/SKILL.md .github/prompts/oas-generator.prompt.md
cp plugins/swagger-contract-testing/skills/asyncapi-generator/SKILL.md .github/prompts/asyncapi-generator.prompt.md
```
3. In Copilot Chat, click **Attach context → Prompt...** and select the skill.
---
## Installing in GitHub Copilot CLI
GitHub Copilot CLI supports plugins via the `/plugin` command (requires `gh copilot` v1+).
**1. Add the marketplace:**
```shell
copilot plugin marketplace add pactflow/pactflow-agent-skills
```
**2. Install the plugin:**
```shell
copilot plugin install swagger-contract-testing@pactflow-agent-skills
```
Or install directly from the repo without adding a marketplace first:
```shell
copilot plugin install pactflow/pactflow-agent-skills
```
**3. Configure your PactFlow credentials** in `~/.copilot/settings.json` (or the equivalent config file for your environment):
```json
{
"pluginConfigs": {
"swagger-contract-testing@pactflow-agent-skills": {
"options": {
"pact_broker_base_url": "https://yourorg.pactflow.io",
"pact_broker_token": "your-api-token"
}
}
}
}
```
---
## Installing in Cursor
Cursor supports [Agent Skills](https://cursor.com/docs/skills) loaded from `SKILL.md` files in named subdirectories. Skills can be project-scoped or global.
### Remote install from GitHub
1. Open **Cursor Settings → Rules**
2. Click **Add Rule** in Project Rules
3. Select **Remote Rule (GitHub)**
4. Enter the URL to each skill folder:
- `https://github.com/pactflow/pactflow-agent-skills/tree/main/plugins/swagger-contract-testing/skills/drift-testing`
- `https://github.com/pactflow/pactflow-agent-skills/tree/main/plugins/swagger-contract-testing/skills/asyncapi-parser`
- `https://github.com/pactflow/pactflow-agent-skills/tree/main/plugins/swagger-contract-testing/skills/openapi-parser`
- `https://github.com/pactflow/pactflow-agent-skills/tree/main/plugins/swagger-contract-testing/skills/pactflow`
- `https://github.com/pactflow/pactflow-agent-skills/tree/main/plugins/swagger-contract-testing/skills/pact-coverage`
- `https://github.com/pactflow/pactflow-agent-skills/tree/main/plugins/swagger-contract-testing/skills/oas-generator`
- `https://github.com/pactflow/pactflow-agent-skills/tree/main/plugins/swagger-contract-testing/skills/asyncapi-generator`
### Project-level install (manual)
```bash
mkdir -p .cursor/skills
cp -r plugins/swagger-contract-testing/skills/* .cursor/skills/
```
Commit `.cursor/skills/` to share the skills with your team. Cursor also discovers skills from `.agents/skills/`.
### Global install (all your projects)
```bash
mkdir -p ~/.cursor/skills
cp -r plugins/swagger-contract-testing/skills/* ~/.cursor/skills/
```
---
## Installing in Windsurf
Windsurf supports [Skills](https://docs.windsurf.com/windsurf/cascade/skills) loaded from `SKILL.md` files in named subdirectories. Skills can be workspace-scoped or global.
### From the UI
1. Open the **Cascade** panel
2. Click the **⋯** menu → **Skills**
3. Choose **+ Workspace** (project) or **+ Global**
4. Copy the contents of each `SKILL.md` into the new skill
### Project-level install (manual)
```bash
mkdir -p .windsurf/skills
cp -r plugins/swagger-contract-testing/skills/* .windsurf/skills/
```
Commit `.windsurf/skills/` to share the skills with your team.
### Global install (all your projects)
```bash
mkdir -p ~/.codeium/windsurf/skills
cp -r plugins/swagger-contract-testing/skills/* ~/.codeium/windsurf/skills/
```
---
## Installing in Codex
Codex supports [Skills](https://developers.openai.com/codex/skills/) loaded from `SKILL.md` files in named subdirectories, and a [Plugin system](https://developers.openai.com/codex/plugins/build) with a `.codex-plugin/plugin.json` manifest for bundled installs.
### Plugin install (recommended)
The...
© pactflow · MIT · pactflow/pactflow-agent-skills