This is the pattern library you reach for when building API tests that actually prevent breaking changes in production. It covers consumer-driven contract testing with Pact, comprehensive REST and GraphQL validation, and the critical scenarios teams often miss: expired tokens, race conditions on shared resources, idempotency key handling. The quick reference table breaking down contract versus component versus integration testing is genuinely useful for figuring out what layer you should be testing at. Four coordinated agents will validate contracts against OpenAPI specs, generate test suites, run load tests, and scan for security issues. The code examples are production-ready, especially the concurrency test that verifies inventory doesn't oversell when hit with parallel requests.

skills.sh installs
609
GitHub stars
524
last updated
Aug 21, 2026

Install

$ npx -y skills add proffesor-for-testing/agentic-qe --skill api-testing-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

API Testing Patterns

<default_to_action> When testing APIs or designing API test strategy:

  1. IDENTIFY testing level: contract, integration, or component
  2. TEST the contract, not implementation (consumer perspective)
  3. VALIDATE auth, input, errors, idempotency, concurrency
  4. AUTOMATE in CI/CD with schema validation
  5. MONITOR production APIs for contract drift

Quick Pattern Selection:

  • Microservices → Consumer-driven contracts (Pact)
  • REST APIs → CRUD + pagination + filtering tests
  • GraphQL → Query validation + complexity limits
  • External deps → Mock with component testing
  • Performance → Load test critical endpoints

Critical Success Factors:

  • APIs are contracts - test from consumer perspective
  • Always test error scenarios, not just happy paths
  • Version your API tests to prevent breaking changes </default_to_action>

Quick Reference Card

When to Use

  • Testing REST or GraphQL APIs
  • Validating microservice contracts
  • Designing API test strategies
  • Preventing breaking API changes

Sponsors

Details

Repository
github.com/proffesor-for-testing/agentic-qe
Categories
Backend & APIs, Testing & QA, AI & Agent Building
First seen
Jun 3, 2026

More from proffesor-for-testing/agentic-qe

All 13
1encoredev avatarencore-go-authencoredev/skillsProtect Encore Go endpoints with authentication and authorize callers. Covers `auth.AuthHandler`, `auth.UserID`, the `Authorization` header, and `//encore:api a599skills.sh installs
2aj-geddes avatardatabase-schema-designaj-geddes/useful-ai-promptsDesign database schemas with normalization, relationships, and constraints. Use when creating new database schemas, designing tables, or planning data models fo597skills.sh installs
3bobmatnyc avatarapi-design-patternsbobmatnyc/claude-mpm-skillsComprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices579skills.sh installs
4glitternetwork avatarpinme-authglitternetwork/pinmeUse when a PinMe project (Worker TypeScript) needs to integrate user authentication — creating email/password users, verifying id_tokens, querying user info, or511skills.sh installs
5intellectronica avatarraindrop-apiintellectronica/agent-skillsThis skill provides comprehensive instructions for interacting with the Raindrop.io bookmarks service via its REST API using curl and jq. It covers authenticati507skills.sh installs
6secondsky avatarapi-security-hardeningsecondsky/claude-skillsREST API security hardening with authentication, rate limiting, input validation, security headers. Use for production APIs, security audits, defense-in-depth, 506skills.sh installs