api-test-plan

Featured

Plan tests for an API endpoint or service — functional, negative, and contract. Use when asked to test an API, write API test cases, plan REST/GraphQL endpoint testing, or validate an API contract. Produces an API test plan — per-endpoint cases (status codes, schema, auth, validation, errors), boundary/negative cases, contract checks, and non-functional notes — so the API is verified beyond the happy 200.

API & Backend 1,228 stars 220 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# API Test Plan Skill APIs fail in specific, testable ways: wrong status codes, schema drift, missing auth checks, sloppy validation, unhelpful errors. This skill plans the tests that catch them — per endpoint, across the response codes and the error paths, with contract checks so the API keeps its promises to clients. It tests the whole behaviour, not just the happy `200`. ## Working from a brief Given an endpoint or an API description, **produce the test plan anyway** — infer the likely parameters, responses, auth model, and error cases, labelling assumptions. Always include auth, validation, and negative cases. Never hand back a question instead of a plan. ## Required Inputs Ask for these only if they aren't already provided (else infer and label): - **The API** — REST/GraphQL, the endpoints/operations, and what they do. - **Contract** — request/response schemas, parameters, status codes (or an OpenAPI/spec if available). - **Auth & rules** — the auth model (token/scopes/roles), rate limits, and validation rules. - **Dependencies & data** — downstream services, and the data/state needed to test. ## Output Format ### API Test Plan: [API / endpoint] **Per endpoint**, a set of cases grouped by type: | ID | Endpoint | Case | Type | Request | Expected status | Expected body / assertion | |---|---|---|---|---|---|---| | API-01 | POST /orders | valid create | Functional | valid payload | 201 | body matches schema, id returned | | API-02 | POST /orders | missing field | ...

Details

Author
mohitagw15856
Repository
mohitagw15856/pm-claude-skills
Created
5 months ago
Last Updated
today
Language
HTML
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category