qa-api-testing-contracts
API testing and contract validation. Design and execute schema validation, contract tests, negative testing, and change safety for REST, GraphQL, and gRPC APIs. Use when you need API test plans, contract testing, or CI quality gates.
Best use case
qa-api-testing-contracts is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
API testing and contract validation. Design and execute schema validation, contract tests, negative testing, and change safety for REST, GraphQL, and gRPC APIs. Use when you need API test plans, contract testing, or CI quality gates.
Teams using qa-api-testing-contracts should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/qa-api-testing-contracts/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How qa-api-testing-contracts Compares
| Feature / Agent | qa-api-testing-contracts | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
API testing and contract validation. Design and execute schema validation, contract tests, negative testing, and change safety for REST, GraphQL, and gRPC APIs. Use when you need API test plans, contract testing, or CI quality gates.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# QA API Testing and Contracts ## When to Use This Skill Use this skill when you need to: - Design API test plans for REST, GraphQL, or gRPC services. - Implement contract testing with Pact or consumer-driven workflows. - Set up schema validation in CI/CD pipelines. - Review API changes for backward compatibility. - Define quality gates for API releases. ## Scope - Validate API schemas and enforce contracts. - Design functional, negative, and edge case tests. - Plan mocking and consumer driven contracts. - Define CI gates and release safety checks. - Align API tests with SLOs and error budgets. ## Ask For Inputs - API type (REST, GraphQL, gRPC) and schemas (OpenAPI, SDL, proto). - Environments and authentication methods. - Critical endpoints and business flows. - Data constraints, idempotency, and rate limits. - Change cadence and backward compatibility policy. - Current test tooling and CI pipeline. ## Workflow 1. Confirm API surface and schema sources. 2. Establish contract rules (breaking vs non breaking). 3. Generate schema validation tests. 4. Create functional tests for happy paths. 5. Add negative, boundary, and auth tests. 6. Add consumer contract tests or mocks as needed. 7. Define CI gates, reporting, and rollback triggers. ## Outputs - API test plan and coverage map by endpoint. - Contract validation suite and schema checks. - Negative and security test list. - Mock and test data strategy. - CI quality gates and release checklist. ## Quality Checks - Fail fast on schema violations and breaking changes. - Ensure tests are deterministic and data stable. - Separate functional tests from load or resilience tests. - Keep contract tests aligned with versioning policy. ## Templates - `templates/api-test-plan.md` for coverage planning. - `templates/contract-change-checklist.md` for breaking change review. - `templates/schema-validation-matrix.md` for schema tooling and CI stages. ## Resources - `resources/contract-testing-patterns.md` for change safety guidance. ## Related Skills - Use [dev-api-design](../dev-api-design/SKILL.md) for API design decisions. - Use [qa-testing-strategy](../qa-testing-strategy/SKILL.md) for overall testing strategy. - Use [qa-resilience](../qa-resilience/SKILL.md) for chaos and reliability testing. - Use [software-security-appsec](../software-security-appsec/SKILL.md) for API security review.
Related Skills
QE Contract Testing
Consumer-driven contract testing for APIs including REST, GraphQL, and event-driven systems with schema validation.
python-testing
Use when implementing new Python code (follow TDD), designing test suites, reviewing test coverage, setting up pytest infrastructure, writing fixtures, mocking dependencies, or performing parametrized testing
python-testing-patterns
Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.
property-based-testing
Use when writing tests for serialization, validation, normalization, or pure functions - provides property catalog, pattern detection, and library reference for property-based testing
playwright-app-testing
Test the Expensify App using Playwright browser automation. Use when user requests browser testing, after making frontend changes, or when debugging UI issues
pgsql-parser-testing
Test the pgsql-parser repository (SQL parser/deparser). Use when working in the pgsql-parser repo, fixing deparser issues, running parser tests, or validating SQL round-trips. Scoped specifically to the constructive-io/pgsql-parser repository.
performance-testing-review-multi-agent-review
Use when working with performance testing review multi agent review
performance-testing-review-ai-review
You are an expert AI-powered code review specialist combining automated static analysis, intelligent pattern recognition, and modern DevOps practices. Leverage AI tools (GitHub Copilot, Qodo, GPT-5, C
mobile-app-testing
Comprehensive mobile app testing strategies for iOS and Android. Covers unit tests, UI tests, integration tests, performance testing, and test automation with Detox, Appium, and XCTest.
moai-workflow-testing
Comprehensive development workflow specialist combining TDD, debugging, performance optimization, code review, PR review, and quality assurance into unified development workflows
k6 Performance Testing
Modern load testing with k6 including thresholds, scenarios, and custom metrics
javascript-testing-patterns
Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use...