スキル一覧に戻る
vasilyu1983

qa-api-testing-contracts

by vasilyu1983

25🍴 6📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: qa-api-testing-contracts description: 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.

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

  • assets/api-test-plan.md for coverage planning.
  • assets/contract-change-checklist.md for breaking change review.
  • assets/schema-validation-matrix.md for schema tooling and CI stages.

AI-Powered Contract Testing (2026)

Modern tools automate contract test generation and maintenance:

  • PactFlow AI Code Review: Inspects Pact tests and suggests improvements across 7+ languages.
  • Keploy: Generates tests from live API traffic with zero code.
  • Postman Postbot: AI assistant for test generation from request/response analysis.
  • Specmatic: Converts OpenAPI/GraphQL specs into executable contracts instantly.
  • Bi-Directional Contract Testing: Combines provider OpenAPI specs with consumer contracts for simplified workflows.

See references/ai-contract-testing.md for setup and decision matrix.

Resources

  • references/contract-testing-patterns.md for change safety and CDC patterns.
  • references/ai-contract-testing.md for AI-powered testing tools and workflows.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です