Skip to main content

inspect-an-api-response

Inspect an API response across status, headers, body, timing, caching, errors, and contract expectations. Use when debugging or verifying an HTTP or RPC integration.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
inspect-an-api-response
category
code
description
Inspect an API response across status, headers, body, timing, caching, errors, and contract expectations. Use when debugging or verifying an HTTP or RPC integration.
# inspect-an-api-response Capture the full exchange safely before interpreting one field. ## When to use - Use for unexpected status, body shape, latency, redirects, caching, pagination, or error behavior. - Do not log credentials, cookies, tokens, personal data, or restricted response bodies. ## Procedure 1. Record environment, endpoint, method, sanitized request, request ID, time, client version, and expected contract. 2. Capture status, redirect chain, protocol, duration, retries, and network error separately. 3. Inspect content type, cache, authentication, rate-limit, pagination, tracing, and version headers. 4. Validate body decoding before interpreting JSON, text, binary, stream, or empty content. 5. Compare schema, required fields, types, units, nullability, ordering, and error envelope with the contract. 6. Check whether proxies, caches, gateways, or client defaults altered the exchange. 7. Repeat with a known-good request and boundary or failure cases. 8. Save a redacted response report and reproducible command. ## Done - A redacted response report records request context, status, headers, body contract, timing, redirects, and intermediaries - A reproducible check confirms the observed difference against a known-good or documented expectation
在 GitHub 查看