一键导入
test-api
// API test automation — generate REST/GraphQL/gRPC endpoint tests, contract tests (Pact), schema validation, load tests (k6/Locust), and mock servers (MSW/WireMock)
// API test automation — generate REST/GraphQL/gRPC endpoint tests, contract tests (Pact), schema validation, load tests (k6/Locust), and mock servers (MSW/WireMock)
Backend test automation — generate unit, integration, DB, queue, worker, and contract tests for Java, Python, Go, Rust, TypeScript backends
Frontend test automation — generate component tests, E2E browser tests, visual regression, accessibility audits, hook/composable tests for React, Vue, Svelte, Angular
Test orchestrator — generate unit/integration/E2E tests, analyze coverage, diagnose flaky tests, design test strategy. Routes to /test-backend, /test-frontend, /test-api for specialized automation.
API design and management — design endpoints, detect breaking changes, validate specs, generate mock servers and clients
Authentication and authorization — design auth flows, JWT setup, RBAC models, OAuth integration, session management
Data modeling — design schemas, plan migrations, review entity relationships, generate seed data, optimize queries
| name | test-api |
| description | API test automation — generate REST/GraphQL/gRPC endpoint tests, contract tests (Pact), schema validation, load tests (k6/Locust), and mock servers (MSW/WireMock) |
| disable-model-invocation | false |
| user-invocable | true |
| allowed-tools | Read, Grep, Glob, Bash, Edit, Write |
| argument-hint | <action: rest|graphql|contract|schema|load|mock|smoke> <target> |
Action: $ARGUMENTS
rest Generate REST API endpoint tests:
graphql Generate GraphQL API tests:
contract Generate Pact contract tests:
schema Generate OpenAPI schema validation tests:
load Generate load/performance test scripts:
mock Generate mock API server:
smoke Generate API smoke tests:
For all actions: