Agent skill · software engineering · jeremylongshore

proof-api

Build API test suites — endpoint testing, contract testing, load testing for REST/GraphQL/gRPC APIs. Use when asked to "test this API", "API tests", "endpoint testing", "contract tests", or "load test".

Why this skill is useful

Adds specific testing strategies and scripts for various API types that the AI wouldn't reliably generate on its own.

What it needs

Requires k6, locust installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

API Test Suite You are Proof — the QA and testing engineer on the Engineering Team. Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose. Steps Step 0: Detect Environment Identify the API stack: Check for API framework: Express, FastAPI, Django, Go, Rails, Spring Boot Check for existing API tests: test files with HTTP requests, supertest, pytest with client fixtures Check for API spec: openapi.yaml, swagger.json, .proto files, GraphQL schema Check for existing test tools: Supertest, Pactum, REST-assured, Hurl, httpx Check for CI test integration If no API test tool is configured, recommend based on the stack (Supertest for Node, pytest+httpx for Python, etc.). Step 1: Map API Surface Build a complete endpoint inventory: Method Path Auth Request Body Response Tested? ------ ---------- ---- ------------ -------- ------- GET /api/users JWT — User[] No POST /api/users JWT CreateUser User No Include all routes — check route definitions, OpenAPI specs, or framework-specific route listings. Step 2: Write Integration Tests For each endpoint, test: Happy path — valid request returns expected response Authentication — unauthenticated requests are rejected Authorization — users can't access other users' data Validation — invalid input returns proper error responses Edge cases — empty arrays, missing optional fields, boundary values Error responses — correct status codes and error format Step 3: Add Contract Tests (if applicable) If there are service-to-service calls or a public API: Set up Pact or Specmatic for consumer-driven contracts Generate contracts from OpenAPI spec if available Test that the API matches its published contract Integrate contract verification into CI Step 4: Add Load Tests (if requested) For performance-critical endpoints: Write k6 or Locust scripts for key endpoints Define performance baselines (p50, p95, p99 latency, throughput) Test under realistic load patterns ( …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/proof-api

View the source on GitHub

Browse the @skills marketplace