/test-automation-skills-agents:api-testingfrom test-automation-skills-agents
Tests REST and GraphQL endpoint contracts using Playwright (TypeScript) or REST Assured (Java). Covers schemas, auth, error handling, pagination, idempotency, rate limits, and contract checks.
Ships in test-automation-skills-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Comprehensive API testing skill covering both Playwright TypeScript (request fixture, Supertest, Zod) and Java (REST Assured, AssertJ, JSON Schema Validator).
playwright-e2e-testing for Playwright specs, or webapp-selenium-testing for Selenium)playwright-cli)| Stack | Requirements |
|---|---|
| TypeScript | Node.js 18+, @playwright/test or supertest, zod |
| Java | Java 21+, REST Assured 5.x, AssertJ, Jackson, json-schema-validator |
import { test, expect } from "@playwright/test";
test("GET /api/users returns 200 with valid schema", async ({ request }) => {
const response = await request.get("/api/users");
expect(response.ok()).toBeTruthy();
const body = await response.json();
expect(body).toMatchObject({ data: expect.any(Array) });
});
import static io.restassured.RestAssured.*;
import static org.hamcrest.Matchers.*;
import java.util.List;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
@Test
@DisplayName("GET /api/users returns 200 with valid schema")
void getUsers() {
String token = "test-token";
given()
.header("Authorization", "Bearer " + token)
.when()
.get("/api/users")
.then()
.statusCode(200)
.body("data", is(instanceOf(List.class)))
.body("data.size()", greaterThan(0));
}
Stop and reconsider if you see any of these in generated API tests:
| Document | Content |
|---|---|
| REST API Patterns | CRUD, pagination, filtering, error patterns |
| Playwright API Testing | Request fixture, Supertest, TypeScript patterns |
| REST Assured Testing | REST Assured, AssertJ, Java patterns |
| Schema Validation | Zod (TS), JSON Schema (Java), strict vs loose |
| Contract Testing | Request/response contracts, idempotency, versioning |
| Issue | Solution |
|---|---|
| 401 on authenticated endpoints | Verify token is fresh; check expiry; re-authenticate |
| Flaky API tests | Add retry logic; check for rate limiting; use unique test data |
| Schema validation too strict | Use .passthrough() (Zod) or additionalProperties: true for flexible fields |
| Timeout on slow endpoints | Increase timeout in request options; check for server load |
LICENSE.txt (opens in a new tab)references/contract-testing.md (opens in a new tab)references/playwright-api-testing.md (opens in a new tab)references/rest-api-patterns.md (opens in a new tab)references/rest-assured-testing.md (opens in a new tab)references/schema-validation.md (opens in a new tab)scripts/api-health-check.sh (opens in a new tab)templates/playwright-api-spec.ts (opens in a new tab)templates/rest-assured-test.java (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fugazi/test-automation-skills-agents --plugin test-automation-skills-agents11 skills in this plugin
/a11y-playwright-testingAccessibility testing for web applications using Playwright (@playwright/test), TypeScript, and axe-core. Use to write, run, or debug WCAG 2.2 AA checks, keyboard and focus tests, ARIA/semantic validation, accessible names, form labels, color contrast, or screen-reader test patterns. Keywords: accessibility, WCAG, axe-core, keyboard navigation, focus management, ARIA./accessibility-selenium-testingAccessibility testing toolkit using Selenium WebDriver 4+ with Java 21+ and axe-core engine. Use when asked to validate WCAG 2.2 AA compliance, scan pages or components for a11y violations, test keyboard navigation, audit color contrast, check ARIA semantics, generate accessibility reports, filter axe rules, debug screen reader issues, or implement POUR principles (perceivable, operable, understandable, robust)./grill-me-qaOther plugins' skills for the same job