K11-Software-Solutions

API Contract Tests — Testing skill for Claude Code

Testing community

Generate and run contract tests for API endpoints, and check a running service against the spec.

How to install API Contract Tests

Installs to ~/.claude/skills/k11-software-solutions-k11techlab-api-contract-qa-mcp-api-contract-tests/SKILL.md

Terminal
mkdir -p ~/.claude/skills/k11-software-solutions-k11techlab-api-contract-qa-mcp-api-contract-tests && curl -fsSL https://raw.githubusercontent.com/K11-Software-Solutions/k11techlab-api-contract-qa-mcp/HEAD/commands/api-contract-tests.md -o ~/.claude/skills/k11-software-solutions-k11techlab-api-contract-qa-mcp-api-contract-tests/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What API Contract Tests does


description: Generate and run contract tests for API endpoints, and check a running service against the spec argument-hint: [base URL of a running service] [endpoints, e.g. "GET /orders/{id}"]

Create contract tests for the API below, using the api-contract-qa MCP tools.

Input: $ARGUMENTS

  1. Call list_operations on the spec and pick the endpoints asked for (or all of them, if there are few). Test generation and response checks are for REST (OpenAPI or Swagger); for GraphQ

Alternatives in Testing

  • Marketing Skills Versions — Current versions of all skills 13.8k ★
  • Mobile QA — Final QA verification of a mobile app against its approved plan 107 ★
  • Contract Version Bump — Classify and apply a version bump to a machine-readable contract (JSON Schema, API spec, config schema) — vers 49 ★

Full documentation available on GitHub

View Source Repository