๐Ÿงช
QualityTypeScript

API Contract Testing

by secondsky

API Contract Testing is a Quality skill for Claude Code, published by secondsky in claude-skills.

214 stars31 forkson secondsky/claude-skillsAdded 2026/09/04+1% in starsRepository updated 2026/09/03
claude-codeclaude-code-commandsclaude-code-hooksclaude-code-pluginclaude-code-pluginsclaude-code-skillclaude-code-skills
Install in seconds
Install API Contract Testing
Copy API Contract Testing into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/secondsky/claude-skills/tree/main/plugins/api-contract-testing/skills/api-contract-testing ~/.claude/skills/api-contract-testing

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/secondsky/claude-skills.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
plugins/api-contract-testing/skills/api-contract-testing/SKILL.md in secondsky/claude-skills
Installs to
~/.claude/skills/api-contract-testing
Collection
One of 24 skills cataloged from this repository
Category
Quality โ€” 1557 skills

What API Contract Testing does

API Contract Testing verifies that services honor request and response contracts with consumer-driven tests, schema validation, and tools like Pact. Use it to test microservice communication, catch breaking changes, or validate OpenAPI specs.

API Contract Testing is cataloged under Quality on DirSkills. API Contract Testing comes from a repository tagged claude-code, claude-code-commands, claude-code-hooks, claude-code-plugin and claude-code-plugins.

Documentation

README

API Contract Testing

Verify that APIs honor their contracts between consumers and providers without requiring full integration tests.

Key Concepts

Term Definition
Consumer Service that calls an API
Provider Service that exposes an API
Contract Agreed request/response format
Pact Consumer-driven contract testing tool
Schema Structure definition (OpenAPI, JSON Schema)
Broker Central repository for contracts

Pact Consumer Test (TypeScript)

This is the opening of the README. Read the full README on GitHub.

Frequently asked about API Contract Testing

  • What else does secondsky publish alongside API Contract Testing?

    API Contract Testing is one of 24 skills that DirSkills catalogs from secondsky/claude-skills, the repository it ships in. Its siblings there include API Authentication, API Changelog & Versioning and API Design Principles. Each one is a separate skill with its own page in this directory, installs the same way API Contract Testing does, and is maintained by secondsky in that same repository. The rest of the collection is listed on the secondsky/claude-skills page.

  • How does API Contract Testing compare to other Quality skills?

    API Contract Testing ranks #1424 by stars among the 1557 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of API Contract Testing against them. Open each page to compare what they document and how they install.

More from secondsky/claude-skills

API Contract Testing is one of 24 skills cataloged on DirSkills from secondsky/claude-skills.

See all 24 skills โ†’
๐Ÿ”
2h ago

API Authentication

API Authentication implements secure API auth with JWT, OAuth 2.0, API keys, and sessions. Use it for login flows, third-party integrations, service-to-service access, and token handling.
AI Engineering
21431
๐Ÿ“
2h ago

API Changelog & Versioning

API Changelog & Versioning creates changelogs that document breaking changes, deprecations, and migration steps for API consumers. Use it when releasing new API versions or planning upgrades.
Writing
21431
๐Ÿงฉ
2h ago

API Design Principles

API Design Principles helps you design REST and GraphQL APIs with clear resource models, versioning, pagination, and error handling. Use it when creating APIs, reviewing specifications, or setting API standards.
AI Engineering
21431
๐Ÿšจ
2h ago

API Error Handling

API Error Handling implements standardized API error responses with proper status codes, logging, and user-friendly messages. Use it when building production APIs or adding error recovery and monitoring patterns.
DevOps
21431
๐Ÿ”Ž
2h ago

API Filtering And Sorting

API Filtering And Sorting builds flexible query parsing for filters and sort parameters in search endpoints and data APIs. Use it to validate allowed fields, map operators, and reduce injection risk.
Automation
21431
๐ŸŒ
2h ago

API Gateway Configuration

API Gateway Configuration designs and configures gateways for routing, authentication, rate limiting, and request transformation in microservice systems. Use it when setting up Kong, Nginx, AWS API Gateway, or Traefik for centralized API management.
DevOps
21431