api-test-suite-generator

Generate API integration and contract tests for Express, Next.js, or Fastify routes.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Camilo8902/GabyCosmetics --skill api-test-suite-generator-camilo8902
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-test-suite-generator
Source: https://github.com/Camilo8902/GabyCosmetics/tree/main/.claude/skills/api-test-suite-generator
Command: npx skills add https://github.com/Camilo8902/GabyCosmetics --skill api-test-suite-generator-camilo8902

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires commander, fs, path, vitest, supertest, zod, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive API test suites, reducing manual effort and ensuring robust testing for your backend services.

Core Features & Use Cases

  • Automated Test Generation: Creates integration and contract tests for various API frameworks.
  • Framework Agnostic: Supports Express, Next.js, Fastify, and more.
  • Use Case: When you need to quickly set up a full suite of integration tests for a new set of API endpoints, this Skill can generate the boilerplate and core test cases for you.

Quick Start

Use the api-test-suite-generator skill to generate API tests for your Express routes located in the './src' directory and output them to './tests/integration'.

Frequently Asked Questions about api-test-suite-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate integration tests for an Express API?

You can generate integration tests for an Express API by using this Skill to read your route files and output complete test suites to a specified directory. It builds test files from your existing route definitions.

Can I use Vitest or Jest to test Fastify API routes?

Yes, you can use Vitest or Jest to test Fastify API routes. This Skill generates test suites compatible with Vitest, Jest, and Supertest for frameworks including Fastify, Express, and Next.js.

What is contract testing and how does it apply to API endpoints?

Contract testing verifies API requests and responses match expected schemas. This Skill generates contract tests for your API endpoints to ensure integration stability and prevent breaking changes across service boundaries.

Does API test generation work with Next.js API routes?

Yes, API test generation works with Next.js API routes. The Skill supports generating integration tests, contract tests, and edge case coverage for Next.js alongside Express and Fastify frameworks.

What is the best way to add edge case coverage for backend APIs?

The best way to add edge case coverage is to generate automated test suites that include edge case scenarios directly from your API route definitions. This Skill outputs comprehensive edge case tests for your backend services.