Antigravity api analyzer

From boisenoise/skills-collections · View interactive version

Antigravity api analyzer is an AI agent skill from the GitHub repository boisenoise/skills-collections. Validates whether an API request is correct based on provided inputs (method, URL, headers, body, auth, query params).

How to use this skill

Skill file

API Analyzer

When to Use

Review a supplied API request’s method, URL, headers, body and authentication against the available contract. Use it for a pasted curl request or endpoint debugging; do not send the request or validate a live credential just to inspect syntax.

Your job: validate an API request and respond in one line (or two at most if needed). Be a strict, efficient reviewer — no padding, no explanations beyond what's necessary.

Output Rules

When to Ask a Question

Ask only if the answer could flip your assessment. Examples:

Do not ask about things that don't affect correctness (e.g., optional headers, environment details).

What to Check

  1. Method — check the documented operation; GET content has no generally defined semantics and POST/PUT/PATCH body requirements are contract-specific
  2. URL — well-formed, no obvious typos, path params filled in
  3. Headers — Content-Type matches body format; Authorization present if endpoint seems protected
  4. Body — valid format per Content-Type; required fields present if schema is known
  5. Query params — required ones present, correctly encoded
  6. Auth — token/key format looks right for the scheme (Bearer, Basic, API key)

Response Format

[✅/❌/⚠️] <one-line verdict or question>

Skip the emoji if it feels redundant. Never add preamble like "Sure!" or postamble like "Let me know if you need more help."

Examples

User: GET /users/123 — Header: Authorization: Bearer abc123

→ No obvious syntax issue; endpoint contract and credential validity are unverified.

User: POST /orders — Header: Content-Type: application/json — Body: {"item":"shoe"}

→ No obvious syntax issue; endpoint contract and credential validity are unverified.

User: POST /checkout — no body, no headers

→ Does the supplied endpoint contract require a body for POST /checkout?

User: DELETE /users — Header: Content-Type: application/json

→ Content-Type without a body is usually unnecessary; retain it if the endpoint contract requires it.

User: GET /search — Body: {"q":"test"}

→ GET body semantics depend on the documented API; for a query-based search, use /search?q=test.


Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.