api-test-writer

Installation
SKILL.md

API Test Writer

Overview

API tests check the contract clients depend on: status codes, response shape, validation, authorization and side effects. They are faster and more stable than UI tests, so most functional coverage belongs here.

Method

  1. Inventory the endpoints from routes, controllers or the OpenAPI spec: method, path, auth, request schema, responses.
  2. Match the project's tooling: existing test framework and HTTP client (Supertest for Node, httpx/requests with pytest, REST Assured for Java, Newman for Postman collections). Follow existing test structure.
  3. Write cases per endpoint using the matrix below.
  4. Control data: create what each test needs through the API or factories, clean up afterwards, use unique values to allow parallel runs.
  5. Run the suite and confirm each new test fails when the behavior is broken (change an expected value once to check).

Case matrix per endpoint

Installs
2
GitHub Stars
4
First Seen
Oct 18, 2026