Agent skill · Testing & QA

contract-test-generator

Generate contract tests for API migrations with consumer-driven contracts and provider verification

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill contract-test-generator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Allowed tools: BashReadWriteGrepGlobEdit
Path: library/specializations/code-migration-modernization/skills/contract-test-generator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 | |------|---------|---------------

What's inside
Steps it walks through
  1. Purpose
  2. Capabilities
  3. 1. Consumer Contract Generation
  4. 2. Provider Verification
  5. 3. Schema Validation
  6. 4. Breaking Change Detection
  7. 5. Mock Server Generation
  8. 6. Contract Versioning
  9. Tool Integrations
  10. Output Schema
  11. Integration with Migration Processes
  12. Related Skills
  13. Related Agents
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
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.

Keep going