api-testing
Installation
SKILL.md
API Testing
Use this skill when
- Writing contract and integration tests for endpoints
- Testing authentication, validation, and error paths
- Automating against a running API
Do not use this skill when
- UI testing
- Pure unit testing of internal logic (use its own skill)
Instructions
- Test at the HTTP boundary: status codes, headers, error bodies.
- Cover success, validation failures, auth failures, and 404/405.
- Keep tests independent with isolated test data.
- Run against a real server/runtime, not mocked handlers alone.
- Use schema validation in assertions against the contract.
- Seed minimal fixtures, not the whole database.
- Track coverage of the endpoint/error matrix.