jeremylongshore

automating-api-testing

@jeremylongshore/automating-api-testing
jeremylongshore
1,004
123 forks
Updated 1/18/2026
View on GitHub

This skill automates API endpoint testing, including request generation, validation, and comprehensive test coverage for REST and GraphQL APIs. It is used when the user requests API testing, contract testing, or validation against OpenAPI specifications. The skill analyzes API endpoints and generates test suites covering CRUD operations, authentication flows, and security aspects. It also validates response status codes, headers, and body structure. Use this skill when the user mentions "API testing", "REST API tests", "GraphQL API tests", "contract tests", or "OpenAPI validation".

Installation

$skills install @jeremylongshore/automating-api-testing
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Pathbackups/skills-migration-20251108-070147/plugins/testing/api-test-automation/skills/api-test-automation/SKILL.md
Branchmain
Scoped Name@jeremylongshore/automating-api-testing

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

skills list

Skill Instructions


name: automating-api-testing description: | This skill automates API endpoint testing, including request generation, validation, and comprehensive test coverage for REST and GraphQL APIs. It is used when the user requests API testing, contract testing, or validation against OpenAPI specifications. The skill analyzes API endpoints and generates test suites covering CRUD operations, authentication flows, and security aspects. It also validates response status codes, headers, and body structure. Use this skill when the user mentions "API testing", "REST API tests", "GraphQL API tests", "contract tests", or "OpenAPI validation".

Overview

This skill empowers Claude to automatically generate and execute comprehensive API tests for REST and GraphQL endpoints. It ensures thorough validation, covers various authentication methods, and performs contract testing against OpenAPI specifications.

How It Works

  1. Analyze API Definition: The skill parses the provided API definition (e.g., OpenAPI/Swagger file, code files) or infers it from usage.
  2. Generate Test Cases: Based on the API definition, it creates test cases covering different scenarios, including CRUD operations, authentication, and error handling.
  3. Execute Tests and Validate Responses: The skill executes the generated tests and validates the responses against expected status codes, headers, and body structures.

When to Use This Skill

This skill activates when you need to:

  • Generate comprehensive API tests for REST endpoints.
  • Create GraphQL API tests covering queries, mutations, and subscriptions.
  • Validate API contracts against OpenAPI/Swagger specifications.
  • Test API authentication flows, including login, refresh, and protected endpoints.

Examples

Example 1: Generating REST API Tests

User request: "Generate API tests for the user management endpoints in src/routes/users.js"

The skill will:

  1. Analyze the user management endpoints in the specified file.
  2. Generate a test suite covering CRUD operations (create, read, update, delete) for user resources.

Example 2: Creating GraphQL API Tests

User request: "Create GraphQL API tests for the product queries and mutations"

The skill will:

  1. Analyze the product queries and mutations in the GraphQL schema.
  2. Generate tests to verify the functionality and data integrity of these operations.

Best Practices

  • API Definition: Provide a clear and accurate API definition (e.g., OpenAPI/Swagger file) for optimal test generation.
  • Authentication Details: Specify the authentication method and credentials required to access the API endpoints.
  • Contextual Information: Provide context about the API's purpose and usage to guide the test generation process.

Integration

This skill can integrate with other plugins to retrieve API definitions from various sources, such as code repositories or API gateways. It can also be combined with reporting tools to generate detailed test reports and dashboards.

More by jeremylongshore

View all
rabbitmq-queue-setup
1,004

Rabbitmq Queue Setup - Auto-activating skill for Backend Development. Triggers on: rabbitmq queue setup, rabbitmq queue setup Part of the Backend Development skill category.

model-evaluation-suite
1,004

evaluating-machine-learning-models: This skill allows Claude to evaluate machine learning models using a comprehensive suite of metrics. It should be used when the user requests model performance analysis, validation, or testing. Claude can use this skill to assess model accuracy, precision, recall, F1-score, and other relevant metrics. Trigger this skill when the user mentions "evaluate model", "model performance", "testing metrics", "validation results", or requests a comprehensive "model evaluation".

neural-network-builder
1,004

building-neural-networks: This skill allows Claude to construct and configure neural network architectures using the neural-network-builder plugin. It should be used when the user requests the creation of a new neural network, modification of an existing one, or assistance with defining the layers, parameters, and training process. The skill is triggered by requests involving terms like "build a neural network," "define network architecture," "configure layers," or specific mentions of neural network types (e.g., "CNN," "RNN," "transformer").

oauth-callback-handler
1,004

Oauth Callback Handler - Auto-activating skill for API Integration. Triggers on: oauth callback handler, oauth callback handler Part of the API Integration skill category.