API Contract Tests — Testing skill for Claude Code
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
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
- Call
list_operationson 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 RepositoryRelated Skills
Quinn
Activates Quinn, QA Engineer. Validates releases, runs regression checks, verifies service wiring, tests API e
Test Endpoints
Run the standalone API test pass ("api-tests") over every cataloged case, independent of any browser test spec
Doesitwork
Does it work? Quick health check for any feature - validates API endpoints, frontend-backend integration, test
Test Integration
Generate and run integration tests for API endpoints and services
Review Spec Implementation
Verify that the implemented code matches its feature spec - checks every acceptance criterion, data model, and
Dapei Skills Pack En
Quality-gate agent skills: spec-as-contract, no-mock rule, evidence-based verification. Three SKILL.md skills
Related Agents
Contract Spec
Reads and updates service handshake contracts, API schemas, and specifications. Invoke before coding begins or
Backend Implementer.Agent
Use to implement an approved backend/service slice in the target repo: the API/handler/service/store code, dat
Spec Verification Writer
Writes independent checks (tests) for one sub-spec from its text and build contract — one or more per acceptan