Agent skill

web-api-tester

Test API endpoints for correctness, edge cases, auth handling, and OpenAPI contract compliance.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/web-api-tester

Metadata

Additional technical details for this skill

stage
7-api-testing
category
web-builder
pipeline
web-builder

SKILL.md

Web API Tester

Objective

Run endpoint-level testing against openapi.yaml and produce API quality coverage artifacts.

Required Workflow

  1. Read openapi.yaml from web-backend-builder.
  2. Build API collections for Bruno or Hoppscotch.
  3. Optionally generate automated tests in Vitest, Jest, or pytest.
  4. For each endpoint test:
    • happy path
    • edge cases (missing fields, invalid types, max payloads)
    • auth failures (401, 403)
    • rate limiting behavior
  5. Validate response contracts against OpenAPI using Zod (TS) or Pydantic (Python).
  6. Add frontend-backend contract tests for API call compatibility.
  7. Generate endpoint and edge-case coverage percentages.
  8. Output api-test-report.json.

Execution

bash
python skills/web-api-tester/scripts/api_tester.py --input <workspace> --output <out.json> --format json

References

  • references/tools.md

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results