Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

API Test Suite Builder

Scans your API routes and auto-generates test suites covering auth, validation, error codes, pagination and rate limits.

Dev & CodingIntermediate24,1513,405AI score 8/10Last updated: Aug 9, 2026

What it does

  • Detects API endpoints across Next.js App Router, Express, FastAPI and Django REST using ready-made grep/find scans.
  • Builds an auth test matrix (missing header, malformed token, expired JWT, wrong role, deleted user) and an input-validation matrix (empty body, missing fields, wrong types, boundary values, SQLi/XSS payloads).
  • Emits runnable test files for Vitest+Supertest (Node) or Pytest+httpx (Python), covering 400/401/403/404/422/500 paths, pagination edges, file uploads and rate limiting.
  • Adds a pitfalls and best-practices checklist so generated suites avoid shared state, hardcoded IDs and happy-path-only coverage.

Who it's for

  • Backend engineers who inherited a legacy API with zero tests and need baseline coverage fast.
  • TDD teams that want a test scaffold before implementing a new endpoint.
  • QA and security folks preparing regression or adversarial-input checks before release.

Examples

  1. "Scan every route under app/api and generate Vitest suites" → route map extraction, then one describe block per endpoint.
  2. "Add expired-token and wrong-role tests to the auth endpoints of this FastAPI service."
  3. "Write boundary and SQL-injection input tests for POST /orders."

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/alirezarezvani/claude-skills/HEAD/.gemini/skills/api-test-suite-builder/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the .gemini/skills/api-test-suite-builder folder from the GitHub repo alirezarezvani/claude-skills into my ~/.claude/skills/api-test-suite-builder/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/alirezarezvani/claude-skills.git /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/.gemini/skills/api-test-suite-builder ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/alirezarezvani/claude-skills.git /tmp/claude-skills
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r /tmp/claude-skills/.gemini/skills/api-test-suite-builder ~/.claude/skills/
  5. Check whether a references/ folder came along; if not, the example test file section will be unavailable.
  6. Restart Claude Code and ask something like "generate an integration test suite for my REST API" to trigger the skill.