api-testing

Test HTTP APIs by discovering endpoints, executing requests, and validating responses.

Updated May 6, 2026
One-click install
npx skills add https://github.com/htayj/src --skill api-testing-htayj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-testing
Source: https://github.com/htayj/src/tree/main/dotfiles/pi/.pi/agent/packages/general-dev-suite/skills/api-testing
Command: npx skills add https://github.com/htayj/src --skill api-testing-htayj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of testing HTTP APIs by providing guidance on discovering endpoints, making requests, and validating responses while handling secrets securely.

Core Features & Use Cases

  • API Discovery: Help users identify base URLs and authentication methods from documentation and environment configurations.
  • Request Automation: Utilize project clients, SDKs, or tools to perform safe API requests.
  • Response Validation: Check status codes, headers, response schemas, and body semantics to ensure API correctness.
  • Use Case: For instance, testing a staging environment API to verify that responses meet the expected response schema and contain correct status codes.

Quick Start

Use the api-testing skill to send a test request to the specified staging API endpoint and validate the response.

Frequently Asked Questions about api-testing

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

FAQPage Schema
How do I automate HTTP API testing for staging endpoints?

Automate HTTP API testing by discovering endpoint configurations, executing requests via project clients or SDKs, and validating status codes and response schemas. This enables scenario-based testing for development and staging environments.

What is the best way to validate API response schemas and status codes?

Validate API responses by checking status codes, headers, response schemas, and body semantics to ensure correctness. This process verifies that staging environment responses meet expected configurations and contain accurate data.

How can I securely handle secrets and authentication when testing APIs?

Securely handle secrets during API testing by enforcing safety protocols for sensitive data. Discover authentication methods from documentation and environment configurations while protecting credentials throughout request execution.

Can I use my existing project SDKs and clients for API request automation?

You can utilize project clients, SDKs, or tools to perform safe API requests. The testing process integrates with existing project configurations to execute requests and validate responses without requiring new HTTP clients.

How does API discovery work for finding base URLs and authentication methods?

API discovery works by identifying base URLs and authentication methods from documentation and environment configurations. This initial step ensures requests are routed correctly and authenticated before response validation begins.

Are there limitations when testing APIs against production environments?

API testing supports scenario-based testing for development and staging endpoints. Production environments require caution, as the skill enforces safety protocols designed for non-production validation and secure secret handling.