Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

api-testing

Skill by fugazi

Guides an AI assistant to write standalone REST and GraphQL API tests in TypeScript with Playwright or in Java with REST Assured. Aimed at developers testing schemas, auth, errors and contracts.

  • Score 78
  • 273 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install api-testing

Built from the published package, never by AI.

git clone --depth 1 https://github.com/fugazi/test-automation-skills-agents /tmp/test-automation-skills-agents && mkdir -p ~/.claude/skills && cp -r /tmp/test-automation-skills-agents/skills/api-testing ~/.claude/skills/api-testing

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install api-testing in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The api-testing skill helps an AI assistant write standalone API tests for REST and GraphQL endpoints. It covers TypeScript tests built on the Playwright request fixture, Supertest and Zod, and Java tests built on REST Assured, AssertJ, Jackson and the JSON Schema Validator. The skill includes reference documents, a Playwright API spec template, a REST Assured test template and an API health check script.

The tests validate response schemas, authentication flows, error status codes, pagination, idempotency for PUT and DELETE, rate limits and contract checks. The skill states it is not for browser-driven UI flows or browser E2E specs, which belong to other skills. It is aimed at developers who need API-level tests in TypeScript or Java.

Written from the project's SKILL.md and checked against it.

What it can do

  • Schema validationChecks API responses against Zod schemas or JSON Schema.
  • Authentication testingCovers OAuth2, JWT, API keys and Bearer tokens, including 401 and 403 checks.
  • Error handling testsTests status codes 400, 401, 403, 404, 409, 422 and 500.
  • Pagination and filteringCovers pagination, filtering and sorting edge cases.
  • Idempotency checksVerifies that PUT and DELETE give the same result when called repeatedly.
  • Rate limit validationTests how endpoints behave under rate limiting.
  • Contract testingCovers request and response contracts between services.
  • Playwright API specsWrites TypeScript API tests with the Playwright request fixture, Supertest and Zod.
  • REST Assured testsWrites Java API tests with REST Assured, AssertJ and Jackson.

What you need

  • Node.js 18+ for TypeScript tests
  • @playwright/test or supertest, and zod
  • Java 21+ for Java tests
  • REST Assured 5.x, AssertJ, Jackson and json-schema-validator

Try asking

  • Write Playwright API tests for GET /api/users with Zod schema validation.
  • Create REST Assured tests that check 401 on protected endpoints.
  • Add idempotency tests for PUT and DELETE on my orders API.

Good to know

  • Not for browser-driven UI flows or browser E2E specs.
  • Visual and layout regression testing is out of scope.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/api-testing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • LICENSE.txt1 KB
  • SKILL.md6 KB
  • references/contract-testing.md3 KB
  • references/playwright-api-testing.md4 KB
  • references/rest-api-patterns.md3 KB
Show all 10 files
  • references/rest-assured-testing.md4 KB
  • references/schema-validation.md3 KB
  • scripts/api-health-check.sh913 B
  • templates/playwright-api-spec.ts2 KB
  • templates/rest-assured-test.java2 KB

Alternatives to api-testing

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

api-testing: common questions

Does api-testing support GraphQL?

Yes. The skill describes testing REST and GraphQL endpoint contracts.

Which languages does api-testing support?

TypeScript with Playwright request fixture, Supertest and Zod, and Java with REST Assured, AssertJ and JSON Schema Validator.

Can api-testing replace browser E2E tests?

No. The skill says it is not for browser E2E specs and points to playwright-e2e-testing or webapp-selenium-testing for those.

How do I install api-testing?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is api-testing free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is api-testing safe to use?

It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to api-testing?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

api-testing Install

Add to stack

Loading.