Agent skill

Qe Contract Testing

by proffesor-for-testing in proffesor-for-testing/agentic-qe

Consumer-driven contract testing for APIs including REST, GraphQL, and event-driven systems with schema validation.

MITAuto-check passedBackend & APIs

Install Qe Contract Testing

skills CLI
$ npx skills add proffesor-for-testing/agentic-qe --skill qe-contract-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install proffesor-for-testing/agentic-qe qe-contract-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/proffesor-for-testing/agentic-qe.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.kiro/skills/qe-contract-testing .claude/skills/qe-contract-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
qe-contract-testing
GitHub stars
494
Token cost
~1.2k tokens
SKILL.md length
89 words
Files
1
Skills in repo
111
Repo updated
First seen
Licence
MIT

At a glance

Consumer-driven contract testing for APIs including REST, GraphQL, and event-driven systems with schema validation.

  • Works in 4 steps: Consumer-Driven Contracts (Pact) → Schema Validation → GraphQL Contract Testing → …
  • Tasks that involve Integration testing
  • SKILL.md covers Purpose, Activation, Quick Start and Agent Workflow, plus 6 more sections
  • Needs PACT_TOKEN

What it does

Qe Contract Testing is an agent skill from proffesor-for-testing/agentic-qe. Consumer-driven contract testing for APIs including REST, GraphQL, and event-driven systems with schema validation.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Integration testing, GraphQL and Forms and validation. It works with GraphQL. The repository describes itself as: Agentic QE Fleet is an open-source AI-powered QA/QE platform designed for use with Coding Agents (works best with Claude Code) featuring specialized agents and skills to support… The licence is MIT.

When your agent uses it

  • Tasks that involve Integration testing
  • Tasks that involve GraphQL
  • Tasks that involve Forms and validation

Example prompts

  • “/qe-contract-testing”

Requirements

  • A credential in PACT_TOKEN

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Consumer-Driven Contracts (Pact)
  2. Schema Validation
  3. GraphQL Contract Testing
  4. Event Contract Testing

What it can do on your machine

Read from SKILL.md and the folder at commit 829d030. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript, yaml and bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • PACT_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Qe Contract Testing loads about 1.2k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 89 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from proffesor-for-testing/agentic-qe at commit 829d030, republished under its MIT licence (© proffesor-for-testing). 89 words, ~1,179 tokens.

Download SKILL.mdSave it as .claude/skills/qe-contract-testing/SKILL.md (or your agent's skills folder).
name
qe-contract-testing
description
Consumer-driven contract testing for APIs including REST, GraphQL, and event-driven systems with schema validation.
inclusion
auto

QE Contract Testing

Purpose

Guide the use of v3's contract testing capabilities including consumer-driven contracts, schema validation, backward compatibility checking, and API versioning verification.

Activation

  • When testing API contracts
  • When validating schema changes
  • When checking backward compatibility
  • When testing GraphQL APIs
  • When verifying event schemas

Quick Start

bash
# Generate contract from API
aqe contract generate --api openapi.yaml --output contracts/

# Verify provider against contracts
aqe contract verify --provider http://localhost:3000 --contracts contracts/

# Check breaking changes
aqe contract breaking --old api-v1.yaml --new api-v2.yaml

# Test GraphQL schema
aqe contract graphql --schema schema.graphql --operations queries/

Agent Workflow

typescript
// Contract generation
Task("Generate API contracts", `
  Analyze the REST API and generate consumer contracts:
  - Parse OpenAPI specification
  - Identify critical endpoints
  - Generate Pact contracts
  - Include example requests/responses
  Output to contracts/ directory.
`, "qe-api-contract")

// Breaking change detection
Task("Check API compatibility", `
  Compare API v2.0 against v1.0:
  - Detect removed endpoints
  - Check parameter changes
  - Verify response schema changes
  - Identify deprecations
  Report breaking vs non-breaking changes.
`, "qe-api-compatibility")

Contract Testing Types

1. Consumer-Driven Contracts (Pact)
typescript
await contractTester.consumerDriven({
  consumer: 'web-app',
  provider: 'user-service',
  contracts: 'contracts/web-app-user-service.json',
  verification: {
    providerBaseUrl: 'http://localhost:3000',
    providerStates: providerStateHandlers,
    publishResults: true
  }
});
2. Schema Validation
typescript
await contractTester.validateSchema({
  type: 'openapi',
  schema: 'api/openapi.yaml',
  requests: actualRequests,
  validation: {
    requestBody: true,
    responseBody: true,
    headers: true,
    statusCodes: true
  }
});
3. GraphQL Contract Testing
typescript
await graphqlTester.testContracts({
  schema: 'schema.graphql',
  operations: 'queries/**/*.graphql',
  validation: {
    queryValidity: true,
    responseShapes: true,
    nullability: true,
    deprecations: true
  }
});
4. Event Contract Testing
typescript
await contractTester.eventContracts({
  schema: 'events/schemas/',
  events: {
    'user.created': {
      schema: 'UserCreatedEvent.json',
      examples: ['examples/user-created.json']
    },
    'order.completed': {
      schema: 'OrderCompletedEvent.json',
      examples: ['examples/order-completed.json']
    }
  },
  compatibility: 'backward'
});

Breaking Change Detection

yaml
breaking_changes:
  always_breaking:
    - endpoint_removed
    - required_param_added
    - response_field_removed
    - type_changed

  potentially_breaking:
    - optional_param_removed
    - response_field_added
    - enum_value_removed

  non_breaking:
    - endpoint_added
    - optional_param_added
    - response_field_made_optional
    - documentation_changed

Contract Report

typescript
interface ContractReport {
  summary: {
    contracts: number;
    passed: number;
    failed: number;
    warnings: number;
  };
  consumers: {
    name: string;
    contracts: ContractResult[];
    compatibility: 'compatible' | 'breaking' | 'unknown';
  }[];
  breakingChanges: {
    type: string;
    location: string;
    description: string;
    impact: 'high' | 'medium' | 'low';
    migration: string;
  }[];
  deprecations: {
    item: string;
    deprecatedIn: string;
    removeIn: string;
    replacement: string;
  }[];
}

CI/CD Integration

yaml
contract_verification:
  consumer_side:
    - generate_contracts
    - publish_to_broker
    - can_i_deploy_check

  provider_side:
    - fetch_contracts_from_broker
    - verify_against_provider
    - publish_results

  pre_release:
    - check_breaking_changes
    - verify_all_consumers
    - update_compatibility_matrix

Pact Broker Integration

typescript
await contractTester.withBroker({
  brokerUrl: 'https://pact-broker.example.com',
  auth: { token: process.env.PACT_TOKEN },
  operations: {
    publish: true,
    canIDeploy: true,
    webhooks: true
  }
});

Coordination

Primary Agents: qe-api-contract, qe-api-compatibility, qe-graphql-tester Coordinator: qe-contract-coordinator Related Skills: qe-test-generation, qe-security-compliance

© proffesor-for-testing, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .kiro/skills/qe-contract-testing of proffesor-for-testing/agentic-qe.

Open the folder on GitHubat commit 829d030

Compare with similar skills

Qe Contract Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Qe Contract Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Qe Contract Testing this skillproffesor-for-testing/agentic-qe494—~1.2kAutomated safety check: PassMIT
API Testingpetrkindlmann/qa-skills163—~2.7kAutomated safety check: PassMIT
API Testingcosmicstack-labs/mercury-agent-skills476—~449Automated safety check: PassMIT
Monstermq Graphql Configvogler75/monster-mq142—~2.3kAutomated safety check: PassGPL-3.0
Designing APIsancoleman/ai-design-components5261 repos~2.6kAutomated safety check: PassMIT
Absinthe SubscriptionsTheBushidoCollective/han198—~875Automated safety check: PassCustom licence

Similar skills

  • API Testing

    petrkindlmann/qa-skills

    Test REST and GraphQL APIs with Playwright APIRequestContext, Supertest, or standalone HTTP clients.

    163 GitHub stars~2.7k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • API Testing

    cosmicstack-labs/mercury-agent-skills

    REST and GraphQL testing, Postman/Insomnia patterns, contract testing, schema validation, and monitoring

    476 GitHub stars~449 tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Monstermq Graphql Config

    vogler75/monster-mq

    Guide for configuring, managing, and mutating MonsterMQ settings, devices, flows, AI agents, users, loggers, archive groups, topic schemas, and publishing messages via the GraphQL API.

    142 GitHub stars~2.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Designing APIs

    ancoleman/ai-design-components

    Design APIs that are secure, scalable, and maintainable using RESTful, GraphQL, and event-driven patterns.

    526 GitHub starsUsed in 1 repo~2.6k tokens
    Backend & APIsAuto-check passed
  • Absinthe Subscriptions

    TheBushidoCollective/han

    A skill your agent uses when implementing real-time GraphQL subscriptions with Absinthe.

    198 GitHub stars~875 tokensUpdated 29 days ago
    Backend & APIsAuto-check passed
  • Integration Test Generator

    ArabelaTso/Skills-4-SE

    Generate integration tests for multiple interacting components in Python.

    253 GitHub stars~2.1k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed

More from proffesor-for-testing/agentic-qe

All 111 skills in this repo
  • Contract Testing

    proffesor-for-testing/agentic-qe

    Consumer-driven contract testing for microservices using Pact, schema validation, API versioning, and backward compatibility testing.

    494 GitHub stars~1.8k tokensUpdated 3 days ago
    Auto-check passed
  • Mutation Testing

    proffesor-for-testing/agentic-qe

    Test quality validation through mutation testing, assessing test suite effectiveness by introducing code mutations and measuring kill rate.

    494 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed
  • Performance Testing

    proffesor-for-testing/agentic-qe

    Profiles application performance under load using k6, Artillery, or JMeter to measure latency, throughput, and error rates.

    494 GitHub stars~2.4k tokensUpdated 3 days ago
    Auto-check passed
  • Code Review Quality

    proffesor-for-testing/agentic-qe

    Conduct context-driven code reviews focusing on quality, testability, and maintainability.

    494 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Security Testing

    proffesor-for-testing/agentic-qe

    Scans for security vulnerabilities including XSS, SQL injection, CSRF, and auth flaws using OWASP Top 10 methodology.

    494 GitHub stars~2.7k tokensUpdated 3 days ago
    Auto-check: notes
  • Database Testing

    proffesor-for-testing/agentic-qe

    Database schema validation, data integrity testing, migration testing, transaction isolation, and query performance.

    494 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed

Works with

Questions about Qe Contract Testing

What does Qe Contract Testing do?

Consumer-driven contract testing for APIs including REST, GraphQL, and event-driven systems with schema validation. Qe Contract Testing is an agent skill from proffesor-for-testing/agentic-qe. Consumer-driven contract testing for APIs including REST, GraphQL, and event-driven systems with schema validation.

When should I use Qe Contract Testing?

Qe Contract Testing fits situations like: tasks that involve Integration testing; tasks that involve GraphQL; tasks that involve Forms and validation.

How do I install Qe Contract Testing in Claude Code?

Run `npx skills add proffesor-for-testing/agentic-qe --skill qe-contract-testing -a claude-code`. Or copy the skill folder (.kiro/skills/qe-contract-testing in proffesor-for-testing/agentic-qe) into .claude/skills/qe-contract-testing in your project. Claude Code loads it when a task matches its description.

How do I install Qe Contract Testing in Codex?

Run `npx skills add proffesor-for-testing/agentic-qe --skill qe-contract-testing -a codex`. Or copy the skill folder (.kiro/skills/qe-contract-testing in proffesor-for-testing/agentic-qe) into .agents/skills/qe-contract-testing in your project. Codex loads it when a task matches its description.

Can I use Qe Contract Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add proffesor-for-testing/agentic-qe --skill qe-contract-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qe-contract-testing, .gemini/skills/qe-contract-testing, .github/skills/qe-contract-testing and .opencode/skills/qe-contract-testing in your project.

What does Qe Contract Testing need to run?

Going by SKILL.md and its folder, Qe Contract Testing needs credentials named PACT_TOKEN. Our summary lists: A credential in PACT_TOKEN.

Does Qe Contract Testing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Qe Contract Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Qe Contract Testing use?

Qe Contract Testing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Qe Contract Testing use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Qe Contract Testing?

Skills that share tags, products or a category with Qe Contract Testing: API Testing (petrkindlmann/qa-skills, 163 stars), API Testing (cosmicstack-labs/mercury-agent-skills, 476 stars), Monstermq Graphql Config (vogler75/monster-mq, 142 stars) and Designing APIs (ancoleman/ai-design-components, 526 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Qe Contract Testing?

proffesor-for-testing (a GitHub user) maintains it in proffesor-for-testing/agentic-qe, which has 494 GitHub stars. The repository holds 111 skills in this directory. The repository was last updated on October 4, 2026.

Source: proffesor-for-testing/agentic-qe on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.