contract-test-generator
Generate contract tests for API migrations with consumer-driven contracts and provider verification
npx skills add a5c-ai/babysitter --skill contract-test-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Contract Test Generator Skill Generates contract tests for API migrations, supporting consumer-driven contracts, provider verification, and breaking change detection. ## Purpose Enable API contract testing for: - Consumer contract generation - Provider verification - Schema validation - Breaking change detection - Mock server generation ## Capabilities ### 1. Consumer Contract Generation - Generate from API usage - Extract from tests - Build from specs - Support multiple formats ### 2. Provider Verification - Verify against contracts - Test all consumers - Check compatibility - Document failures ### 3. Schema Validation - Validate request schemas - Check response schemas - Verify data types - Enforce constraints ### 4. Breaking Change Detection - Detect field removals - Find type changes - Identify required additions - Flag compatibility issues ### 5. Mock Server Generation - Generate from contracts - Support stub responses - Handle scenarios - Enable development isolation ### 6. Contract Versioning - Track contract versions - Manage compatibility - Support migrations - Document changes ## Tool Integrations | Tool | Purpose | Integration Method | |------|---------|---------------
- Purpose
- Capabilities
- 1. Consumer Contract Generation
- 2. Provider Verification
- 3. Schema Validation
- 4. Breaking Change Detection
- 5. Mock Server Generation
- 6. Contract Versioning
- Tool Integrations
- Output Schema
- Integration with Migration Processes
- Related Skills
- Related Agents
What does the contract-test-generator skill do?
Generate contract tests for API migrations with consumer-driven contracts and provider verification
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill contract-test-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
