测试Official

contract-test-validator

This skill validates API contracts using consumer-driven testing and OpenAPI validation. It leverages Pact for consumer-driven contract testing, ensuring that API providers adhere to the expectations of their consumers. It also validates APIs against OpenAPI specifications to guarantee compliance and identify breaking changes. Use this skill when the user asks to generate contract tests, validate API responses, check backward compatibility, or validate requests/responses using the terms "contract-test", "ct", "Pact", "OpenAPI validation", or "consumer-driven contract testing".

#testing#Validating API Contracts#claude-skills#ai-assistant#automation
Version

1.0.0

Files

1 files

Size

2.43 KB

Updated

10/20/2025

Installation

Use Claude Code CLI to install this skill:

/skills/install/contract-test-validator

Skill Information

Author

Anthropic

License

MIT

Type

👥 Community

Category

测试

文件浏览器

文件

SKILL.md2.4KB

选择一个文件查看内容

Claude Skills Hub - free download Claude Skills - contract-test-validator