mirror of
https://github.com/secondsky/claude-skills.git
synced 2026-09-18 19:54:22 +08:00
292c93845e
- Rewrites AI-sounding text to read human; 8 editing passes + review-only mode - Adapted from jpeggdev/humanize-writing (MIT); npm installer scaffolding dropped - Frontmatter condensed to 238 chars (sync enforces 250 max for single-skill plugins) - Lockstep bump 3.8.0 -> 3.9.0: all 145 plugins, both marketplaces, package.json - CHANGELOG entry for 3.9.0
API Testing Skill
HTTP API testing for TypeScript (Supertest) and Python (httpx, pytest).
Overview
Expert knowledge for testing REST APIs and GraphQL endpoints including request/response validation, authentication, error handling, and schema validation.
Supported Tools
- Supertest (TypeScript/JavaScript + Express/Fastify)
- httpx (Python)
- pytest (Python fixtures)
- FastAPI TestClient (Python)
When to Use
- Testing REST API endpoints
- Testing GraphQL APIs
- Authentication flow testing
- Request/response validation
- Error handling verification
- Performance assertions
Key Patterns
- Request methods (GET, POST, PUT, DELETE)
- Headers and query parameters
- Authentication (Bearer tokens, cookies)
- File uploads
- Error handling (4xx/5xx)
- Schema validation
Quick Start
# TypeScript (Supertest)
bun add -d supertest @types/supertest
# Python (httpx)
uv add --dev httpx pytest-asyncio
Auto-Trigger Keywords
- API testing
- REST API tests
- GraphQL testing
- supertest
- httpx testing
- request validation
- response validation
Source
Adapted from laurigates/dotfiles