response-validation

Validate API responses against stored schemas to detect drift and structural issues.

39|6|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/vladkesler/initrunner --skill response-validation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: response-validation
Source: https://github.com/vladkesler/initrunner/tree/main/examples/roles/api-monitor/skills/response-validation
Command: npx skills add https://github.com/vladkesler/initrunner --skill response-validation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

API responses often deviate from expected structure or size, leading to unnoticed errors and degraded integrations.

Core Features & Use Cases

  • Content-Type verification against expected types
  • JSON validity checks and HTML error-page sniffing
  • Schema drift detection against stored baseline in semantic memory
  • Null value checks and size anomaly detection for monitoring

Quick Start

Run a curl request to fetch a sample API response and validate it against the stored schema.

Frequently Asked Questions about response-validation

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

FAQPage Schema
How do I detect JSON schema drift in API responses?

Detect JSON schema drift in API responses by validating new payloads against a baseline schema stored in semantic memory, checking Content-Type, JSON structure, required fields, and null values to report discrepancies.

What is the best way to validate REST API response size and structure?

Validate REST API response size and structure by comparing live payloads against a stored baseline schema, detecting size anomalies, null values, and structural issues to prevent unnoticed integration errors.

How do I check if a REST endpoint is returning HTML error pages instead of JSON?

Check if a REST endpoint returns HTML error pages instead of JSON by running response validation, which sniffs for HTML error pages and verifies Content-Type and JSON validity during automated QA checks.

Can I use this for automated QA across microservice endpoints?

Yes, you can use this for automated QA across microservice endpoints. It validates REST and JSON integration responses, detecting schema drift and size anomalies to maintain integration stability.

Why do I need a stored baseline schema for API monitoring?

You need a stored baseline schema for API monitoring because response validation requires a reference point in semantic memory to accurately detect structural drift, null value issues, and size anomalies in live payloads.

How do I validate API responses after fetching them with curl?

Validate API responses after fetching them with curl by passing the response to the validator, which checks Content-Type, JSON structure, and size against the stored baseline schema to identify discrepancies.