api-debugger

Automate REST and GraphQL API response testing against documentation.

171|4|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/ntygod/ZhiWei --skill api-debugger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-debugger
Source: https://github.com/ntygod/ZhiWei/tree/main/src/main/resources/skills/api-debugger
Command: npx skills add https://github.com/ntygod/ZhiWei --skill api-debugger

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers and testers quickly validate REST and GraphQL APIs, ensure responses align with documentation, and generate mock data for test scenarios.

Core Features & Use Cases

  • Test REST endpoints (GET/POST/PUT/DELETE) and GraphQL queries to verify structure and status codes.
  • Compare actual responses with API docs and surface diffs to catch outdated specs.
  • Generate realistic mock data to seed tests and simulate edge cases.
  • Supports batch testing of multiple endpoints and automated reporting.

Quick Start

Test an API endpoint with curl or requests and compare the response to the documentation to identify mismatches.

Frequently Asked Questions about api-debugger

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

FAQPage Schema
How do I validate API responses against official documentation?

To validate API responses against documentation, this Skill automates testing REST and GraphQL endpoints, comparing actual JSON responses with official specs to generate a diff report highlighting structural mismatches and outdated specs.

How do I automate batch testing for REST and GraphQL endpoints?

Automating batch testing for REST and GraphQL endpoints is done by executing multiple GET, POST, PUT, and DELETE checks via curl or Python requests, verifying status codes and structure, and outputting a comprehensive test report detailing endpoint statuses.

Can I generate mock data for API testing scenarios?

Yes, you can generate mock data for API testing scenarios. This Skill produces realistic mock data when needed, supporting automated validation and batch endpoint testing workflows to seed tests and simulate edge cases.

Do I need curl or Python requests to test REST APIs?

Yes, you need curl or Python requests to test REST APIs and GraphQL queries. This Skill relies on these tools to execute endpoint checks, perform JSON analysis, and validate responses against documentation.

What is the best way to catch outdated API documentation?

The best way to catch outdated API documentation is by comparing actual API responses against official docs. This Skill surfaces diffs between the response structure and the spec, detailing mismatches in an automated test report.

Why does my GraphQL query response structure mismatch the API documentation?

A GraphQL query response structure mismatches API documentation when the implementation drifts from the spec. This Skill identifies these discrepancies by analyzing JSON responses and generating a diff report to highlight structural differences.