API Test Suite Builder
Scans your API routes and auto-generates test suites covering auth, validation, error codes, pagination and rate limits.
Dev & CodingIntermediate★ 24,151⑂ 3,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
- "Scan every route under app/api and generate Vitest suites" → route map extraction, then one describe block per endpoint.
- "Add expired-token and wrong-role tests to the auth endpoints of this FastAPI service."
- "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)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the 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.
- Open a terminal.
- Clone the repo:
git clone https://github.com/alirezarezvani/claude-skills.git /tmp/claude-skills - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/claude-skills/.gemini/skills/api-test-suite-builder ~/.claude/skills/ - Check whether a
references/folder came along; if not, the example test file section will be unavailable. - Restart Claude Code and ask something like "generate an integration test suite for my REST API" to trigger the skill.
View source on GitHub ↗License: MIT