- Home
- Skills
- Testing & Debugging
- api-contract-tester
Api Contract Tester
Turn OpenAPI specs into exhaustive, framework-ready test suites covering happy paths, edge cases, and security gaps.
$5
Works with the AI tools you already use
api-contract-tester
Example session with this skill installed
I need to test the user registration endpoint at /v1/users. Can you generate some Jest tests to validate the request body, specifically focusing on email validation errors?
- Read your context and instructions
- Compiled the api-contract-tester
"test_user_registration_invalid_email":
it("returns 422 when email is missing '@'", async () => {
const res = await request(app).post("/v1/users").send({ email: "bad-email" });
expect(res.status).toBe(422);
expect(res.body.errors).toContainEqual(expect.objectContaining({ field: "email" }));
});
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Exhaustive API Contract & Regression Testing
Transform your OpenAPI specs or Postman collections into professional-grade test suites. Unlike basic tools that only check for "200 OK" responses, this skill acts as a senior quality engineer to probe the boundaries of your API. It identifies off-by-one errors, authentication vulnerabilities, and schema mismatches before they reach production.
What it does
- Parse & Analyze: Extracts endpoints, schemas, and constraints from OpenAPI/Swagger, Postman, or raw code.
- Constraint Testing: Generates tests for min/max values, regex patterns, and enum boundaries.
- Security First: Automatically builds suites for missing tokens, malformed JWTs, and unauthorized cross-user access.
- Robust Validation: Checks for breaking changes between versions, including field removals and type shifts.
- Framework Flexibility: Generates code for Jest, Pytest, Vitest, Playwright, or curl scripts.
Why use this skill
Writing comprehensive API tests is tedious and manual. This skill automates the creation of "the tests developers forget"—such as testing rate-limit headers, pagination boundaries, and SQL injection strings. It ensures consistent error response formats and prevents internal stack traces from leaking to users. The result is a production-ready test suite with a detailed coverage report across 10 distinct categories.
Supported Outputs
- JavaScript/TypeScript: Jest, Vitest, Supertest, Playwright.
- Python: Pytest with requests or httpx.
- DevOps: Shell scripts using curl with assertions.
- Reporting: Markdown-based coverage reports across happy paths, auth, and edge cases.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
2 installs
Downloaded by developers to date
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 6 months ago
- Passed all security checks, Safe to install