From contract-tester
Creates a Pact contract definition for consumer-driven contract testing, generating a JSON contract file with interactions, matchers, and provider states.
How this command is triggered — by the user, by Claude, or both
Slash command
/contract-tester:create-contractThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /create-contract - Create API Contract Create a Pact contract definition for consumer-driven contract testing. ## Steps 1. Ask the user for the consumer service name and provider service name 2. Identify the API interactions to define (endpoints, methods, request/response schemas) 3. Check if Pact is installed in the project; if not, suggest installation 4. Create the contract test file with consumer and provider configuration 5. Define each interaction: request method, path, headers, query params, and body 6. Specify expected response status codes, headers, and body matchers 7. Use Pa...
Create a Pact contract definition for consumer-driven contract testing.
consumer-provider.json6plugins reuse this command
First indexed Mar 30, 2026
/create-contractCreates a Pact contract definition for consumer-driven contract testing, generating a JSON contract file with interactions, matchers, and provider states.
/generate-contractGenerates API contracts for consumer-driven contract testing, producing Pact, Spring Cloud Contract, and OpenAPI specs with verification tests.
/contract-testValidates API contracts using consumer-driven testing (Pact), OpenAPI specification validation, and schema checks. Generates a report with contract status, breaking changes, and test artifacts.
/api-contract-testerRuns consumer-driven API contract tests with Pact and Postman. Validates schemas (OpenAPI, JSON Schema, GraphQL), detects breaking changes, and generates mock servers. Also supports provider verification.
/test-apiDesign comprehensive API testing strategy including contracts and integration tests.
npx claudepluginhub smarks26/awesome-claude-code-toolkit --plugin contract-tester