Help us improve
Share bugs, ideas, or general feedback.
From contract-tester
Creates Pact contract test for consumer-driven API testing: prompts for consumer/provider names, defines interactions with matchers and states, runs test to generate validated JSON contract file in pacts directory.
npx claudepluginhub rohitg00/awesome-claude-code-toolkit --plugin contract-testerHow 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...
/generate-contractGenerates API contracts for consumer-driven contract testing in Pact, Spring Cloud Contract, and OpenAPI formats with verification tests and CI/CD setup.
/contract-testValidates API contracts with Pact consumer-driven testing and OpenAPI specs, generates tests, detects breaking changes, and outputs a detailed testing report.
/api-contract-testerTests API contracts via Pact consumer/provider, Postman collections, OpenAPI/GraphQL schemas. Validates compatibility, detects breaking changes, generates reports.
/test-apiDesign comprehensive API testing strategy including contracts and integration tests.
/contractsExtracts, defines, and validates API contracts (payloads, models, events) as concrete schema files from specs, with support for validation, sync, listing, and multiple output formats.
Share bugs, ideas, or general feedback.
Create a Pact contract definition for consumer-driven contract testing.
consumer-provider.json