generate-api-test - Generate Playwright API tests using local LLM or Claude
Generates Playwright API tests using local LLM with Claude fallback, saves to tests/api/, and records results in TESTS_API.md.
Tags
Updated: 2026-09-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Generate Playwright API test files
- Auto-detect API test type
- Run generated test specs automatically
- Record passing tests in TESTS_API.md
- Attempt auto-fix on test failure
- Mark broken tests or bugs
Inputs
- Endpoint description or text file
- Target spec file path
- Test name
- PRD test backlog file
Outputs
- API spec files in tests/api/
- Test records in TESTS_API.md
- Broken or bug test annotations
Requirements
- Playwright testing framework
- Local 14B LLM or Claude API
- npm CLI environment
